1.. _adi_sdp_k1:
2
3ADI SDP-K1
4##########
5
6Overview
7********
8
9The EVAL-SDP-CK1Z (SDP-K1) controller board is a system demonstration platform
10(SDP) from Analog Devices designed to connect to evaluation shields containing
11ADI components.
12
13- STM32 microcontroller in BGA216 package
14- USB 2.0 device with USB-C connector
15- USB debug interface supporting CMSIS-DAP through a NXP Freescale
16  microcontroller
17- Flexible board power supply
18    - USB VBUS 5 V max. 500 mA
19    - 5.5mm DC power jack 7 - 12 V min. 300 mA
20    - VIN from Arduino* compatible connectors
21    - VIN from 120-pin connector 5 V min. 300 mA
22- 3 color LEDs (green, orange, red) and 1 status LED
23- One push-buttons: RESET
24- 16MB SDRAM
25- Arduino UNO and 120-pin SDP connectors
26
27.. figure:: img/adi_sdp_k1.webp
28   :align: center
29   :alt: ADI SDP-K1
30
31   ADI SDP-K1 (Credit: Analog Devices, Inc.)
32
33More information about the board can be found on the `ADI SDP-K1 website`_.
34
35Hardware
36********
37
38ADI SDP-K1 provides the following hardware components:
39
40- STM32F469NIH6 in BGA216 package
41- ARM |reg| 32-bit Cortex |reg| -M4 CPU with FPU
42- 180 MHz max CPU frequency
43- VDD of 1.8 V or 3.3 V
44- 2 MB Flash
45- 384 KB SRAM
46- GPIO with external interrupt capability
47- LCD parallel interface, 8080/6800 modes
48- LCD TFT controller supporting up to XGA resolution
49- MIPI |reg|  DSI host controller supporting up to 720p 30Hz resolution
50- 3x12-bit ADC with 24 channels
51- 2x12-bit D/A converters
52- RTC
53- Advanced-control Timer
54- General Purpose Timers (17)
55- Watchdog Timers (2)
56- USART/UART (8)
57- I2C (3)
58- SPI (6)
59- 1xSAI (serial audio interface)
60- SDIO
61- 2xCAN
62- USB 2.0 OTG FS with on-chip PHY
63- USB 2.0 OTG HS/FS with dedicated DMA, on-chip full-speed PHY and ULPI
64- 10/100 Ethernet MAC with dedicated DMA
65- 8- to 14-bit parallel camera
66- CRC calculation unit
67- True random number generator
68- DMA Controller
69
70More information about STM32F469NI can be found here:
71       - `STM32F469NI product page`_
72       - `STM32F469 reference manual`_
73
74Supported Features
75==================
76
77The Zephyr stm32f469i_disco board configuration supports the following hardware features:
78
79+-----------+------------+-------------------------------------+
80| Interface | Controller | Driver/Component                    |
81+===========+============+=====================================+
82| UART      | on-chip    | serial port-polling;                |
83|           |            | serial port-interrupt               |
84+-----------+------------+-------------------------------------+
85| PINMUX    | on-chip    | pinmux                              |
86+-----------+------------+-------------------------------------+
87| GPIO      | on-chip    | gpio                                |
88+-----------+------------+-------------------------------------+
89
90Other hardware features are not yet supported on Zephyr porting.
91
92The default configuration can be found in
93:zephyr_file:`boards/adi/sdp_k1/adi_sdp_k1_defconfig`
94
95Pin Mapping
96===========
97
98For more details please refer to `EVAL-SDP-CK1Z User Guide`_.
99
100Arduino UNO headers
101-------------------
102
103.. figure:: img/adi_sdp_k1_arduino.webp
104   :align: center
105   :alt: ADI SDP-K1 Arduino UNO headers pinout
106
107   ADI SDP-K1 (Credit: Analog Devices, Inc.)
108
109120-pin SDP connector
110---------------------
111
112.. figure:: img/adi_sdp_k1_120pin.webp
113   :align: center
114   :alt: ADI SDP-K1 120-pin SDP connector pinout
115
116   ADI SDP-K1 (Credit: Analog Devices, Inc.)
117
118Default Zephyr Peripheral Mapping:
119----------------------------------
120
121- UART_5 TX/RX : P2 (DAPLink USB-C)
122- UART_5 TX/RX : P8 (DAPLink two position through hole)
123- LED1 : DS6 (Red)
124- LED2 : DS5 (Orange)
125- LED3 : DS4 (Green)
126- LED4 : DS4 (Status)
127
128Programming and Debugging
129*************************
130
131The ADI SDP-K1 be programmed over USB using the DAPLink firmware running on an
132embedded NXP Freescale microcontroller or a 10-pin ``DEBUG`` header connected
133to a STLINK debugger.
134
135DAPLink exposes a storage device, as well as USB HID and CDC Endpoints, to the
136host. For more details please refer to the `Official DAPLink website`_.
137
138Flashing
139========
140
141Flashing an application with a STLINK debugger
142----------------------------------------------
143
144First, connect the STLINK debugger to your host computer using the Micro-USB port.
145Then attach the debugger to the 10-pin ``DEBUG`` header on the SDP-K1. Finally
146connect the SDP-K1 to your host computer using the USB-C port.
147
148Run a serial host program to connect with your board:
149
150.. code-block:: console
151
152   $ minicom -D /dev/serial/by-id/usb-ARM_DAPLink_CMSIS-DAP_<...>
153
154Here is an example for the :ref:`hello_world` application.
155
156.. zephyr-app-commands::
157   :zephyr-app: samples/hello_world
158   :board: adi_sdp_k1
159   :goals: build flash
160
161You should see the following message on the console:
162
163.. code-block:: console
164
165   Hello World! adi_sdp_k1
166
167Debugging
168=========
169
170.. _ADI SDP-K1 website:
171   https://www.analog.com/en/design-center/evaluation-hardware-and-software/evaluation-boards-kits/sdp-k1.html
172
173.. _EVAL-SDP-CK1Z User Guide:
174   https://www.analog.com/media/en/technical-documentation/user-guides/EVAL-SDP-CK1Z-UG-1539.pdf
175
176.. _STM32F469NI product page:
177   https://www.st.com/en/microcontrollers/stm32f469ni.html
178
179.. _STM32F469 reference manual:
180   https://www.st.com/resource/en/reference_manual/dm00127514.pdf
181
182.. _Official DAPLink website:
183   https://daplink.io/
184