Dialog Semiconductor DA1458 Series User Manual

Dialog Semiconductor DA1458 Series User Manual

Getting started with development kit - basic
Hide thumbs Also See for DA1458 Series:
Table of Contents

Advertisement

Quick Links

User manual
DA1458x Getting started with
Development Kit – Basic
UM-B-048

Abstract

This document describes the Bluetooth Smart Basic Development Kit based on
DA14580/581/583/585/586. It helps users to set up the hardware development environment, install
required software and quickly start product development with help of example source code on SDK
v5.x and SDK v6.

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

Summary of Contents for Dialog Semiconductor DA1458 Series

  • Page 1: Abstract

    User manual DA1458x Getting started with Development Kit – Basic UM-B-048 Abstract This document describes the Bluetooth Smart Basic Development Kit based on DA14580/581/583/585/586. It helps users to set up the hardware development environment, install required software and quickly start product development with help of example source code on SDK v5.x and SDK v6.
  • Page 2: Table Of Contents

    3.10 Block diagram & downloading software ................39 Using the demo kit ........................41 Run an example on the DA14580/581/583/585/586 ............41 Power Management: measuring current ................... 45 User manual Revision 1.2 22-Jun-2017 CFR0012-00 Rev 2 2 of 57 © 2017 Dialog Semiconductor...
  • Page 3: Figures

    Figure 36: DA1458x layout of headers J4 and J6 ................37 Figure 37: DA1458x (Fabrication Default) UART boot settings (Tx P0_4 and Rx P0_5) ....37 User manual Revision 1.2 22-Jun-2017 CFR0012-00 Rev 2 3 of 57 © 2017 Dialog Semiconductor...
  • Page 4: Tables

    Software Development Kit Serial Peripheral Interface SRAM Static Random Access Memory Serial Wire Debug Universal Serial Bus UART Universal Asynchronous Receiver/Transceiver WLCSP Wafer Level Chip Scale Packaging User manual Revision 1.2 22-Jun-2017 CFR0012-00 Rev 2 4 of 57 © 2017 Dialog Semiconductor...
  • Page 5: References

    8. DA14580_MB_VB_layout, Dialog Semiconductor 9. DA14580_CB PXI_QFN48, Dialog Semiconductor AN-B-015, DA14580 Supply current measurement, Dialog Semiconductor 10. UM-B-012, DA14580 Creation of a secondary boot loader, User manual, Dialog Semiconductor 11. UM-B-051, DA1458x Software Platform Reference 12. AN-B-015 DA14580/581 Supply current measurements.
  • Page 6: Introduction

    Table 1: Content of the DEVKT – Basic Kit DA14580/581/583/585/586 basic board Battery: CR2032 USB  Mini USB Cable Note 1 Kits are not pre-programmed so must be programmed before use! User manual Revision 1.2 22-Jun-2017 CFR0012-00 Rev 2 6 of 57 © 2017 Dialog Semiconductor...
  • Page 7: Basic Development Kit For Da1458X Family

    UM-B-048 DA1458x Getting started with Development Kit – Basic Basic Development Kit for DA1458x family Dialog semiconductor DA1458x BLE SoC family consists of DA14580, DA14581, DA14583, DA14585 and DA14586. 3.2.1 Differences between DA14580, DA14581, DA14583, DA14585 and DA14586 Hardware difference between basic development boards, is the design in of QFN48 (580) and the QFN40 (580, 581, 583, 585 and 586).
  • Page 8: Table 4: Da14583

    Single pin RF I/O devices: Rich set of analog - Keyboard 5x5x0.9mm, and digital QFN40 - Mouse pitch 0.4mm peripherals Toys, 8 connections Optimized boot time Consumer appliances User manual Revision 1.2 22-Jun-2017 CFR0012-00 Rev 2 8 of 57 © 2017 Dialog Semiconductor...
  • Page 9: Table 6: Da14586

    - Mouse peripherals Toys, 8 connections Optimized boot time Consumer appliances The DA14586 is a DA14585 plus SPI Flash Memory of 2Mbit in the same package. User manual Revision 1.2 22-Jun-2017 CFR0012-00 Rev 2 9 of 57 © 2017 Dialog Semiconductor...
  • Page 10: Software Development Tools

    Run SmartSnippets Studio installer (.msi). Install the recommended version of SEGGER J-Link GDB server. Select the destination folder for the SmartSnippets Studio.  Run the application. User manual Revision 1.2 22-Jun-2017 CFR0012-00 Rev 2 10 of 57 © 2017 Dialog Semiconductor...
  • Page 11: Starting Smartsnippets Studio

    Figure 4: SDK tools installer And now, the SmartSnippets Studio is ready for use. Note, that Ozone and GNU tool chain are not needed for the DA1458x family. User manual Revision 1.2 22-Jun-2017 CFR0012-00 Rev 2 11 of 57 © 2017 Dialog Semiconductor...
  • Page 12: Setting Up Your Pc

    Press: Keil IDE from the Tools section of the welcome menu The MDK-Lite version of KEIL can be used. It supports applications up to 32 KB code-size. User manual Revision 1.2 22-Jun-2017 CFR0012-00 Rev 2 12 of 57 © 2017 Dialog Semiconductor...
  • Page 13: Tera Term

    Select ‘yes’ and in the next window Select ‘M0’. 3.4.2 Tera Term Tera Term: Download and install Tera Term on your PC. http://en.sourceforge.jp/projects/ttssh2/releases/ User manual Revision 1.2 22-Jun-2017 CFR0012-00 Rev 2 13 of 57 © 2017 Dialog Semiconductor...
  • Page 14: Software Development Kit Content

    This folder holds all the necessary folders needed for DA14580/581/583/585/586 application development. projects\target_apps\ble_examples The folder contains the following subfolders and in each one of them resides the respective project file. DA14585/586, only Keil_5 is supported: User manual Revision 1.2 22-Jun-2017 CFR0012-00 Rev 2 14 of 57 © 2017 Dialog Semiconductor...
  • Page 15: Figure 5: Da14580 Target Selection

    Figure 5: DA14580 Target selection Figure 6: da14585 Target selection **USB MONITOR/USB REPORTER can be easily selected as shown below: Open: user_config/user_periph_setup.h and select ‘Configuration Wizard’ User manual Revision 1.2 22-Jun-2017 CFR0012-00 Rev 2 15 of 57 © 2017 Dialog Semiconductor...
  • Page 16: Figure 7: Da14580 Usb Selection

    For details, please read the DA14580 Proximity Application Guide. binaries\host\windows\proximity: This folder includes two pre-compiled Windows executables which correspond to the C applications described right above and are included for user convenience. User manual Revision 1.2 22-Jun-2017 CFR0012-00 Rev 2 16 of 57 © 2017 Dialog Semiconductor...
  • Page 17 This folder includes the source code of the production test tool. Refer to UM-B-008_DA14580_581_583_Production_test_tool.pdf for more information how to build and use it. For DA14585/586, refer to UM-B-79_DA14585_586_SDK_6_Software_Platform_Reference. User manual Revision 1.2 22-Jun-2017 CFR0012-00 Rev 2 17 of 57 © 2017 Dialog Semiconductor...
  • Page 18: Pinning

    UM-B-048 DA1458x Getting started with Development Kit – Basic Pinning Below the pin assignment information for the Dialog semiconductor DA1458x BLE SoC family (DA14580, DA14581, DA14583, DA14585 and DA14586) are provided as references for the user. 3.6.1 DA14580 pin assignment Figure 9: DA14580 - QFN48 (left) and QFN40 (right) Pin assignment 3.6.2...
  • Page 19: Da14583 Pin Assignment

    By using a Secondary Bootloader the proper pins are programmed to load the booting software from the SPI-memory at startup. See more info from UM-B-012 [10]. User manual Revision 1.2 22-Jun-2017 CFR0012-00 Rev 2 19 of 57 © 2017 Dialog Semiconductor...
  • Page 20: Da14585 Pin Assignment

    To DA14583/6: Pin 5, is assigned to P3_0 instead of VCC_ Flash for DA14583 and DA14586. On DA14585, this is a general purpose IO pin. User manual Revision 1.2 22-Jun-2017 CFR0012-00 Rev 2 20 of 57 © 2017 Dialog Semiconductor...
  • Page 21: Da14586 Pin Assignment

    SPI_EN of the external component. By using a Secondary Bootloader the proper pins are programmed to load the booting software from the SPI-memory at startup. User manual Revision 1.2 22-Jun-2017 CFR0012-00 Rev 2 21 of 57 © 2017 Dialog Semiconductor...
  • Page 22: Pcb Design And Functionalities

    Led D1 GND1 Led D5 Led D4 U5 memory J4/J6 OTP enable Flash 2Mbit header Figure 15: Top view of PCB DA14580/581 with components and functionalities User manual Revision 1.2 22-Jun-2017 CFR0012-00 Rev 2 22 of 57 © 2017 Dialog Semiconductor...
  • Page 23: Da14583Devkt-B (285-02-A)

    GND2 DA14583 Led D1 GND1 Led D5 Led D4 header OTP programming voltage enable Figure 17: Top view of PCB DA14583 with components and functionalities User manual Revision 1.2 22-Jun-2017 CFR0012-00 Rev 2 23 of 57 © 2017 Dialog Semiconductor...
  • Page 24: Da1458Xdevkt-B (321-04-A)

    The top-screen layer of the DA1458x Basic Kit PCB is shown in Figure 19. Schematics are presented on section 3.8.4 Figure 19: Components on PCB top layer of the DA14585/6 Basic kit (321-04-A) User manual Revision 1.2 22-Jun-2017 CFR0012-00 Rev 2 24 of 57 © 2017 Dialog Semiconductor...
  • Page 25: Schematics And Layouts

    Schematics and layouts 3.8.1 DA14580DEVKT-B schematic For the schematics and layout of the board in full detail, please refer to the respective documents on the portal. User manual Revision 1.2 22-Jun-2017 CFR0012-00 Rev 2 25 of 57 © 2017 Dialog Semiconductor...
  • Page 26: Figure 21: Da14580Devkt-B_Vb Part 1

    UM-B-048 DA1458x Getting started with Development Kit – Basic See link: www.dialog-semiconductor.com/support. Figure 21: DA14580DEVKT-B_vb part 1 User manual Revision 1.2 22-Jun-2017 CFR0012-00 Rev 2 26 of 57 © 2017 Dialog Semiconductor...
  • Page 27: Figure 22: Da14580Devkt-B_Vb Part 2

    UM-B-048 DA1458x Getting started with Development Kit – Basic Figure 22: DA14580DEVKT-B_vb part 2 User manual Revision 1.2 22-Jun-2017 CFR0012-00 Rev 2 27 of 57 © 2017 Dialog Semiconductor...
  • Page 28: Da14581Devkt-B_Va Schematic

    UM-B-048 DA1458x Getting started with Development Kit – Basic 3.8.2 DA14581DEVKT-B_va schematic Figure 23: DA14581DEVKT-B_va part 1 User manual Revision 1.2 22-Jun-2017 CFR0012-00 Rev 2 28 of 57 © 2017 Dialog Semiconductor...
  • Page 29: Figure 24: Da1581Devkt-B_Va Part 2

    UM-B-048 DA1458x Getting started with Development Kit – Basic Figure 24: DA14581DEVKT-B_va part 2 User manual Revision 1.2 22-Jun-2017 CFR0012-00 Rev 2 29 of 57 © 2017 Dialog Semiconductor...
  • Page 30: Da14583Devkt-B_Va Schematic

    UM-B-048 DA1458x Getting started with Development Kit – Basic 3.8.3 DA14583DEVKT-B_va schematic Figure 25: DA14583DEVKT-B_va part 1 User manual Revision 1.2 22-Jun-2017 CFR0012-00 Rev 2 30 of 57 © 2017 Dialog Semiconductor...
  • Page 31: Figure 26: Da1583Devkt-B_Va Part 2

    UM-B-048 DA1458x Getting started with Development Kit – Basic Figure 26: DA14583DEVKT-B_va part 2 User manual Revision 1.2 22-Jun-2017 CFR0012-00 Rev 2 31 of 57 © 2017 Dialog Semiconductor...
  • Page 32: Da1458Xdevkt-B (321-04-A) Schematic

    UM-B-048 DA1458x Getting started with Development Kit – Basic 3.8.4 DA1458xDEVKT-B (321-04-A) schematic Figure 27: DA1458xDEVKT-B_va part 1 User manual Revision 1.2 22-Jun-2017 CFR0012-00 Rev 2 32 of 57 © 2017 Dialog Semiconductor...
  • Page 33: Figure 28: Da158Xdevkt-B_Va Part 2

    UM-B-048 DA1458x Getting started with Development Kit – Basic Figure 28: DA158xDEVKT-B_va part 2 User manual Revision 1.2 22-Jun-2017 CFR0012-00 Rev 2 33 of 57 © 2017 Dialog Semiconductor...
  • Page 34: Configuring Basic Development Kit-Board By Jumper Settings

    Figure 30: DA14580/581Boot from external SPI memory P0_4 (TxD) (RxD) P0_5 (RxD) (TxD) P0_6 (RTS) (CTS) P0_7 (CTS) (RTS) Figure 31: Data direction of UART within J4 User manual Revision 1.2 22-Jun-2017 CFR0012-00 Rev 2 34 of 57 © 2017 Dialog Semiconductor...
  • Page 35: 3.9.2 Configuring The Da14583 Basic Kit-Board By Jumper Settings

    Figure 33: (Fabrication Default) DA14583 UART boot settings (Tx P0_4 and Rx P0_5) P0_4 (TxD) (RxD) P0_5 (RxD) (TxD) P0_6 (RTS) (CTS) P0_7 (CTS) (RTS) Figure 34: Data direction of UART within J4 User manual Revision 1.2 22-Jun-2017 CFR0012-00 Rev 2 35 of 57 © 2017 Dialog Semiconductor...
  • Page 36: Figure 35: Da14583 Layout Of Headers J4 And J6

    Vdd (via a coin cell) (J5 2-3). The battery (coin cell) is placed in the battery-socket on the back of the PCB. No battery is needed when running via the USB-mini-cable. Note 1 The DA14583 is equipped with a QFN40 device. User manual Revision 1.2 22-Jun-2017 CFR0012-00 Rev 2 36 of 57 © 2017 Dialog Semiconductor...
  • Page 37: 3.9.3 Configuring The Da1458X Basic Kit-Board By Jumper Settings

    P0_4, P0_5 (for null mode), P0_06 and P0_7 (for full UART), Figure 37: DA1458x (Fabrication Default) UART boot settings (Tx P0_4 and Rx P0_5) User manual Revision 1.2 22-Jun-2017 CFR0012-00 Rev 2 37 of 57 © 2017 Dialog Semiconductor...
  • Page 38: Figure 38: Data Direction Of Uart Within J4

    3). The battery (coin cell) is placed in the battery-socket on the solder side of the PCB. No battery is needed when running via the USB-mini-cable. User manual Revision 1.2 22-Jun-2017 CFR0012-00 Rev 2 38 of 57 © 2017 Dialog Semiconductor...
  • Page 39: 3.10 Block Diagram & Downloading Software

     PC -> UART -> DA14580/581/583 -> SPI (flash)  PC -> UART -> DA14580/581/583 -> OTP For the settings of the jumpers see Figure User manual Revision 1.2 22-Jun-2017 CFR0012-00 Rev 2 39 of 57 © 2017 Dialog Semiconductor...
  • Page 40: Figure 41: Da14585/586 Block Diagram

     PC → UART → DA14585/586 → SPI (flash)  PC → UART → DA14585/586 → OTP For the settings of the jumpers see Figure User manual Revision 1.2 22-Jun-2017 CFR0012-00 Rev 2 40 of 57 © 2017 Dialog Semiconductor...
  • Page 41: Using The Demo Kit

    Double click “blinky.uvproj The development environment should look like this when the project is opened with Keil. Click on the “Target Options” button User manual Revision 1.2 22-Jun-2017 CFR0012-00 Rev 2 41 of 57 © 2017 Dialog Semiconductor...
  • Page 42 ‘Options for Target’ Make sure “J-LINK/J-Trace Cortex” is selected as shown and the initialization file field is set correctly to “.\sysram.ini”. Click on “Settings” for next screen. User manual Revision 1.2 22-Jun-2017 CFR0012-00 Rev 2 42 of 57 © 2017 Dialog Semiconductor...
  • Page 43 Open Tera Term and choose a COM port, which you have found in step 3, and click OK Choose Setup->Serial port to configure the Baud rate etc. User manual Revision 1.2 22-Jun-2017 CFR0012-00 Rev 2 43 of 57 © 2017 Dialog Semiconductor...
  • Page 44 UART terminal screen. That means you have successfully programmed and started the blinky program on DA14580/581 as well as DA14585/586 Basic development board. User manual Revision 1.2 22-Jun-2017 CFR0012-00 Rev 2 44 of 57 © 2017 Dialog Semiconductor...
  • Page 45: Power Management: Measuring Current

    T_TXD P0_5 T_CTS P0_6 T_RTS P0_7 n.c. n.c. SPI_SU BATS T_TMS SWDIO SW_CLK T_TCK Figure 43: Setup of DA14583/586 DEVKT – BASIC during power measurement User manual Revision 1.2 22-Jun-2017 CFR0012-00 Rev 2 45 of 57 © 2017 Dialog Semiconductor...
  • Page 46 GND are connected. 7. Read the current. For additional info: see AN-B-015 DA14580/581 Supply current measurements. [12] See chapter 4.4 Deep Sleep current measurement. Web-link: http://support.dialog-semiconductor.com/system/files/AN-B-015_DA14580_Current_Measurement.pdf User manual Revision 1.2 22-Jun-2017 CFR0012-00 Rev 2 46 of 57 © 2017 Dialog Semiconductor...
  • Page 47: Layout Da14580/581

    Connections of J10 and J11 QFN48 QFN40 QFN48 Figure 45: DA14580/581 Connection diagram of J10 and J11 Note 1 The QFN48 package is not available for the DA14581. User manual Revision 1.2 22-Jun-2017 CFR0012-00 Rev 2 47 of 57 © 2017 Dialog Semiconductor...
  • Page 48: Layout Da14583

    OTP programming voltage enable Figure 46: A general overview of the DA14583 development board Connections of J10 QFN40 Figure 47: DA14583 Connection diagram of J10 User manual Revision 1.2 22-Jun-2017 CFR0012-00 Rev 2 48 of 57 © 2017 Dialog Semiconductor...
  • Page 49: Using The Smart Snippets Cli

    SmartSnippets.exe -type spi -chip DA14580-01 -jtag 228202458 -cmd write_field -offset 0x93 - data 1347 -firmware "D:\SmartSnippets\resources\jtag_programmer.bin" The output should be: Figure 49: SmartSnippets output User manual Revision 1.2 22-Jun-2017 CFR0012-00 Rev 2 49 of 57 © 2017 Dialog Semiconductor...
  • Page 50: Blinky' Test Software

    * @file main.c * @brief Blinky example for DA14580/581 SDK * Copyright (C) 2012. Dialog Semiconductor Ltd, unpublished work. This computer * program includes Confidential, Proprietary Information and is a Trade Secret of * Dialog Semiconductor Ltd. All use, disclosure, and/or reproduction is prohibited * unless authorized in writing.
  • Page 51 == i) { GPIO_SetActive( LED_PORT, LED_PIN); printf_string("\n\r *LED ON* "); if (LED_ON_THRESHOLD == i) { GPIO_SetInactive(LED_PORT, LED_PIN); printf_string("\n\r *LED OFF* "); if (i== 2*LED_ON_THRESHOLD){ i=0; User manual Revision 1.2 22-Jun-2017 CFR0012-00 Rev 2 51 of 57 © 2017 Dialog Semiconductor...
  • Page 52: Latency Timer Of Ftdi Cable

    Device Manager → COM port → Right click on the COM port chosen → Properties → Port Settings → Advanced → Latency Timer: set it <10ms. Figure 50: FTDI Latency Timer User manual Revision 1.2 22-Jun-2017 CFR0012-00 Rev 2 52 of 57 © 2017 Dialog Semiconductor...
  • Page 53: Da1458Xdevkt-B Hardware Differences To Da14580, Da14581 And Da14583 Hardware Versions

    6.8V voltage rail (VPP). 1. Not mounting the whole VPP generation circuitry 2. by mounting or not resistor R37 (1) Flash is not existed on DA14583DEVKT-B User manual Revision 1.2 22-Jun-2017 CFR0012-00 Rev 2 53 of 57 © 2017 Dialog Semiconductor...
  • Page 54: Da1458Xdevkt-B Bom Modifications For Supporting Da1458X Soc Family

    Not Mount Not Mount DA14586 Not Mount Not Mount 0 Ohm 100 nF Not Mount (1) VPP circuitry is not needed to be populated for DA14585/6 User manual Revision 1.2 22-Jun-2017 CFR0012-00 Rev 2 54 of 57 © 2017 Dialog Semiconductor...
  • Page 55: Figure 51: Location Of The Components That Enables Various Versions Of Da1458X Family

    Figure 51: Location of the components that enables various versions of DA1458x family Figure 52: Configuration components for enabling the various versions of DA1458x family. User manual Revision 1.2 22-Jun-2017 CFR0012-00 Rev 2 55 of 57 © 2017 Dialog Semiconductor...
  • Page 56: Web-Links

    Date Description 27-08-2015 Initial version for DA1458x family with SDK 5. 20-10-2015 Minor updates in Keil Installation instructions. 22-06-2017 Update for DA14585/586 and SDK 6 User manual Revision 1.2 22-Jun-2017 CFR0012-00 Rev 2 56 of 57 © 2017 Dialog Semiconductor...
  • Page 57 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.

This manual is also suitable for:

Da14580Da14585Da14583Da14581Da14586

Table of Contents