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
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 18.104.22.1686 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
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
2) Download executable
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
If everything went well the led by jumper 9 will begin blinking
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 22.214.171.1246 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
Once the Keil µVision5 program opens up look off to the left at the project folder pictured in 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
3) Open the da1458x_config_advanced.h file
4) Build project
5) Download executable
6) Run the application
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.
Forum Discussion - https://forum.digikey.com/t/dialog-smartbond-5-0/622