The SDP-K1 board by Analog Devices allows users to easily develop drivers and example code for various Analog Devices products and evaluation boards.
Table of Contents
The SDP-K1 is a development platform by Analog Devices and is based on STM32F469NI microcontroller. It allows users to easily develop drivers and example code for Analog Devices products and evaluation boards. Find out more about SDP-K1 board here.
- SDP-K1 overview
- Arduino Uno headers
- 120-pin SDP connector
- High performance ARM® Cortex™-M4 Core (STM32F469NI)
- 180 MHz max CPU frequency, 384 KB SRAM, 2048 KB Flash
- 1.8V or 3.3V selectable IO voltage
- 480Mbps High-Speed USB 2.0 (Device)
- 45MHz SPI
- 400KHz I2C
- Timers / PWM
- 12-bit ADC
- 16MB SDRAM
- 3 traffic light LEDS (green, orange, red)
- 1 status LED
Arduino Header Pinout¶
SDP Connector Pinout¶
The pinout diagrams above shows the commonly used features and their locations.
Using the SDP connector¶
Note if you use the SDP connector signals on your board it will not be portable between other Mbed controller boards as this is unique to the SDP-K1
The SPI signals for SCK, MISO & MOSI of the SDP connector can be used in Mbed by defining the following signals with the standard SPI definition in Mbed
On the SDP connector there are 3 different chip selects that can be used, to use these in Mbed they need to be defined as follows
- SDP_SPI_CS_B ,
The I2C on the SDP connector, can be enabled using the following definitions
The 8 GPIOs on the connector , can be enabled using the following definitions
The UART on the SDP connector, can be enabled using the following definitions
The Timers on the SDP connector, can be enabled using the following definitions
Purchase EVAL-SDP-CK1Z here.
The DAPLink Interface on the SDP-K1 comes with Automation Mode set and the following steps are needed for updating the firmware:
1. Drag and drop an empty file named start_bl.act into the drive. You should see a drive appear in your file manager called MAINTENANCE.
2. Drag and drop this hex file into the drive: SDP_K1_firmware_image.
3. Drag and drop an empty file named start_if.act into the drive to go back to Interface mode. The drive is now again called SDP-K1 and the DAPLink image has been updated.
Read more about MSD commands here.
Getting Started with mbed¶
1. Connect SDP-K1 board to a PC¶
Use the USB lead to connect your SDP-K1 to a PC. The SYS_PWR LED will come on, indicating the board has power. After a few seconds of activity, the PC will recognize the SDP-K1 as a standard USB drive.
Windows 10 example
Mac OS X example
2. Click the MBED.HTM link to get logged in¶
Go to the new USB Drive, and click MBED.HTM to open it in a web browser.
If you do not have an mbed account, choose "Signup", and create your mbed Account. Otherwise, log in with your normal username and password.
This will give you access to the website, tools, libraries and documentation.
Your SDP-K1 Microcontroller can appear on your computer as a serial port. On Mac and Linux, this will happen by default. For Windows, you need to install a driver:
See Windows-serial-configuration for full details about setting up Windows for serial communication with your mbed Microcontroller
From a host PC to communicate with mbed you will need a
terminal application. This allows the mbed Microcontroller to print to your PC screen, and for you to send characters back to your mbed.
- Terminals - Using Terminal applications to communicate between the Host PC and the mbed Micrcontroller
Some terminal programs (e.g. TeraTerm) list the available serial ports by name. However, if you do need to know the identity of the serial port so that you can attach a terminal or an application to it:
Downloading a program¶
1. Save a program binary (.bin) to the Platform¶
Download the appropriate "Hello World!" binary:
- SDP-K1: SDP_K1_blinky_program.bin
Note: the source code for this program will be seen in the next section.
Save the program binary file to your mbed Microcontroller Disk, just like you would with a normal USB disk. The Status LED will flash as the PC writes the file to the Microcontroller disk. The file is now consumed.
2. Press the Reset Button¶
When the Reset Button in pressed, the microcontroller will be reset and the last programmed application will begin to run.
3. Hello World!¶
The Microcontroller is now running the program; flashing LED1 forever! If you reset the Microcontroller, or disconnect and reconnect the power, the program will simply restart.
Follow the guide to creating your own programs using the online compiler
- USB powered or 7V - 12V on Vin pin
- 1.8V or 3.3V regulated output to power peripherals
- Digital IO pins are 1.8V or 3.3V