Child pages
  • Dialog Smartbond 5.0
Skip to end of metadata
Go to start of metadata


DA14586  /  1564-1053-ND

Evaluation tool:  DA14585-00ATDEVKT-P  /  1564-1050-ND


DA14585 Development Kit Pro

                This article is meant to cover the DA14586 Bluetooth 5 SoC with integrated Flash.  This is a BLE SoC that comes with 2 Mb of Flash memory and 96 kB of RAM.  This is a great solution for the engineer who is tasked with finding a Bluetooth low energy solution to their connectivity problem.  Dialog has created a tool called the Smart Snippet Studio which can be used as a development environment.  Testing the DA14586 is easy with the DA14585 Development Kit Pro.  This is an evaluation board that can accept a daughter card like the DA14586-00F02ATDB-P which houses the DA14586.  The DA14585 Development Kit Pro comes with the DA14585 daughter card, but for this project the DA14586 daughter card was chosen due to the 2 Mb of Flash memory.  The 2 Mb Flash memory can be used for storing Bluetooth Low Energy profiles and application codes.  These can be updated over the air (OTA).  It can support up to 8 Bluetooth Low Energy connections.  This features an I2S and PDM audio interface along with an integrated microphone interface.  This is a great product for many applications including remote controls, proximity tags, beacons, medical devices, smart homes, human interface devices, and several others.

                Additional blocks within the SoC include UART, SPI, and I2C interfaces.  There is also a general purpose 10 bit ADC with 4 external input channels.  There is a 16 MHz crystal oscillator that is used when the device is in active mode and a 32.768 kHz crystal that is used when the device is in sleep mode.  Figure 1 shows the block diagram for the DA14586.


Figure 1 – Block Diagram of DA14586

                The kit comes with a Bluetooth low energy motherboard, the DA14585 daughter card, a mini USB cable and a CR2032 coin cell battery.  The development tools are free and can be found on the Dialog customer support website.  Users will need to register an account to get started.  This can be done by clicking on the “click here” hyperlink on their customer support page and registering.  It will take about a day for the account to be confirmed from Dialog.  After that, simply go to the aforementioned page on the Dialog website and head to the “Connectivity: Bluetooth low energy & 802.15.4” portal pictured in Figure 2.


Figure 2 – Dialog Customer Support Page for Bluetooth Low Energy

                Once the portal has been entered there will be a bar at the top that has a “Products” list.  By moving the mouse over the “Products” tab a dropdown list will appear.  On this dropdown list there is an option for the DA14586.  Clicking on this will take the user to the DA14586 page which will have a “Software & Tools” option on the selection bar pictured in Figure 3.



Figure 3 – Selection Bar for the DA14586

                From here there will be a tab labeled “Software Development Kit” which has the supporting software for the DA14585 and DA14586.  The user will need to have an account that is verified by Dialog to download this.  It will take approximately 24 hours before the account is verified by Dialog. The Smart Snippet Studio can also be downloaded from here under the “Tools” tab; this will not need to have an active account.  Figure 4 illustrates the software development kit and Figure 5 illustrates the Smart Snippet Studio download options.


Figure 4 – Software Development Kit for DA14585/6


Figure 5 – Smart Snippet Download

Blinky project

Once the Smart Snippet Studio is installed and software development kit is downloaded the user will be ready to try a couple of different projects.  The first project in the getting started video is the “blinky” project which simply turns an LED on and off.  To do this project just follow these steps:

1)      Connect the DA14585 Development Kit Pro up to the computer using the micro USB cable provided

2)      Make sure that jumper 9 is on (this connects the LED) and that jumper 11 is set to USB (there is a diagram by jumper 11 that shows whether it is set for USB or battery)


1)      Open the DA14585_SDK file

2)      Open the file

3)      Open the projects file

4)      Open the target_apps file

5)      Open the peripheral_examples file

6)      Open the blinky file

7)      Open the Keil_5 file

8)      Open the blinky.uvprojx file

  1. Full path name:  projects\target_apps\peripheral_examples\blinky\Keil_5\blinky.uvprojx

After that is complete the Keil µVision5 program will open as shown in Figure 6


Figure 6 – Blinky Program

Once the program is loaded there are a few more steps

1)      Build project

  1. Hit the build button in upper left corner of µVision5 program, or
  2. Hit F7

2)      Download executable

  1. Hit the debug button on the upper right hand side of µVision5, or
  2. Hit Ctrl + F5
  3. (This will give a warning that there is a 32k limit, hit OK –  A 7 day trial of the Pro version of Keil is available if the user wants to work beyond the 32k limit)

                                                               i.      Open Keil up as an administrator – go to file – click License Management – Click the Evaluate MDK Professional

                                                             ii.      This gives the user a seven day trial of the pro version of this software

3)      Run the application

  1. Hit the Run button, this will be located where the build button was, or
  2. Hit F5

If everything went well the led by jumper 9 will begin blinking

Bare-Bones project

                The bare bones project will connect a peripheral device to the DA14586.  To do this just follow these steps:

1)      Leave hardware as it was for blinky project

2)      Open the DA14585_SDK file

3)      Open the file

4)      Open the projects file

5)      Open the target_apps file

6)      Open the ble_examples file

7)      Open the ble_app_barebone file

8)      Open the Keil_5 file

9)      Open the ble_app_barebone.uvprojx file

  1. Full path name: projects\target_apps\ble_app_barebone\Keil_5\ble_app_barebone.uvprojx

Once the Keil µVision5 program opens up look off to the left at the project folder pictured in Figure 7.


Figure 7

1)      Open user_modules_config.h file

2)      Change the device name on line 165 of the code to whatever name is desired pictured in Figure 8

  1. For this project the name “Yay Digi-Key!!!” was chosen



Figure 8

3)      Open the da1458x_config_advanced.h file

4)      Build project

  1. Hit the build button in upper left corner of µVision5 program, or
  2. Hit F7

5)      Download executable

  1. Hit the debug button on the upper right hand side of µVision5, or
  2. Hit Ctrl + F5

6)      Run the application

  1. Hit the Run button, this will be located where the build button was, or
  2. Hit F5

Now there will need to be a Bluetooth scanner application that can read this peripheral on a smartphone or tablet.  This demonstration used LightBlue for iOS.  When the LightBlue app is on the peripheral should show up as pictured in Figure 9.


Figure 9





Video –

Forum Discussion -

  • No labels