Dialog Semiconductor DA14585 User Manual
Hide thumbs Also See for DA14585:

Advertisement

Quick Links

DA14585/DA14586 Getting
Started Guide with the PRO-

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 Pro Development
Kit development platform.
The current revision of this guide (V2.0) covers only the DA14585 and DA14586 devices.
For the DA148580, DA14581 and DA14583 devices, please refer to
User Manual
Development Kit
UM-B-049
revision 1.2

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 Semiconductor DA14585

  • Page 1: Abstract

    DA14585/586 Pro Development Kit development platform. The current revision of this guide (V2.0) covers only the DA14585 and DA14586 devices. For the DA148580, DA14581 and DA14583 devices, please refer to...
  • Page 2: Table Of Contents

    Troubleshooting ........................12 Software Development Tools ..................... 12 SmartSnippets™ Installation ....................13 KEIL Installation ........................15 Build a DA14585/586 Application ....................17 The Blinky Peripheral Example Application ................ 17 The Barebone BLE Example Application ................23 9.2.1 Troubleshooting ....................25 9.2.2...
  • Page 3: Figures

    UM-B-049 DA14585/DA14586 Getting Started Guide with the PRO-Development Kit Figures Figure 1: The DA14585/586 ProDev Kit Motherboard ................6 Figure 2: DA14585/586 Daughterboard ....................7 Figure 3: DA14585/586 Jumper Settings ....................7 Figure 4: Jumper J5 Layout ........................8 Figure 5: DA14585/586 Board Layout ....................8 Figure 6: Windows Driver Installation ....................
  • Page 4: Terms And Definitions

    UM-B-049 DA14585/DA14586 Getting Started Guide with the PRO-Development Kit Terms and Definitions Bluetooth Low Energy Communication Port Chip Select Debug EEPROM Electrically Erasable Programmable Memory FTDI Future Technology Devices International GPIO General Purpose Input/Output Hardware Integrated Development Environment Interrupt Request...
  • Page 5: Introduction

    DA14585/DA14586 Getting Started Guide with the PRO-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

    USB based UART communication with the host PC using a Future Technology Devices International (FTDI) chipset which converts UART to USB. Note: The DA14580 and the DA14585/586 share the same ProDev Kit motherboard (DA14580 DEVKT). Figure 1: The DA14585/586 ProDev Kit Motherboard User Manual Revision 2.1...
  • Page 7: The Pro Kit Daughterboard

    The Pro Kit daughterboard Figure 2 presents the DA14585/586 Daughterboard. Figure 2: DA14585/586 Daughterboard Configuring the Pro Kit Board by Jumper Settings The DA14585/586 supports booting from UART. The jumper settings are displayed below: Figure 3: DA14585/586 Jumper Settings User Manual Revision 2.1...
  • Page 8: Board Layout

    UM-B-049 DA14585/DA14586 Getting Started Guide with the PRO-Development Kit Figure 4 shows the layout of the header jumper, J5. Figure 4: Jumper J5 Layout Board Layout The layout of the boards is displayed in Figure 5. Figure 5: DA14585/586 Board Layout...
  • Page 9: Connecting The Prodev Kit To The Host Pc

    USB. The FT2232HL implements the USB to UART function and ensure the connectivity of PC to the DA14585/586 SoC UART port and to current sense circuitry through SPI connection with ADC U4. The chip is supplied with a 3.3V from U13. A 12MHz crystal Y1 is required for the chip operation.
  • Page 10: Figure 6: Windows Driver Installation

    There are two virtual COM ports created by the Windows driver. The first COM port (lower number, COM28 in this example) provides a UART interface between the PC and the DA14585/586 device. The second (higher number, COM29 in this example) is used to export measurement data from the current sense circuitry on the ProDev Kit to the Power Profiler tool.
  • Page 11: Configuring The Serial Port For Uart

    UM-B-049 DA14585/DA14586 Getting Started Guide with the PRO-Development Kit Configuring the Serial Port for UART Several development tools require UART to be routed to the FTDI serial port. Refer to Figure 31 in Appendix B for the ProDev Kit board connection verification and on how to properly configure the specific port.
  • 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-049 DA14585/DA14586 Getting Started Guide with the PRO-Development Kit – Programming and loading of firmware into SRAM, OTP, and Flash – Power profiling • SmartSnippets™ documentation The SmartSnippets™ IDE is enabled by an on-board J-Link debugger from SEGGER. This offers standard debug capabilities such as single stepping, setting breakpoints, software download and many more.
  • Page 14: Figure 11: Automatically Install J-Link

    UM-B-049 DA14585/DA14586 Getting Started Guide with the PRO-Development Kit Figure 11: Automatically Install J-Link Select the destination folder for the SmartSnippets™ Studio and click Next. Figure 12: Select SmartSnippets™ Studio Install Directory The SmartSnippets™ Studio is installed. Note: • The default Windows installation folder for SmartSnippets™ Studio is C:\DiaSemi.
  • Page 15: Keil Installation

    UM-B-049 DA14585/DA14586 Getting Started Guide with the PRO-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 13 (File >...
  • Page 16: Figure 14: Cmsis Package Installation Successful

    UM-B-049 DA14585/DA14586 Getting Started Guide with the PRO-Development Kit Figure 14: CMSIS Package Installation successful If the installation was successful, the Pack Installer window will show the summary displayed in Figure Figure 15: CMSIS Package Installation Successful User Manual Revision 2.1...
  • Page 17: Build A Da14585/586 Application

    ProDev Kit development board. 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 18: Figure 17: Blinky Project Keil Workspace

    UM-B-049 DA14585/DA14586 Getting Started Guide with the PRO-Development Kit The development environment should look like this when the project is opened with Keil: Figure 17: Blinky Project Keil Workspace Click on the Target Options button, then click on the Device tab. The dialog should look like this.
  • Page 19: Figure 19: Blinky Project Scatter File

    UM-B-049 DA14585/DA14586 Getting Started Guide with the PRO-Development Kit Figure 19: 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. Figure 20: Blinky Project: Debug Option Click on Settings (on the right: Debugger) and check that the SW Device has been detected correctly.
  • Page 20: Figure 21: Blinky Project: Jlink Setup

    UM-B-049 DA14585/DA14586 Getting Started Guide with the PRO-Development Kit Figure 21: 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. Build the project by pressing F7 key, or clicking the Build button, see Figure 22.
  • Page 21: Figure 23: Blinky Project: Start Debug Session

    Figure 25: 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. User Manual Revision 2.1...
  • Page 22: Figure 26: Blinky Project: Blinky Message On Com28 Terminal

    UM-B-049 DA14585/DA14586 Getting Started Guide with the PRO-Development Kit Figure 26: Blinky Project: Blinky message on COM28 terminal Note: The whole application is placed/executed in RAM. For more details about RAM management you can refer to How to change the RAM size Tutorial.
  • Page 23: The Barebone Ble Example Application

    UM-B-049 DA14585/DA14586 Getting Started Guide with the PRO-Development Kit The Barebone BLE Example Application The Barebone BLE example application demonstrates basic BLE procedures such as advertising, connection, updating connection parameters, and implementation of the Device Information Service Server (DISS). See the Bluetooth SIG for more details.
  • Page 24: Figure 30: Barebone Ble: Interacting With Ble Application

    UM-B-049 DA14585/DA14586 Getting Started Guide with the PRO-Development Kit 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 25: Troubleshooting

    Pro Development Kit. The following links provide more information on DA14585/586: • Brief: To know more about the SmartBond™ DA14585 SoC. DA14585 Product • Brief: To know more about the SmartBond™ DA14586 SoC.
  • Page 26: Appendices

    UM-B-049 DA14585/DA14586 Getting Started Guide with the PRO-Development Kit 10 Appendices 10.1 Appendix A: Using the Pro Development Kit The user_periph_setup.h file contains hardware settings related to the Development Kit used. The default is the ProDev Kit. Figure 31: Hardware Settings for Pro Development Kit 10.2 Appendix B: Latency Timer of the FTDI cable...
  • Page 27: Appendix C: Battery Connection 'Workaround

    UM-B-049 DA14585/DA14586 Getting Started Guide with the PRO-Development Kit Figure 32: FTDI Latency Timer 10.3 Appendix C: 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.
  • Page 28: Appendix D: Power Bouncing Workaround

    Figure 34: R84 Location 10.4 Appendix D: Power Bouncing Workaround DA14585/586 daughterboards are supplied from the motherboard through a jumper in header J11. See the 3V3 Generation and battery selection for DA14580 and Peripherals section in the DA14585/586 DEVKT-Pro MAINBOARD Electrical Schematic.
  • Page 29: Revision History

    Standard Terms and Conditions of Sale, unless otherwise stated. Dialog and the Dialog logo are trademarks of Dialog Semiconductor plc or its subsidiaries. All other product or service names are the property of their respective owners. © 2018 Dialog Semiconductor. All rights reserved.
  • Page 30: Contacting Dialog Semiconductor

    15 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