1.. _da14695_dk_usb:
2
3DA14695 Development Kit USB
4###########################
5
6Overview
7********
8
9The DA14695 Development Kit USB is a low cost development board for DA14695.
10The development kit comes with an integrated debugger and an USB hub
11to have both the on-chip USB and the J-Link connected via a single port.
12
13.. figure:: da14695-00hqdevkt-u-usb-board.jpg
14     :width: 442px
15     :align: center
16     :alt: DA14695 Development Kit USB
17
18     DA14695 Development Kit USB (Credit: Renesas Electronics Corporation)
19
20Hardware
21********
22
23DA14695 Development Kit USB has two external oscillators. The frequency of
24the sleep clock is 32768 Hz. The frequency of the system clock is 32 MHz.
25
26Supported Features
27==================
28
29The _da14695_dk_usb board configuration supports the following
30hardware features:
31
32+-----------+------------+----------------------+
33| Interface | Controller | Driver/Component     |
34+===========+============+======================+
35| FLASH     | on-chip    | flash                |
36+-----------+------------+----------------------+
37| GPIO      | on-chip    | gpio                 |
38+-----------+------------+----------------------+
39| MPU       | on-chip    | arch/arm             |
40+-----------+------------+----------------------+
41| NVIC      | on-chip    | arch/arm             |
42+-----------+------------+----------------------+
43| RTT       | Segger     | console              |
44+-----------+------------+----------------------+
45| UART      | on-chip    | serial               |
46+-----------+------------+----------------------+
47| SPI       | on-chip    | spi                  |
48+-----------+------------+----------------------+
49
50Other hardware features, including the Configurable MAC (CMAC) controller,
51are currently not supported by the port.
52
53For more information about the DA14695 Development Kit see:
54
55- `DA14695 DK USB website`_
56
57System Clock
58============
59
60The DA14695 Development Kit USB is configured to use the 32 MHz external oscillator
61on the board.
62
63Connections and IOs
64===================
65
66The DA14695 Development Kit USB has one LED and one push button which can be used
67by applications. The UART is connected to on-board serial converter and accessible
68via USB1 port on motherboard.
69
70The pin connections are as follows:
71
72* LED (red), = P1.01
73* BUTTON, labeled k1 = P0.06
74* UART RX, connected to J-Link serial = P0.08
75* UART TX, connected to J-Link serial = P0.09
76
77Programming and Debugging
78*************************
79
80Applications for the ``da14695_dk_usb`` board configuration can be
81built, flashed, and debugged in the usual way. See
82:ref:`build_an_application` and :ref:`application_run` for more details on
83building and running.
84
85Flashing
86========
87
88The DA14695 boots from an external flash connected to QSPI interface. The image
89written to flash has to have proper header prepended. The process is simplified
90by using dedicated `eZFlashCLI`_ tool that takes care of writing header and can
91handle different types of flash chips connected to DA1469x MCU. Follow instructions
92on `ezFlashCLI`_ to install the tool. Once installed, flashing can be done in the
93usual way.
94
95.. zephyr-app-commands::
96   :zephyr-app: samples/basic/blinky
97   :board: da14695_dk_usb
98   :goals: build flash
99
100Debugging
101=========
102
103The DA14695 Development Kit USB includes a `J-Link`_ adaptor built-in
104which provides both debugging interface and serial port.
105Application can be debugged in the usual way once DA14695 Development Kit USB
106is connected to PC via USB.
107
108References
109**********
110
111.. target-notes::
112
113.. _DA14695 DK USB website: https://www.renesas.com/us/en/products/wireless-connectivity/bluetooth-low-energy/da14695-00hqdevkt-u-smartbond-da14695-bluetooth-low-energy-52-usb-development-kit
114.. _DA1469x Datasheet: https://www.renesas.com/eu/en/document/dst/da1469x-datasheet
115.. _J-Link: https://www.segger.com/jlink-debug-probes.html
116.. _ezFlashCLI: https://github.com/ezflash/ezFlashCLI/
117