Advertisement

User Manual
DA14585/DA14586 Getting
Started Guide with the Basic
Development Kit
UM-B-048

Abstract

This guide is intended to help customers setup the hardware development environment, install
required software, download, and run an example application on the DA14585/586 Basic
development Kit development platform.

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the DA14585 and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for Dialog DA14585

  • Page 1: Abstract

    DA14585/DA14586 Getting Started Guide with the Basic Development Kit UM-B-048 Abstract This guide is intended to help customers setup the hardware development environment, install required software, download, and run an example application on the DA14585/586 Basic development Kit development platform.
  • Page 2: Table Of Contents

    UM-B-048 DA14585/DA14586 Getting Started Guide with the Basic Development Kit Contents Abstract ..............................1 Contents ............................... 2 Figures ............................3 Tables ............................. 3 Terms and Definitions ........................4 Prerequisites ..........................4 Introduction............................ 5 Kit Content ..........................5 The DA14585/586 Hardware ......................6 The Basic Kit board .......................
  • Page 3: Figures

    Figure 31: Hardware Settings for Basic Development Kit ..............25 Figure 32: FTDI Latency Timer ......................25 Figure 33: Setup of DA14585 Basic Development Kit during power measurement ......26 Figure 34: Setup of DA14586 Basic Development Kit during power measurement ......26 Tables Table 1: Parameters for Connecting to UART..................
  • Page 4: Terms And Definitions

    UM-B-048 DA14585/DA14586 Getting Started Guide with the Basic Development Kit Terms and Definitions BLE Bluetooth Low Energy COM Communication Port CS Chip Select DBG Debug EEPROM Electrically Erasable Programmable Memory FTDI Future Technology Devices International GPIO General Purpose Input/Output IDE Integrated Development Environment...
  • Page 5: Introduction

    DA14585/DA14586 Getting Started Guide with the Basic Development Kit Introduction The DA14585/586 is a family of Bluetooth Smart SoC devices that operate at very low power levels while providing world-class RF performance. The devices are available in a small footprint while still offering a large flexibility in configuration of the on-chip interfaces making them suitable for a wide range of applications.
  • Page 6: The Da14585/586 Hardware

    DA14585/DA14586 Getting Started Guide with the Basic Development Kit The DA14585/586 Hardware The basic Development Kit consists of a single basic Board containing the DA14585/586 BLE SoC in QFN40 package. For the schematics and layout of the board in full detail, please refer to the respective documents on the portal.
  • Page 7: Figure 3: Jumper 4 Layout

    Figure 3 shows the layout of the header jumper, J4. Figure 3: Jumper 4 Layout Note: Please notice that the signals connected on the DA14585/586 SoC are located on the left pins row of header J4 as shown in Figure 4.
  • Page 8: Board Layout

    UM-B-048 DA14585/DA14586 Getting Started Guide with the Basic Development Kit Figure 5: DA14585/586 Boot from external SPI memory Board Layout The layout of the basic board is displayed in Figure 6. Figure 6: DA14585/586 Basic Board layout User Manual Revision 2.0...
  • Page 9: Connecting The Basic Kit To The Host Pc

    USB. The DA14585/586 SoC is configured only in Buck mode on this development kit. A choice can be made between 3.3 V (via USB: J5 1-2) or VDD (a coin cell: J5 2-3). No battery is needed when running via the mini-USB cable.
  • Page 10: Da14585/586 Software Installation

    There is one virtual COM port created by the Windows driver. This COM port (COM28 in this example) provides a UART interface between the PC and the DA14585/586 device. For current measurement please refer to the Figure 36 in Appendix C.
  • Page 11: Configuring The Serial Port For Uart

    Open Tera Term from the Windows Start menu as shown in Figure 9. Figure 9: Start Tera Term In the Tera Term: New connection dialog, select Serial, then select the COM Port to use, and click OK. Select Setup > Serial Port and configure your UART port using the parameters shown in Table 1 (you need to be an administrator on your local machine), see Figure 10.
  • Page 12: Troubleshooting

    Dialog SmartSnippets™ Studio is a royalty-free software development platform for Smartbond™ devices. It fully supports the DA14585/586 family of devices. For the DA14585/586, KEIL must be used for compilation and debug instead of using the supplied SmartSnippets GNU ARM GCC. KEIL needs to be installed separately (it is not included).
  • Page 13: Smartsnippets™ Installation

    UM-B-048 DA14585/DA14586 Getting Started Guide with the Basic Development Kit SmartSnippets™ Studio contains: • SmartSnippets™ Toolbox which covers all software development requirements, including: – programming and loading of firmware into SRAM, OTP, and Flash – power profiling • SmartSnippets™ documentation The SmartSnippets™...
  • Page 14: Figure 12: Automatically Install J-Link

    UM-B-048 DA14585/DA14586 Getting Started Guide with the Basic Development Kit Figure 12: Automatically Install J-Link Select the destination folder for the SmartSnippets™ Studio and click Next. Figure 13: Select SmartSnippets™ Studio Install Directory The SmartSnippets™ Studio is installed. Note: ...
  • Page 15: Keil Installation

    UM-B-048 DA14585/DA14586 Getting Started Guide with the Basic Development Kit KEIL Installation KEIL µVision IDE must be downloaded and installed separately, registration is required. Download and install the Keil tools from https://www.keil.com/demo/eval/arm.htm. Note: The Keil development tools can be run as a Lite/Evaluation version without a product license, see Figure 14 (File >...
  • Page 16: Build A Da14585/586 Application

    It provides step-by-step instructions for loading the example as a project in the Keil environment, setting it up and building it, and finally executing it via the debug environment on any of the DA14585/586 devices. Make sure that you have all required tools installed as described in Section 7 and Section 8.
  • Page 17: Figure 17: Blinky Project Directory

    The development environment should look like this when the project is opened with Keil: Figure 18: Blinky Project Keil Workspace Click on the Target Options button, then click on the Device tab. The dialog should look like this. User Manual Revision 2.0...
  • Page 18: Figure 19: Blinky Project Options

    UM-B-048 DA14585/DA14586 Getting Started Guide with the Basic Development Kit Figure 19: Blinky Project Options Click on Linker. Scatter files (.sct) are used for selecting memory areas. Figure 20: Blinky Project Scatter File Click on Debug and ensure J-LINK/J-TRACE Cortex is selected and that the Initialization File is set correctly to .sysram.ini.
  • Page 19: Figure 21: Blinky Project: Debug Option

    UM-B-048 DA14585/DA14586 Getting Started Guide with the Basic Development Kit Figure 21: Blinky Project: Debug Option Click on Settings and check that the SW Device has been detected correctly. Figure 22: Blinky Project: Jlink setup Click OK to save the settings in both windows. All settings have now been saved and you can continue to build the example.
  • Page 20: Figure 23: Blinky Project: Project Building

    12. In Keil, select Debug > Start/Stop Debug Session. Figure 24: Blinky Project: Start Debug Session 13. If a non-licensed version of Keil is used, the following dialog is displayed. Click OK. Figure 25: Keil Lite Pop Up Window 14. Press F5 or click the Run button to start code execution.
  • Page 21: The Barebone Ble Example Application

    Figure 26: Blinky Project: Code Execution When the blinky message is displayed on your UART terminal screen and the green LED is blinking you have successfully programmed and started the blinky program on DA14585/586 Demo board. Figure 27: Blinky Project: Blinky message on COM28 terminal...
  • Page 22: Figure 28: Barebone Ble Project Directory

    The barebone application does not use the UART and so the only jumpers required are those for the debugger interface as noted in Table 3. Use the Android application BLE Scanner to scan for, and connect to, the DIALOG-BRBN app, see Figure 30.
  • Page 23: Figure 30: Barebone Ble: Interacting With Ble Application

    DA14585/DA14586 Getting Started Guide with the Basic Development Kit Figure 30: Barebone BLE: Interacting with BLE Application Your BLE application is now running and advertising using the default advertiser string: "DIALOG- BRBN". Note: In this example, we used an Android application but you can also use the LightBlue iOS application to connect an iPad/iPod/iPhone device to the application.
  • Page 24: Troubleshooting

    UM-B-048 DA14585/DA14586 Getting Started Guide with the Basic Development Kit Troubleshooting • If you can't see any blinky messages in your UART terminal and the LED is not blinking, check the UART and LED jumper configuration, see Table 2. You can also make sure that the hardware...
  • Page 25: Appendices

    UM-B-048 DA14585/DA14586 Getting Started Guide with the Basic Development Kit 10 Appendices 10.1 Appendix A: Using the Basic Development Kit The user_periph_setup.h file contains hardware settings related to the used. The default is the ProDev Kit. Figure 31: Hardware Settings for Basic Development Kit 10.2 Appendix B: Latency Timer of the FTDI cable...
  • Page 26: Appendix C: Power Management: Measuring Current

    10.3 Appendix C: Power Management: measuring current The design of the DA14585 and DA14586 Basic Development Kit is made in such a way that the microcontroller can be isolated completely from the rest of the board. This is illustrated in the block...
  • Page 27 Start the software. Wait till software has reached ‘Deep Sleep’. Dismount all the jumpers. Now almost all the DA14585/586 pins are isolated and only the current meter and GND are connected. Read the current. For additional info: see AN-B-015 DA14580/581 Supply current measurements.
  • Page 28: Revision History

    Dialog Semiconductor furthermore takes no responsibility whatsoever for the content in this document if provided by any information source outside of Dialog Semiconductor.
  • Page 29: Rohs Compliance

    14 RoHS Compliance Dialog Semiconductor complies to European Directive 2001/95/EC and from 2 January 2013 onwards to European Directive 2011/65/EU concerning Restriction of Hazardous Substances (RoHS/RoHS2). Dialog Semiconductor’s statement on RoHS can be found on the DA1458x RoHS 2 declaration.

This manual is also suitable for:

Da14586

Table of Contents