User manual DA14580/581/583 Bluetooth Smart development Kit – Pro UM-B-034 Abstract This document describes the Bluetooth Smart Development Kit - Pro based on DA14580/DA14581-01/DA14583. It helps users to set up the hardware development environment, install required software and quickly start product development with help of example source codes.
SDK documents ................. 8 3.2.1.3 SDK source code examples (created in Keil) ........9 DA14580 - DA14581 Pro kit ....................11 3.3.1 Differences between the DA14580, DA14581 and DA14583......11 Pinning ..........................13 3.4.1 PCB design and functionalities ................14 3.4.2 Configuring the Pro kit-board by jumper settings ..........
DA14580/581/583 Bluetooth Smart development Kit – Pro Introduction DA14580/581/583 is a Bluetooth Smart chip, working with extremely low power while providing world-class RF performance, a small footprint and flexible peripheral configurations for a wide range of applications. The development kit includes a set of hardware (e.g. development board with on- board debugger), a Software Development Kit (SDK) (e.g.
UM-B-034 DA14580/581/583 Bluetooth Smart development Kit – Pro Hardware content Figure 1 Figure 2 the kit components are shown and Table 1 contains an overview the parts. DA1580 Pro kit DA14581 Pro kit Optional* Optional* Figure 1: DA14580/581 - Pro kit...
UM-B-034 DA14580/581/583 Bluetooth Smart development Kit – Pro Table 1: Content of the DA14580/581/583 Pro Kit DA14580/581/583 DEVKT – PRO: Included Separate Separate Separate in the kit option for option for option for the 580 kit* the 581 kit* the 583 kit*...
SPI & EEPROM programmer: A tool for SPI & EEPROM flash programming ● Sleep Mode Advisor: Calculation tool to determine most optimal sleep modes ConnectionManager ConnectionManager is a PC based software tool to control the link layer of the DA14580/581/583 with the following capabilities: ● Functional in Peripheral and Central role ●...
DA14580/581/583 Bluetooth Smart development Kit – Pro 3.2.1.3 SDK source code examples (created in Keil) ● dk_apps. This folder holds all the necessary folders needed for DA14580/581/583 application development. dk_apps\keil_projects\proximity: The folder contains the following subfolders and in each one of them resides the respective...
Page 10
C++ applications described right above and are included for user convenience. peripheral_examples: The folder includes sample code of how to use peripheral blocks of the DA14580/581/583 (e.g. UART, SPI, I2C etc.) bundled to a demo-kit. For details, please refer to [10]. ●...
DA14580/581/583 Bluetooth Smart development Kit – Pro 3.3 DA14580 - DA14581 Pro kit 3.3.1 Differences between the DA14580, DA14581 and DA14583 The only hardware difference between the daughter boards of the DEVKT-Pro 14580 and the DEFKT-Pro 14581, is the design in of QFN48 (580) and the QFN40 (581). The silkscreen may have small textual differences.
DA14580/581/583 Bluetooth Smart development Kit – Pro Pinning Figure 3 the pinout of the DA14583 is shown. New, compared to the DA14580/581, are the connections to the internal SPI flash memory. Figure 3: QFN40 pin assignment from datasheet Table 5: SPI connections...
DA14580/581/583 Bluetooth Smart development Kit – Pro 3.4.1 PCB design and functionalities The top-screen layer of the pro kit PCB is shown below in Figure 4. Figure 4: DA14580 Development Kit – Pro (PCB topview) User manual Revision 1.4 31-jan-2016...
UM-B-034 DA14580/581/583 Bluetooth Smart development Kit – Pro Installation of tools and drivers To install the Software development environment, please follow the steps as shown in Table Table 6: Installation tools and drivers Keil Keil: https://www.keil.com/download/product/ Download and install the Keil MDK- Keil MDK-ARM Version 5 –...
UM-B-034 DA14580/581/583 Bluetooth Smart development Kit – Pro This screen may occur, is so: Select ‘yes’ and in the next window 4.1.5 Select ‘M0’. SEGGER Jlink driver Download and install the Jlink software & documentation pack for Windows. 4.2.1 Please note that your SEGGER Jlink serial number is required for downloading.
UM-B-034 DA14580/581/583 Bluetooth Smart development Kit – Pro At the end of the installation, please 4.2.3 tick the IDE (Keil MDK Vxx) that you are using. FTDI driver The Development Kit uses the D2xx driver. For Windows, this driver is part of...
UM-B-034 DA14580/581/583 Bluetooth Smart development Kit – Pro Memory and tools The DA14580/DA14581DEVKT is equipped with: (on the chip) SRAM (50k) and OTP (32k). Mounted on the board is external SPI flash memory (2Mbit). Figure 11: DA14580/581/583 block diagram Software can be downloaded to: ...
UM-B-034 DA14580/581/583 Bluetooth Smart development Kit – Pro Using the demo kit Follow the steps shown in Table 7 to easily create a working demo kit. Table 7: Run an example on DA14580/581/583 Run an example on DA14580/581/583 After you download the SDK at http://support.dialog-...
Page 23
UM-B-034 DA14580/581/583 Bluetooth Smart development Kit – Pro ‘Options for Target’ → ‘Device’ 6.1.4 -screen should look like this. 580: 581: ‘Options for Target’ → ‘Target’ - screen looks like this. 6.1.5 Mind the ‘Memory’ areas. scatter file selection in ‘Options for Target’...
Page 24
UM-B-034 DA14580/581/583 Bluetooth Smart development Kit – Pro Make sure “J-LINK/J-Trace Cortex” is selected as shown and 6.1.6 the initialization file field is set correctly to “.\sysram.ini”. Click on the “Setting” button above to make sure the SW Device has been detected correctly.
Page 25
UM-B-034 DA14580/581/583 Bluetooth Smart development Kit – Pro Open Tera Term and choose a 6.1.12 COM port, which you have found in step 3, and click OK Choose Setup->Serial port to 6.1.13 configure the Baud rate etc. Set “Baud rate” to 115200, ”Data”...
Page 26
UM-B-034 DA14580/581/583 Bluetooth Smart development Kit – Pro Press F5 key or click execution button as shown in following 6.1.17 picture, to start code execution. Then you can see a hello message on your UART terminal screen. That means you have...
Finally, in order to write a value 0x1347 (example of a bluetooth device address) at the address 0x93 for instance, the following command line can be written: SmartSnippets.exe -type spi -chip DA14580/DA14581-01 -jtag 228202458 -cmd write_field -offset 0x93 -data 1347 -firmware "D:\SmartSnippets\resources\jtag_programmer.bin"...
UM-B-034 DA14580/581/583 Bluetooth Smart development Kit – Pro Opening your project for the first time Issue description When, on a Keil uVision project, some entries in file .uvopt is missing or the file is missing, then, when the user clicks on the button 'settings' (options{debug tag}) with the{J-LINK/J-TRACE Cortex} selected, uVision crashes.
UM-B-034 DA14580/581/583 Bluetooth Smart development Kit – Pro Latency Timer of FTDI cable If an external FTDI cable is used to burn the OTP (or to download the image into the external memory), the Latency Timer of the FTDI cable has to be changed from 15ms to <10ms.
Page 46
UM-B-034 DA14580/581/583 Bluetooth Smart development Kit – Pro Stop Debug Session by pressing ‘Ctrl + F5’ Step 6. Software will start running now! Check via ‘Bluetooth scanning software’ whether the RF-part of the DEVKT - Pro is Step 7.
UM-B-034 DA14580/581/583 Bluetooth Smart development Kit – Pro Battery connection ‘workaround’ There is a small hardware malfunction. When the board operates on battery (J11 jumper on 2-3), the RST-signal is permanently high. When USB is disconnected, then T_RESET becomes low.
UM-B-034 DA14580/581/583 Bluetooth Smart development Kit – Pro Web-Link All support info: ● http://support.dialog-semiconductor.com Revision history Revision Date Description 11-02-2015 Initial version for DA14580 25-02-2015 Some textual changes Added FTDI-links Added changes to convert to DA14580/581/583 18-05-2015 Updated for SDK 3.0.8...
Page 49
Dialog Semiconductor excludes all liability in this respect. Customer notes that nothing in this document may be construed as a license for customer to use the Dialog Semiconductor products, software and applications referred to in this document. Such license must be separately sought by customer with Dialog Semiconductor.
Need help?
Do you have a question about the DA14580 and is the answer not in the manual?
Questions and answers