Home
        DA14580/581/583 Bluetooth Smart development kit – Basic
         Contents
1.             DA14580 581 583 Bluetooth Smart development kit     Basic    4 Installation of tools and drivers    To install the Software development environment  please follow the steps as shown in Table 7     Table 7  Installation tools and drivers    Download and install Keil MDK   ARM uVision IDE     For uVision Version you have to  install the ARM Cortex M profile  package  see also  http   www keil com dd2 Pack      You should see a list of packs as  shown on the right  If you do not  see this list  please click the     Packs    menu item and select the     Check for Updates    option to  download an updated list     Click on the    Install    button to the  right of    Keil  ARMCortex_DFP     package     If the installation is successful  the  pack installer window should look  like this     Keil     https   www keil com download product     Keil MDK ARM Version 5     Installation   http   www2 keil com mdk5 install    Starters Guide     http   www keil com uvision ide ov starting asp    uVision    File Edit View Project Flash Debug Peripherals Tools SVCS    NS Add  x    a Wl     LOAD  KH     Window Help  2 PMR M A  EE JE Al set system        Project    a   Device     File Packs Window Help       Pack    Action       Description       FARM  CMSIS  Infineon  XMC1000_DFP  Infineon  XMC4000 DER  Keil   ARMCortex DFP  Keil  zEFM32GG00  DER  Keil  EFM32G00  DER  Keil zEFM32LG00 DER  Keil  EFM32T Goo DEP  Keil EFM32WG0o DFP  Keil  EFM32ZGx00 DER  Keil  FMOplus DER  Keil  FM3Ba
2.          11  Figure 3  Components on PCB top layer of the DA14580 581 Basic kit    12  Figure 4  Topview of PCB DA14580 581 with components and functionalities                                   12  Figure 5  Components on PCB top layer of the DA14583 Basic KIL    sse eee 13  Figure 6  Topview of PCB DA14583 with components and functionalities                                           13  Figure 7  DA14580DEVKT B_vb part le 14  Figure 8  DA14580DEVKT B vb part 2 15  Figure 9  DA1581DEVKT B va part  ENEE 16  FOUG LO DAS IDEYKT B re 17  Foue 11  DATSSSDEVKT B vapart eee 18  Selen 19  Figure 13  DA14580 581  Fabrication Default  UART boot settings  Tx PO_4 and Rx PO_5              20  Figure 14  DA14580 581 Boot from external SPI memory see ee eee eee eee 20  Figure 15  Data direction of UART within J    20  Figure 16  DA14580 581 layout of headers J4 and JA 21  Figure 17   Fabrication Default  DA14583 UART boot settings  Tx PO_4 and Rx DO Di  22  Figure 18  Data direction of UART within J    22  Figure 19  DA14583 Layout of headers J4 and Je 22  Figure 20  Block diagram with different memory Jocatons sss sees eee ee eee ee 26  Figure 21  Setup of DA14580 581 DEVKT     BASIC during power measurement   esse 34  Figure 22  Setup of DA14583 DEVKT     BASIC during power measurement  eee 34  Figure 23  A general overview of the DA14581 development board sss sese eee eee 36  Figure 24  DA14580 581 Connection diagram of J10 and J11     emnnnnnnnnnnnnnrrnvvvnnnrnnnnnrrrrrrnnrrnnnnsrrrere
3.     CI  oo    St  fr  A       Figure 17   Fabrication Default  DA14583 UART boot settings  Tx PO_4 and Rx PO 5           PO 4  TxD              RxD     PO_5  RxD    a    TxD     USB    PO_6  RTS               CTS     DA14580 581 583                PO 7  CTS               RTS           Figure 18  Data direction of UART within J4    Pin 1        4 BAT_580 T   HEADER 14X2 e  VBAT_580   RST gnd  D L   KH    am L   P11 Pi 1    P1_0    e     PO 2 PO 2    PO 1  PC  L se   PO 4 N T_RxD  DE Cer  Pat D  Di as  pO D  gt  IT DD j POS PO_ x  aK  DRINK AECH CIS   PO 6 PO 6    T cts  d  i 18 _RTS PO_7 PO 1    T_RTS  PU 0 20 C PO_3 PO 3    n c   B  T SE PI SUPPLY R37 P23   poo PO 0    eg   L SWDIO_ NP   BATT SEL BATS   gt  SPI_SUPPLY    TIM  _ gt         TICK E SWDIO  P1_5   SW_CLK  P1_4     N     o   o       4   4    lt     un  St        bemnmmmmmmmmmmmmmmmmemmmmmmmmmemmemmemmemmmmemmmmmmmmmemmmmmmmmm      Figure 19  DA14583 Layout of headers J4 and J6    Example  when jumper J4  27 28  is placed  connection T CK   SW CLK is made     On this board only the Buck mode is used  A choice can be made between 3V3  via USB   J5 1 2  or  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 2 3 03 Jun 2015    CFR0012 00 Rev 2 22 of 44    2015 Dialog Semiconductor    UM B 025    dialo    SEMICONDUCTOR 
4.    3  UM B 015  DA14580 581 583 Software Architecture  Dialog Semiconductor  4  DA14580 CB PXI QFN40 layout  Dialog Semiconductor   5  DA14580 CB PXI QFNP40  Dialog Semiconductor   6  DA14580 CB PXI WLCSP  Dialog Semiconductor   7  DA14580 CB PXI WLCSP layout  Dialog Semiconductor  8  DA14580 MB VB layout  Dialog Semiconductor    9  DA14580 CB PXI QFN48  Dialog Semiconductor   10  UM B 005  DA14580 581 583 Peripheral Examples  Dialog Semiconductor  11  UM B 010  DA14580 581 583 Proximity application  Dialog Semiconductor  12  AN B 015 DA14580 Supply current measurement  Dialog Semiconductor    User manual Revision 2 3 03 Jun 2015    CFR0012 00 Rev 2 4 of 44 O 2015 Dialog Semiconductor          d      SEMICONDUCTOR g    UM B 025  DA14580 581 583 Bluetooth Smart development kit     Basic    3 Introduction    DA14580 581 583 is a Bluetooth Smart chip  working with extremely low power while providing  world class RF performance  a small footprint and flexible peripheral configurations for a wide range  of applications  The development kit includes a set of hardware  e g  development board with on   board debugger   a Software Development Kit  SDK   e g  development tools  source code examples  documents and so on  along with documentation  This document helps users to set up  hardware software development environment  install required software and quickly start product  development with the help of example source code     Web content can be downloaded at  www dialog semiconductor
5.    connect or disconnect to see the COM  port of that module      TCPHP myhost example com  History  Telnet       SSH SSH   Other    22    UNSPEC       Serial Port   COM26  USB Serial Port  COM26          OK     Cancel     Help      SW Edit  Setup   Control Window eren    Revision 2 3 03 Jun 2015    31 of 44    2015 Dialog Semiconductor    UM B 025       dialog    SEMICONDUCTOR    DA14580 581 583 Bluetooth Smart development kit     Basic    6 1 14    6 1 15    6 1 16  6 1 17    Set    Baud rate    to 115200   Data  to 8 bit  Parity    to None     Stop    to  1 bit and    Flow control    to none   Click OK  Now we have a properly  configured UART terminal on our  PC     Go back to Keil Project  In the  menu bar  select Debug    gt Start Stop Debug Session     A dialog window pops up  like the  one on the right  Please click    OK       Press F5 key or click execution  button as shown in following  picture  to start code execution        User manual    CFRO012 00 Rev 2    Port    Baud rate   Data   Parity   Stop     Flow control     Transmit delay    0 msec char msecfline    SVC Window He    te Gey Reset CPU    E Run    kel    EVALUATION MODE  Running with Code Size Limit 32K    File Edit View Project Flash Debug pernp   age   s eler   D    6 6 0   gt   TE    Registers q Disassembly    Ox20000446    23   Ox200004AA    Ox2000044     Ox200004A4E    a L    Revision 2 3 03 Jun 2015    32 of 44    2015 Dialog Semiconductor    UM B 025             dialog    SEMICONDUCTOR    DA14580 5
6.    l           ep SC   0  2 wl 2  i SE GH   PO A  lt  FY T_RxD   1      WI   a ES  S      z       bre l srmso pos Au  SPI e         2 DR ae TS SPI MOSI   PO_6 la es T CTS    15 PR AK ETS   PO_7 orl om T_RTS   18 P    Sere RTS     HET      21 H CCE PO_3 Le    SPI CS   mp SEET EE a 7  A D AT   PO_0 2 4 SPI CLK         SW CR l BATT SEL ail  ca SPI_SUPPLY        T_TMS Ada SWDIO  P1_5   ZE  T_TCK   SW CLK  P1 A       Figure 16  DA14580 581 layout of headers J4 and J6    Example  when jumper J4  27 28  is placed  connection T CK   SW_CLK is made     On this board only the Buck mode is used  A choice can be made between 3V3  via USB   J5 1 2  or  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 DA14580 is equipped with a QFN48 device and the DA14581 has a QFN40 die mounted     User manual Revision 2 3 03 Jun 2015    CFR0012 00 Rev 2 21 of 44    2015 Dialog Semiconductor             dialog    SEMICONDUCTOR    UM B 025  DA14580 581 583 Bluetooth Smart development kit     Basic    3 4 4 Configuring the DA14583 basic kit board by jumper settings    Different functionalities are shown in Appendix A  and the jumper settings are displayed below     POWER LED  P1 0     di   ec PO 4 gt T_RxD  Ri  a PO 5 lt T TxD  e    PO 6 gt T CTS  ny   H PO 7 lt T RTS    BATS  lt  gt  SPI SU  T TMS  lt  gt  SWDIO  T TCK  gt  SW CLK    ess  ang i  wo  7  PE o    F C  lt 
7.  c Ge Tera TENN EE 25  5 Quick start  Downloading software         rrrrvvvnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnne 26  5 1 Software downloaded via Keil IDE  USB  via SWD  to SRAM see eee 27  6 Sing INe demo Lan 29  6 1 Run an example on the DA14580 581 187  29  7 Power Management  measuring CUrreNt    n  rrnnnnunnnnnnunnnnnnnvennnnnvennnnnnnnnnnnnnnnnnnnvennnnnvennnnnnernnnnnner 34  APpenanx A Layout DA14580 501 0    ayega yE anaa 36  Appendix B Connections of J10 and J11    esnnnnnvennnnnnnnnennnnnnnnnnnnnnnnnnnnnnnnnnnnennnnnnnnnennnnnnnneennnnnnnnnennnnn 36  Appendix C Layout DA14585 Luse 37  Appendix D Connections of J10 EE 37  Appendix E Using the smart snippets CLL      ssssssssssssssssssssssss esse eenn eenn eenn ennenen 38  Appendix F Issues with opening a project for the first time    sens 39  SC escue el te E 39  F2 PENN E 39  F 3 Under which circumstances user will encounter this emor  eee eee eee ee 39  User manual Revision 2 3 03 Jun 2015    CFR0012 00 Rev 2 2 0f 44 O 2015 Dialog Semiconductor    mom  dialog    DA14580 581 583 Bluetooth Smart development kit     Basic    Pt se ae an ee de no 39  Appendix G    Blinky    Test Software sss sss sss sss s sss ss esse enean eee 40  Appendix H Latency Timer Of FTDI Cable    42  O WS sorrie E T E a E E a 43  FRE VISIONS NN sas sense annees nee see nee ane een 43  Contacting Dialog Semiconductor E 44  Figures  ATLE 5  Figure 2  QFN40 pin assignment from datasheet                       
8.  com support     Product information about the DA14580  DA14581 and DA14583 can be found at   www dialog semiconductor com products bluetooth smart smartbond da1 4580     www dialog semiconductor com products bluetooth smart smartbond development tools da14581   development kit basic     3 1 Hardware content    In Figure 1 the kit components are shown and in Table 1 the parts are printed        Figure 1  DEVKT   Basic Kit    Table 1  Content of the DEVKT   Basic Kit       Note 1 Kits are not pre programmed so must be programmed before use     User manual Revision 2 3 03 Jun 2015    CFR0012 00 Rev 2 5 of 44    2015 Dialog Semiconductor    mon  dialog    DA14580 581 583 Bluetooth Smart development kit     Basic  3 2 Web content    3 2 1 Software Development Kit content    3 2 1 1 Tools    Web link  www dialog semiconductor com support    SmartSnippets    SmartSnippets is a framework of PC based tools to control DA14580 581 583 development kit   consisting of   6 OTP Programmer  Tool for OTP memory programming   e UART booter  Tool for downloading hex files to DA14580 581 SRAM over UART   e SPI  amp  I2C memory programmer  Tool for SPI flash and 12C EEPROM programming    ConnectionManager    Connection Manager is a PC based software tool to control the link layer of the DA14580 581 583   with the following capabilities    Functional in Peripheral and Central role   Set advertising parameters   Set connection parameters   Reading from Attribute database   Perform production test 
9.  document is under review and subject to formal approval  which may result in    modifications or additions     APPROVED The content of this document has been approved for publication   or unmarked    Disclaimer       Information in this document is believed to be accurate and reliable  However  Dialog Semiconductor does not give any  representations or warranties  expressed or implied  as to the accuracy or completeness of such information  Dialog  Semiconductor furthermore takes no responsibility whatsoever for the content in this document if provided by any information  source outside of Dialog Semiconductor     Dialog Semiconductor reserves the right to change without notice the information published in this document  including without  limitation the specification and the design of the related semiconductor products  software and applications     Applications  software  and semiconductor products described in this document are for illustrative purposes only  Dialog  Semiconductor makes no representation or warranty that such applications  software and semiconductor products will be  suitable for the specified use without further testing or modification  Unless otherwise agreed in writing  such testing or  modification is the sole responsibility of the customer and 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 ap
10.  settings are displayed below     POWER LED  P1_0     J Link T   INT BAT Wa   Li een  MT H     gger com 8 JE       e     PO 4 gt T RxD  SE    Fogn    gt  PO 5 lt T TxD  GC d r CSR g     ITS PO 6 gt T CTS     E PO_7 lt T_RTS    Kin   Om  Se  SEX 000  0000000001     CR  Klev LE    d    T TMS  lt  gt  SWDIO  T_TCK  gt  SW CLK    DA14580DEVKT B       Figure 13  DA14580 581  Fabrication Default  UART boot settings  Tx PO 4 and Rx PO 5     POWER LED  P1_0     SE INT BAT LD   Kai  k YIT     raw Stager con Jer io  Ge   i     K     Ap   LU vee      AA QFN4     de aii   SPI MISO   PO_5   L    04   SPI MOSI   PO 6  RT RE   PO 3   SPI CS  oo e fk SCH SE  ool 22 ap EE PO 0   SPI CI    e  ege  2 r  r    sg P E        ICH    EEN    o  Le   el  o  o  Le             BI     CO   Le   1 D op  OR        BAT SEL SPI SUP  T TMS   SWDIO  P1 5   T TCK SW CLK  P1 4     ir TO   cle    DA14580DE VKT  B       Figure 14  DA14580 581Boot from external SPI memory          PO_4  TXD            RxD     PO_5  RxD     lt         _  TxD     USB    PO 6  RTS                 CTS     DA14580 581 583                PO 7  CTS    lt           RTS           Figure 15  Data direction of UART within J4    User manual Revision 2 3 03 Jun 2015    CFR0012 00 Rev 2 20 of 44 O 2015 Dialog Semiconductor       dialog    SEMICONDUCTOR    UM B 025  DA14580 581 583 Bluetooth Smart development kit     Basic       Pin 1     Available on WLCSP   OF N40   OENAS   VBAT_580 gnd  d RST gnd    Su   P1 3 P1 2  I Ki   K J 4 ge  Kg   S mie 
11. 28kBytes     5x5x0 9mm   pitch 0 4mm    ROM  84kBytes  OTP  32kBytes  RAM  50kBytes    Key Features    Bluetooth 4 0    4 1    Cortex MO  application  processor    Power supply  2 35   3 3V  Single pin RF  UC   Rich set of  analog and  digital  peripherals       dialog    SEMICONDUCTOR    Applications    Beacon  amp   Proximity  Health  amp   Fitness  HID    Smart Home    Note 1 The only hardware difference between the DEVKT  Basic 14580 and the DEFKT  Basic 14581  is the  design in of QFN48  580  and the QFN40  580 581   The silkscreen may have small textual    differences     Remark  DA14583 will run in BUCK mode only     User manual Revision 2 3    CFRO012 00 Rev 2 10 of 44    03 Jun 2015       2015 Dialog Semiconductor             dialog    SEMICONDUCTOR    UM B 025  DA14580 581 583 Bluetooth Smart development kit     Basic    3 4 Pinning    In Figure 2 the pinout of the DA14583 is shown  New  compared to the DA14580 581  are the  connections to the internal SPI flash memory       P2 O SPI CLK      P2_9 SPI_DI         t      40   ag    DA14583     Top View     XTAL32Km 1    Figure 2 QFN40 pin assignment       Figure 2  QFN40 pin assignment from datasheet    Table 6  SPI connections    port  DA14583    P2 0 SPI CLK SCLK  Note 2   P2 9 SPI DI MOSI  Note 2        P2 4 SPI DO MISO  Note 2  P2 3 SPI EN not to be used for external SPI      VOC FLASH   power for internal Flash Memory  GND TI    GND  Note 2 shared with internal flash memory       When external SPI components are 
12. 4 O 2015 Dialog Semiconductor             dialog    SEMICONDUCTOR    UM B 025  DA14580 581 583 Bluetooth Smart development kit     Basic    After clicking the    Settings    button  above  make sure the SW Device  has been detected correctly     Click    OK    to save the settings     Build the project by pressing    F7     key  or click the build button as  shown in following picture    Make sure you have a UART  connection between your PC and  a mother board  as shown in 6 1 5   Check the    COM    number on you  PC     Open the    Tera Term    serial  terminal on you PC     Open Tera Term and choose a  COM port  which you have found  in step 3  and click OK    Choose Setup  gt Serial port to  configure the Baud rate etc        User manual    CFR0012 00 Rev 2    Debug   Trace   Flash Download    J Link   J Trace Adapter SW Device    SN  228201666  Device       Link ARM Lite SWD   asn  ARM CoreSight SW DP   Gx0BB11477 ARM CoreSight SW DP  HW     v8 00   00    FW   Link ARM Lite V8 compiled   Max Clock     sc       i mp tok      Add   Delete   Update          All settings have been saved properly now  and you can  continue to build the example     File Edit View Project Flash      Corter      44 LOAD    Project  2 674 Cortex M0 SDK   Simulator     S Startup Files  LTE  startup CMSDK CMO s  d  A  system CMSDK c    ma Ca LK en VE sn  Eila     Go to the Windows Control Panel  gt Administrative Tools    gt Computer Management  gt  Device Manager  gt  Ports  gt    USB Serial Port 
13. 81 583 Bluetooth Smart development kit     Basic    Then you can see a hello  message on your UART terminal  screen  That means you have  successfully programmed and  Started the peripheral program on  DA14580 581 Demo board     The peripheral_setup demo  consists of a small suite of tests  that encompasses some of the  most commonly used peripherals  such as I2C EEPROM  SPI Flash     Rotary Encoder  audio buzzer etc     For more detailed info and  technical details please refer to  the UM B 005  DA14580  Peripheral Examples as well as  the source code of the  peripheral_setup demo     User manual    CFR0012 00 Rev 2    b COM4 115200baud   Tera Term VT    File Edit Setup Control Window Help    DA14584 Engineering Examples  Connect the appropriate peripheral before choosing each test    Refer to Engineering Examples User Guide      URI Print String Example    SPI Flash Memory Example  i  SPI Flash Memory Image Write     2C EEPROM Example     2C EEPROM Image WeiteVerify Example     disabled in this build  Quadrature  Rotary Encoder  Example    Timer   PWM   PURI 3 Example    Timer2 CPUM2  PUM3  FUM4 gt  Example    Battery Example    Exit Example    Make a choice            Revision 2 3 03 Jun 2015    33 of 44    2015 Dialog Semiconductor          d      SEMICONDUCTOR g    UM B 025  DA14580 581 583 Bluetooth Smart development kit     Basic    7 Power Management  measuring current    The design of this DA14580 and DA14581 DEVKT  Basic is made in such a way that the  microcontroll
14. HD       BLSEN   200    Figure 10  DA1581DEVKT B_va part 2    03 Jun 2015    Revision 2 3    User manual       2015 Dialog Semiconductor    17 of 44    CFRO012 00 Rev 2        dialog    UM B 025  DA14580 581 583 Bluetooth Smart development kit     Basic    3 4 2 3 DA1583DEVKT B va layout    H      HS    HI H    hole mme mmie mt mim    EK OFF OPED    Fa    F1 Fz    GND  GND  Gao       GND  GAD    SEU    VPP   GVB generation for OTP programming             Figure 11  DA1583DEVKT B va part 1  User manual Revision 2 3 03 Jun 2015    CFR0012 00 Rev 2 18 of 44 O 2015 Dialog Semiconductor       e k bbe kk     dialog             03 Jun 2015          Revision 2 3    O 2015 Dialog Semiconductor    19 of 44       i i e        L    6 dat ci S SH  er   Z      le nee len    IH       b  0 LUS l    gg da E JH    H L  B gt  BIEN Jul Las core nn NNN tal       P a FZ  d SE S      e S    il P e     S    ER      5 KR O A i i k 4   r e r i 1  i   ge d   3   SR i 5   a E d Le E j    i g 8  g I En              EECH   bal   j  TSH    ee DE s  BERE JEG Snes mm7 Papas l  f C G     EAE OOA Sal 32H09 QU 28097005 EAE Dan    DA14580 581 583 Bluetooth Smart development kit     Basic    UM B 025    Figure 12  DA1583DEVKT B va part 2    User manual  CFR0012 00 Rev 2             dialog    SEMICONDUCTOR    UM B 025  DA14580 581 583 Bluetooth Smart development kit     Basic    3 4 3 Configuring the DA14580 581 basic kit board by jumper settings    Different functionalities are shown in Appendix A  and the jumper
15. K J  TRACE Cortex  selected  uVision crashes     F 2 Possible causes     Some important information concerning the j link driver is missing  calling the driver s dll probably  causes the crash  The versions of Keil uVision found to be affected are  versions 5 11 1 0 and  5 10 0 2     F 3 Under which circumstances user will encounter this error     When a local GIT repository is first created  this file   uvopt  does not exist  since it is not included in  the remote repository  When the user opens the project for the first time  this file is created  but some  keys values are missing     F 4 Proposed solution   Follow the steps below     1  Ensure that the  uvopt file does not exist in the folder of your project  If it exists and crash has  been identified to happen  delete the  uvopt file    2  Open the Keil project and close it  The  uvopt file is created automatically in the project folder   where the  uvproj is located     3  Open the  uvopt file  using your favorite text editor    4  Under the key  lt TargetOption gt  add the flowing lines      lt TargetDriverDllRegistry gt     lt SetRegEntry gt     lt Number gt 0 lt  Number gt     lt Key gt JL2CM3 lt  Key gt     lt Name gt  U228202424  078  SO  AO  CO  JUl  J1127 0 0 1  JPO  RSTO  NOO   ARM  Coresight SW DP    DOO  OBBIIAT7   LO0 0   TOLS  IC10000000  TP21  FDS8007  TDTO    TDC1F  TIEFFFFFFFF  TIP8  TBl  TFEO  FO7  FD20000000  FC800  FNO lt  Name gt    lt  SetRegEntry gt     lt  TargetDriverDliRegistry gt     Save the  
16. KKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKK  as    include  lt stdio h gt     include  global io h     include  common uart h     include  periph setup h     include  gpio h      define LED OFF THRESHOLD 10000   define LED ON THRESHOLD 400000    void system init  void     void blinky test  void       XX  KIKKAKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKK     brief Main routine of the UART example     KKEKKKKKKK KKK KKK KKK KK KKK KKK KKK KKK KKK KKK KKK KKK KKK KKK KKK KKK KK KK KKK KKK KKK KKK KKK KK KK KKKKKKKKK  Z    int main  void   system init      periph init      blinky test      while  1             KKEKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKK KKK KKK KKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKK    brief System Initiialization  X     KKEKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKK KK KKK KKKK KKK KK KKK KKK KKKKKKKKKKKKK KKK KKK KKKKKKKKKKKKKKKK  7   void system init  void          SetWord16  CLK AMPA REG  0x00      set clocks  hclk and pclk   16MHz  SetWord16  SET FREEZE REG  FRZ WDOG       stop watch dog   SetBits16  SYS CTRL REG  PAD LATCH EN  1      open pads   SetBits16  SYS CTRL REG  DEBUGGER ENABLE  1       open debugger  SetBits16  PMU CTRL REG  PERIPH SLEEP  0      exit peripheral power down           KKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKK     brief Blinky test fucntion   X   X    KKEKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKK    er    void blinky t
17. O 2015 Dialog Semiconductor    
18. Rev 2 13 of 44    2015 Dialog Semiconductor             dialog    SEMICONDUCTOR    UM B 025  DA14580 581 583 Bluetooth Smart development kit     Basic    3 4 2 Schematics and layouts    3 4 2 1 DA1580DEVKT B_ va layout    For the schematics and layout of the board in full detail  please refer to the respective documents on  the portal  See link  www dialog semiconductor com support        g    Sl NtTOOONTWOAN aH 9    Figure 7  DA14580DEVKT B_vb part 1    User manual Revision 2 3 03 Jun 2015    CFR0012 00 Rev 2 14 of 44    2015 Dialog Semiconductor     dialog       UM B 025    DA14580 581 583 Bluetooth Smart development kit     Basic                rf    50 Faves     BO dined    BD ALSEN       HO    Sur       Figure 8  DA14580DEVKT B vb part 2       03 Jun 2015    Revision 2 3    User manual       2015 Dialog Semiconductor    15 of 44    CFRO012 00 Rev 2     dialog       UM B 025    DA14580 581 583 Bluetooth Smart development kit     Basic    SG yout    DA1581DEVKT B va la    3 4 2 2    Y          ht     OO    HUNG dE  EK    DOG     56        OTT     S   ULL seu Rtl ONE    EH    TH    IH Ed zd L   EONS       T     ONE ONE  ZONG HIND          BELT TT  110             GEI        Figure 9  DA1581DEVKT B va part 1    03 Jun 2015    Revision 2 3    User manual       2015 Dialog Semiconductor    16 of 44    CFRO012 00 Rev 2     dialog       UM B 025    DA14580 581 583 Bluetooth Smart development kit     Basic       5    YOLIN NOSIS f   WSS    Sep                BJ    JSH       dnia 
19. ample  loading software  hex file  by using SmartSnippets  e PC   gt  UART   gt  DA14580 581 583  e PC   gt  UART   gt  DA14580 581 583   gt  SPI  flash   e PC   gt  UART   gt  DA14580 581 583   gt  OTP    For the settings of the jumpers see Figure 13     User manual Revision 2 3 03 Jun 2015    CFR0012 00 Rev 2 26 of 44    2015 Dialog Semiconductor       dialog    SEMICONDUCTOR    UM B 025  DA14580 581 583 Bluetooth Smart development kit     Basic    5 1 Software downloaded via Keil IDE  USB  via SWD  to SRAM    Way of working  the Keil IDE  uVision 5 12  is used to load software into the board  Software is  downloaded to SRAM through SWD  Serial Wire Debug   After downloading the software  see 4 1    the software can be debugged via the same IDE     Table 8  Way of Working  WoW  loading    Blinky    code  Preparations    This chapter shows the user how to quickly set up the software development environment of the BLE  Bluetooth  Low Energy  demo    Attach mini USB  cable to PC and  demo board     Functionality of this e jose ees  d g J    a C spesa    cable   PO 4 gt T RxD    PO 5 lt T TxD    Lou    e power at   pega    WD    programming        4  HA  gt  2    3   LE   gi D      thee  HEES    HE AA 2328       L         debugging    UART    ro  vil Ba    r    The DEVKT  B 581 die  e     DA14580DEVKT B   and DEVKT  B 583     T_TCK  gt  SW_CLK  can be programmed    in the same way        User manual Revision 2 3 03 Jun 2015    CFR0012 00 Rev 2 27 of 44    2015 Dialog Semiconduc
20. arily for diagne  J Link Remote Server   Free utility which provides the possibility to  SWO Viewer   Free tool which shows terminal output of the targe  J Mem   Memory viewer   J Link DLL Updater   Allows to update 3rd party applications whicl  Free flash programming utilities   Simple command line utilities whic  boards     USB driver  Includes driver for J Links with CDC functionality     e Manuals  UM08001  J Link User Guide   UM03003  J Flash User Gi  og E  Flasher ARM User Guide       Release notes for J Link DLL  J Flash  J Link RDI DLL       J Flash  including sample projects for most popular eval boards   J Link RDI   Support for ARM RDI standard  Makes J Link compatib    Software and documentation pack for Windows    htip   www segger com ilink software himl       e e e e    e       We    Choose optional components that should be installed   f   Install USB Driver for J Link  f   Install USB Driver for J Link OB with COC    In order to have the USB controller  properly recognized by Windows as  a J Link device  you have to install  the driver with the settings shown in  the side figure     Choose options for creating shortcuts    M Create entry in start menu    Add shortcuts to desktop        Back Cancel      The following 3rd party applications using JLinkGAM  dil have been found     AR Embedded Workbench for ARM  DLL V4 58a in  CA Program Files  Kel MOK 4  70  DLL V4 66a in  Cal    RMS egger     At the end of the installation  please  tick the IDE  Keil MDK Vxx  t
21. butors     X KKK KKK KKK K K K X K K K K K K K K K K K K K K KX K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K           include     include   include   include   include     lt stdio h gt      global io h    common uart h    periph setup h    gpio h     fdefine LED OFF THRESHOLD 10000   define LED ON THRESHOLD 400000    void system init  void    void blinky test  void      Z  ss    X XKX KKK XXX X XK X K K K K K K K K K K K K K K KX K K K K K K K K K K K X X K K K K K K K X K X K K K K K K K K K K K K K K K K K K K K K K K X K K K K K K X K X K K       brief Main routine of the UART example         RRR RRR RRR RRR RRR RR RRR RRR RRR RRR RRR RRR RRR RRR RRR RRR RRR RRR RRR RRR RRR RRR        int main        void     system init     periph init     blinky test       while i            Select UART settings    define UART2 BAUDRATE UART BAUDRATE 115K2   define UART2 DATALENGTH UART CHARFORMAT 8    define UART2 PARITY UART PARITY NONE    define UART2 STOPBITS UART STOPBITS 1    define UART2 FLOWCONTROL UART FLOWCONTROL DISABLED     define UART2_GPIO PORT GPIO PORT 0   define UART2 TX PIN GPIO PIN 4   define UART2 RX PIN GPIO PIN 5   define UART2 ENABLED      LED    define LED PORT GPIO PORT 1    define LED PIN GPIO PIN 0             Z COM26 115200baud   Tera Term VT      Fi    le Edit Setup Control Window Help        start test  gt    pu ls     pu ls     pu ls     puls    puls    puls    puls    puls    puls    
22. commands    3 2 1 2 SDK documents    UM B 003  DA14580 581 583 Software development guide  UM B 004  DA14580 581 583 Peripheral drivers  UM B 005  DA14580 581 583 Peripheral examples  UM B 006  DA14580 Sleep mode configuration   UM B 007  DA14580 Software Patching over the Air  SPOTA   UM B 008  DA14580 581 583 Production test tool  UM B 010  DA14580 581 583 Proximity application  UM B 011  DA14580 Memory map     scatter file   UM B 012  DA14580 Secondary boot loader   UM B 013  DA14580 External Processor Interface over SPI  UM B 014  DA14580_581 Development Kit   UM B 015  DA14580 581 583 Software architecture    User manual Revision 2 3 03 Jun 2015    CFR0012 00 Rev 2 6 of 44 O 2015 Dialog Semiconductor       dialog    SEMICONDUCTOR    UM B 025  DA14580 581 583 Bluetooth Smart development kit     Basic    3 2 1 3 SDK source code examples  created with Keil IDE    Web link    e dk apps  This folder holds all the necessary folders needed for DA14580 581 application  development   o dk_apps keil_projects proximity    The folder contains the following subfolders and in each one of them resides the respective  project file     Table 2  SDK Examples    prox_monitor_ext Keil_ 4 prox monitor ext uvproj Proximity Monitor  External processor  prox monitor ext 581 uvproj configuration   prox monitor ext 583 uvproj  prox monitor extiKeil 5 prox monitor ext uvprojx  prox monitor ext 581 uvprojx  prox monitor ext 583 uvprojx    prox reporter extliKeil 4 prox reporter ext uvproj  Proximit
23. der      voltage enable    Figure 25  A general overview of the DA14583 development board    Note 1 The QFN48 package is not available for the DA14581     Appendix D Connections of J10       J10             p22   O      p23    p20    C   p21  p24 O      p25  aR O O   p27  p28       p29    QFN40       Figure 26  DA14583 Connection diagram of J10    User manual Revision 2 3 03 Jun 2015    CFR0012 00 Rev 2 37 of 44    2015 Dialog Semiconductor       dialog    SEMICONDUCTOR    UM B 025  DA14580 581 583 Bluetooth Smart development kit     Basic    Appendix E Using the smart snippets CLI    All the information syntaxes about the CLI can be found under the HELP tab in the SmartSnippets  GUI or by writing Smartsnippets    help in the CLI  In this example  it is assumed that the SPI  memory is using P0 0 as SCK  PO_3 as CS  PO_5 as MISO and PO_6 as MOSI  First of all  the CLI  can send the commands either via UART or JTAG according to the binary file that has been loaded   On the one hand  if the commands are going to be sent via UART  the following binary file must be  used        flash programmer bin    On the other hand  if the commands are going to be sent via JTAG  the following binary file must be  used     6 jtag programmer bin    Note 2 The files can be found in the SmartSnippets resources folder and must be to be downloaded into the  DA14580     Secondly  open the CLI by pushing the Shift button and right click on the    bin    folder of the  SmartSnippet and select    Open c
24. dialog    User manual    DA14580 581 583 Bluetooth Smart  development kit     Basic    UM B 025    Abstract    This document describes the Bluetooth Smart Development kit   Basic based on DA14580 58 1 583   It helps customers to set up the hardware development environment  install required software and  quickly start product development based with help of example source code     mom  dialog    DA14580 581 583 Bluetooth Smart development kit     Basic    Contents  MTT EE E 1  CONIO EE EN et 2  wir UI 3  EI 3  let ui Ee e Ke E lu Te   E 4  EE EE 4  SG SR Tute  TT Te  DEE 5  3i Ee en 1 EE 5  ee NS CO E EEEE 6  3 2 1 Software Development Kit content    6  3 2 1 1 MOONS EE 6  3 2 1 2    DB  ELE 6  3 2 1 3 SDK source code examples  created with Keil IDE  sees 7  SR E   DA14581 basic AEN 9  3 3 1 Differences between the DA14580 580 583       rrrnnnnnnvnvrnnnnrvvrnrnnnrnrrnrnnnnnnennnnnnnnnenn 9  S   D REE EEE RE 11  3 4 1 PCB design and functionalities   e eee eee 12  3 4 2 Schematics and layouts ss 14  3 4 2 1 DA1580DEVKT B va layout    14  3 4 2 2 DA1581DEVKT B va layout    16  3 4 2 3 DA1583DEVKT B va layout    18  3 4 3 Configuring the DA14580 581 basic kit board by jumper settings sse eee e 20  3 4 4 Configuring the DA14583 basic kit board by jumper settings sss ee eee ee eee 22  4 Installation of tools and drivers          r  annxxennnnnnennnnnnnnnnnnnnnnnnnnvennnnnnennnnnnnnnnnnnnnnnnnnnennnnnnennnnnnnnnnnnnnen 23  Al E 23  42 PEER NN NNN 24  c HD 39 67 ON A E E A E E E N 24 
25. er can be isolated completely from the rest of the board     This is illustrated in the block diagram shown in Figure 21  Shown are the connections of the jumpers  J4  J5 and J6  For extra info see the electrical schematic in section 0           SPI SUPPLY             SPI MISO       SPI MOSI       SPI CS    SPI CLK       T TMS       T TCK       T RXD    T TXD          T CTS          T RTS                Figure 21                                                                 Figure 22  Setup of DA14583 DEVKT     BASIC during power measurement    User manual Revision 2 3 03 Jun 2015    CFR0012 00 Rev 2 34 of 44    2015 Dialog Semiconductor    mom  dialog    DA14580 581 583 Bluetooth Smart development kit     Basic    Steps how to do the power measurements     1     oY oe S ZS    7     Connect the Current Meter to jumper J5    Mount the jumpers needed for downloading the software  see chapter 0 and chapter 5    Download the software    Start the software    Wait till software has reached    Deep Sleep        Dismount all the jumpers   Now almost all the DA14580 581 583 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   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 2 3 03 Jun 2015    CFR0012 00 Rev 2 35 of 44 O 2015 Dialog Sem
26. esponse problems  Serial Enumerator   Serial Printer  Latency Timer  msec   Cancel If Power Off   Event On Surprise Removal  Timeouts Set RTS On Close    Disable Modem Ctrl At Startup  Minimum Read Timeout  msec    Minimum Write Timeout  msec      AAO oS       Figure 29  FTDI Latency Timer    User manual Revision 2 3 03 Jun 2015    CFR0012 00 Rev 2 42 of 44    2015 Dialog Semiconductor       dialog    SEMICONDUCTOR    UM B 025  DA14580 581 583 Bluetooth Smart development kit     Basic    8 Web Links    e Support Dialog Semiconductors e g  datasheets and software   http   support dialog semiconductor com resources tools    e SmartBond DA14580   http   www dialog semiconductor com products bluetooth smart smartbond da14580  e datasheet DA14580   http   support dialog semiconductor com    e SmartBond Reference Designs  http   www dialog semiconductor com products bluetooth smart smartbond reference designs    9 Revision history    1 0 30 10 2014 Initial version for DA14580 and DA14581   2 0 05 11 2014 Merged DA14580 documentation with the DA14581 documentation     2 1 13 01 2015 Minor text changes and schematic updates   2 2 01 May 2015 Updated for SDK 3 0 8  2 3  3 Jun_2015 Updated for SDK 3 0 10 and adding DA14583 drawings       User manual Revision 2 3 03 Jun 2015    CFR0012 00 Rev 2 43 of 44 O 2015 Dialog Semiconductor       dialog    SEMICONDUCTOR    UM B 025  DA14580 581 583 Bluetooth Smart development kit     Basic    Status definitions    ECS    DRAFT The content of this
27. est  void       int 1 0      Select function of the port P1 0 to pilot the LED  printe string  nvnir     EE SES er 1  printf string    BLINKY DEMO   n r     NN    while 1       User manual Revision 2 3 03 Jun 2015    CFR0012 00 Rev 2 40 of 44 O 2015 Dialog Semiconductor             dial  UM B 025 SIGI  DA14580 581 583 Bluetooth Smart development kit     Basic    i      if  LED OFF THRESHOLD   i     GPIO SetActive  LED PORT  LED PIN    printf string   n     LED ON            if  LED ON THRESHOLD   i     GPIO SetInactive  LED PORT  LED PIN      printf string    n r LED OFF  Tt    if  i  2 LED ON THRESHOLD       1 0            User manual Revision 2 3 03 Jun 2015  CFRO0012 00 Rev 2 41 of 44       2015 Dialog Semiconductor    mon  dialog    DA14580 581 583 Bluetooth Smart development kit     Basic    Appendix H Latency Timer of FTDI cable   If an external FTDI cable is used to burn the OTP  or to download the image into the external  memory   the Latency Timer of the FTDI cable has to be changed from 15ms to  lt 10ms    To change the Latency Timer    Device Manager     COM port     Right click on the COM port chosen     Properties     Port Settings      Advanced     Latency Timer  set it  lt 10ms     Advanced Settings for COM9    COM Prt number     USB Transfer Sizes  Select lower settings to correct performance problems at low baud rates     i        d  G    Select higher settings for faster performance     Receive  Bytes   4096 e  Taran te     Select lower settings to correct r
28. hat  you are using     Select All   Select None      4 3 FTDI driver    The Development Kit uses the  D2xx driver     For Windows  this driver is part of    the Combined Driver Model  CDM  USB Drivers        User manual Revision 2 3 03 Jun 2015    CFR0012 00 Rev 2 24 of 44    2015 Dialog Semiconductor    UM B 025             driver  http   www  ftdichip com Drivers D2XX htm    dialog    SEMICONDUCTOR    DA14580 581 583 Bluetooth Smart development kit     Basic     It is recommended that the latest driver Installation Guide    available from the FTDI page is used   http   www  ftdichip com Support Documents InstallG  uides htm   Latency Timer  see Appendix H    4 4 Tera Term    Download and install Tera Term on Tera Term   your PC  http   en sourceforge jp projects ttssh2 releases        User manual Revision 2 3 03 Jun 2015    CFR0012 00 Rev 2 25 of 44    2015 Dialog Semiconductor    mom  dialog    DA14580 581 583 Bluetooth Smart development kit     Basic    5 Quick start  Downloading software    The DEVKT  Basic is equipped with  on the chip  SRAM  42k  and OTP  32k   Mounted on the board  is external SPI flash memory  2Mbit      POWER  amp   CLOCK  MGNT  UNIT    l BLUETOOTH SMART RADIO  BASEBAND TRANSCEIVER             i       Figure 20  Block diagram with different memory locations    Software can be downloaded to   e SRAM  o Keil IDE  o SmartSnippets  o Command Line Interface  CLI     o Connection Manager    o SmartSnippets  o CLI  e SPI  flash   o SmartSnippets  o CLI  Ex
29. iconductor        dialog    UM B 025  DA14580 581 583 Bluetooth Smart development kit     Basic    Appendix A Layout DA14580 581                                  J2 Tag  connect  N SG  4 e Vu BH  e x x   GND2    RE ar     a    KZer chte  wa  EE   i LT   Nits  de e STT    sm  P ESCH    d  i  KSE yeo  Be a x L ai Be Ell 0       C    ar th Bie T K   4    ear    EE    E       RTP      i DA14580 or  Led DI G   pi met    ov mel   DA14581    EE   Li e 1203   GND1 f    Led D5         ied D    ee S SEE US memory   n T a n   J8 Flash 2Mbit I   28p   14 16  sq   OTP programming   LLL header S  voltage enable    Figure 23  A general overview of the DA14581 development board  Appendix B Connections of J10 and J11  QFN48 J10 JE  QFN 40 SONG  GOD  QFN48 J11 30006  Figure 24  DA14580 581 Connection diagram of J10 and J11  Note 1 The QFN48 package is not available for the DA14581   User manual Revision 2 3 03 Jun 2015    CFR0012 00 Rev 2 36 of 44 O 2015 Dialog Semiconductor    mom  dialog    DA14580 581 583 Bluetooth Smart development kit     Basic    Appendix C Layout DA14583       Led 9   RESET  pre   88  at  7 aaea SM  me  connect Se   fo eyo OO  D GND2  Li i it ooo i jle EN gle   oT  O segger cons ta      Se d VILT  amt M  NG      EE i DNK Ke Pi 3 Wi   USB   Pi Uu   KG PO 2    en    N po 4   DA14583    Peder PE PO 6  Led DI TT PO 7  W   d PO 3       L  i JE PO 0     GND1  ep L BATS  ebe TMS  SE  amp  1285 02 A J      Led D5  a  gt  ve  Led D4        Bo     28p 4    OTP programming     hea
30. nnnn 36  Figure 25     general overview of the DA14583 development board    sese 37  Figure 26  DA14583 Connection diagram of J10 Us  37  Figure 27  Open the CLI of SmartSnippets iii 38  Figure 28  SmMarSnipDelS OULD U E 38  Foure 29  POMEAICNCY  Kn EE 42  Tables  Table 1  Content of the DEVKT     Basic Kit     5  ENER 7  A E E A E E E A 9  TOLEA DATI EE 9  EDG NNN 10  pe oes  Ke de LE 11  Table 7  Installation tools and drivers    ss 23  Table 8  Way of Working  WoW  loading    Blinky code    27  Table 9  Run an example on DA14580 581 583      rrrnnnrnnnrnrvnrnnnnrnvvnrnnnnnnevnnnnnnnrennrnnnnnsennnnnnnnsennnnnnnnnnnn 29  User manual Revision 2 3 03 Jun 2015    CFR0012 00 Rev 2 3 of 44 O 2015 Dialog Semiconductor          d      SEMICONDUCTOR g    UM B 025  DA14580 581 583 Bluetooth Smart development kit     Basic    1 Terms and definitions    BLE Bluetooth Low Energy   CS Chip Select   DK Development Kit   EEPROM Electrically Erasable Programmable Memory  FTDI Brand name of USB     UART interface   GPIO General Purpose Input Output   OTP One Time Programmable   PCB printed circuit board   QFN Quad Flat No leads   SDK Software Development Kit   SPI Serial Peripheral Interface   SRAM Static Random Access Memory   SWD Serial Wire Debug   USB Universal Serial Bus   UART Universal Asynchronous Receiver Transceiver  WLCSP Wafer Level Chip Scale Packaging   WoW Way of Working   2 References   1  DA14580  Datasheet  Dialog Semiconductor   2  DA14581  Datasheet  Dialog Semiconductor
31. og    SEMICONDUCTOR    UM B 025  DA14580 581 583 Bluetooth Smart development kit     Basic    3 3 DA14580     DA14581 basic kit    3 3 1 Differences between the DA14580 580 583    The motherboard of the DEVKT     Pro will not change  Only the daughters of the DA14580 581 583  are different     Table 3  DA14580    ES WW we    WL CSP34  QFN40    QFN48    General  Purpose    12  24  ROM    84kBytes  OTP   32kBytes  RAM   50kBytes    Table 4  DA14581    KE    men      WL CSP34    QFN40    User manual    CFR0012 00 Rev 2    General  Purpose    ROM  84kBytes  OTP  32kBytes  RAM  50kBytes    2 5x2 5x0 5mm   pitch 0 4mm  5x5x0 9mm   pitch 0 4mm    6x6x0 9mm   pitch 0 4mm    Package    2 5x2 5x0 5mm   pitch 0 4mm    5x5x0 9mm   pitch 0 4mm    Revision 2 3    9 of 44    Key Features    Bluetooth 4 0    4 1    Cortex MO  application  processor    Power supply  0 9   3 3V    Single pin RF  I O    Rich set of  analog and  digital   peripherals    Key Features    Bluetooth 4 0   4 1    Cortex MO  application  processor    Power supply  0 9   3 3V    Single pin RF  I O    Rich set of  analog and  digital  peripherals   8 connections  Optimized  boot time       Applications    Beacon  amp   Proximity  Health  amp   Fitness  HID    Smart Home    Applications    Wireless   charging    A4WP   HCI    03 Jun 2015       2015 Dialog Semiconductor    UM B 025       DA14580 581 583 Bluetooth Smart development kit     Basic    Table 5  DA14583  General  Memory size   Purpose  NO s    Flash  1 Mbit   1
32. ommand window here                         igenge       Oper Inchude un bbtary    rare wth v New folder    Uf Frvontes  BE Desktop i bin     Downloads re Open    Open m new process       Recent Places        0 pen on NEW wINdow    Gut Rach    Figure 27  Open the CLI of SmartSnippets    Finally  in order to write a value 0x1347  example of a Bluetooth device address  at the address 0x93  for instance  the following command line can be written     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     SWD DP with ID WxMEH11477  it  4 code CHP  slots and   literal lots  Found Cortex  rip  Little endian   BILE device DAIL4580 selected     Using default GPIO pin Id  P1 2    File c Nusers olagnieu snartenippets ressources jtag_progranmmer bin could not been found   Using default baudrate  57600 Hd    Burned 2 bytes to address 8x 8H93        Figure 28  SmartSnippets output    User manual Revision 2 3 03 Jun 2015    CFR0012 00 Rev 2 38 of 44 O 2015 Dialog Semiconductor    mom  dialog    DA14580 581 583 Bluetooth Smart development kit     Basic  Appendix F Issues with opening a project for the first time    F 1 Issue description     When a user is working on a Keil uVision project  it can happen that some entries are be missing in  the  uvopt file  If this happens  then when the user clicks on the button  settings   options debug tag    with the J LIN
33. oth Smart development kit     Basic    KA Options for Target    Cortex M0 SDK   Simulator          Device   Target   Output   Listing   User   C C    Asm   Linker   Debug   Utiities       Generic CPU Data Base v      Software Pack    Pack   Kei ARMCortex_DFP 0 0 1    URL  http   www keil com pack        Options for Target           Device      EE   screen should look like this  2   ARM Cortex MO kr do Mr eee    ol  0    ARM Cortex MO plus       ARM Cortex M3  0  77 ARM Cortex M4    6 1 4                         LA Options for Target  BLINKY   T Use Memory Layout from Target Dialog    Make RW Sections Position Independent  F Make RO Sections Position Independent  T Dont Search Standard Libraries  IV Report might fail    Conditions as Errors    Scatterfiles   sct  are used for    selecting memory areas  Scatter Lues and gees   Ex     6 1 5    Linker   cpu Cortex M0   o  control 4ibrary_type microlib  strict  scatter    utilities_and_startup  blinky sc     scatter file selection in    Options for Target      Linker Debug   Utilties          Use   J LINK   J TRACE Cortex v  Settings      Make sure    J LINK J  Trace d   N  Cortex    is selected as shown and M Load Application at Startup I   Run to maini    the initialization file field is set Initialization File   pet ae eae TT   Et     DORE Restore Debug Session Settings   Iw Breakpoints M Toolbox   IZ Watch Windows   M Memory Display M System Viewer    6 1 6       User manual Revision 2 3 03 Jun 2015    CFR0012 00 Rev 2 30 of 4
34. plications referred to in this document  Such license must be separately sought by customer with  Dialog Semiconductor     All use of Dialog Semiconductor products  software and applications referred to in this document are subject to Dialog  Semiconductor   s Standard Terms and Conditions of Sale  unless otherwise stated        Dialog Semiconductor  All rights reserved     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 customer portal https   support diasemi com   RoHS  certificates from our suppliers are available on request     Contacting Dialog Semiconductor    United Kingdom  Headquarters  North America Singapore   Dialog Semiconductor PLC Dialog Semiconductor Inc  Dialog Semiconductor Singapore  Phone   44 1793 757700 Phone   1 408 845 8500 Phone   65 64 849929  Germany Japan China   Dialog Semiconductor GmbH Dialog Semiconductor K  K  Dialog Semiconductor China  Phone   49 7021 805 0 Phone   81 3 5425 4567 Phone   86 21 5178 2561  The Netherlands Taiwan Korea   Dialog Semiconductor B V  Dialog Semiconductor Taiwan Dialog Semiconductor Korea  Phone   31 73 640 8822 Phone   886 281 786 222 Phone   82 2 3469 8291  Email  Web site    enquiry diasemi com www dialog semiconductor com    User manual Revision 2 3 03 Jun 2015    CFR0012 00 Rev 2 44 of 44 
35. puls    puls    puls    puls   xpuls sl       Revision 2 3 03 Jun 2015       CFR0012 00 Rev 2    28 of 44    2015 Dialog Semiconductor    dialog    SEMICONDUCTOR    UM B 025       DA14580 581 583 Bluetooth Smart development kit     Basic    6 Using the demo kit    Follow these steps shown in Table 9 to easily create a working demo kit     Table 9  Run an example on DA14580 581 583    6 1 Run an example on the DA14580 581 583    After you download the SDK at WW include  www dialog  di misc  semiconductor com support d Out   The source code example can be di src   found in the example directory p      called    peripheral_examples         DA14580_peripheral_setup uvopt  Double click    amp  DA14580_peripheral_setup uvproj  580 peripheral setup uvproj     DA14580 penpheral setup uvopt bak    1580 peripheral setup uvproj ba  C  JLinkLog bt    H  JLinkSettings ini    H  Sysram ini          7 Geen BLEDA14580 SOK perchere etample DA 14500 serphelll element wants   zm mg mms cher G   De fo pen poet Myn pepa  open Teen TES Window pep  GAGs LT IRA RIRE RIR sme sale  oer    Oa          The development environment  should look like this when the  project is opened with Keil           t Flash Debug Peripherals Tools Si    Click on the    Target Options    S a   m  button      or   W D D    AD    HL    Full emb cortex MO       User manual Revision 2 3 03 Jun 2015    CFR0012 00 Rev 2 29 of 44 O 2015 Dialog Semiconductor             dialog    SEMICONDUCTOR    UM B 025  DA14580 581 583 Blueto
36. sic DER             S   Peck Installer     amp  Install      Cortex Microcontroller Software Interface Standard  CMSIS  CORE  DSP  RTOS  Driver       Infineon XMC1000 Series Device Support       E Install      Infineon XMC4000 Series Device Support       ARM Cortex M Profile Device Support Template  Energy Micro EFM32 Giant Gecko Series Device Support  Drivers and Examples          ae    Install      Energy Micro EFM32 Gecko Series Device Support       E Install      Energy Micro EFM32 Leopard Gecko Series Device Support       E Install      Energy Micro EFM32 Tiny Gecko Series Device Support        lt  gt  Install      Energy Micro EFM32 Wonder Gecko Series Device Support        lt  gt  Install      Energy Micro EFM32 Zero Gecko Series Device Support  Drivers and Examples       E Install      Spansion FMO  Series Device Support           amp  Install         Spansion FM3 Basic Series Device Support          File Packs Window Help  ai Deg       Beck Action     ARM CMSIS  Infineon  XMC1000_0FP  Infinecre XMC8000 DFP     KeikARMCostex DEP  Keit EFMI2GG oa DES  Keit EFM32Gece DER  Keit EFMSZLGo0  DFP  Kei  EFM32T Goo  DER  Keit EFNIZWGaoo  DFP       KeikEFMGZZ Goo DER  Keit FMOplus_DFP  Keit FM3Banc DEP    Description     amp  intal l Infineon XMC1000 Series Device Support    amp  Install   Infineon XMC4000 Series Device Support   L Voto dete   ARM Cortex M Profile Device Support Template   dg Install l Energy Micro EFM32 Giant Gecko Series Device Support  Dri    Install   Energ
37. tor    UM B 025       dialog    SEMICONDUCTOR       DA14580 581 583 Bluetooth Smart development kit     Basic    Add 4 jumpers  as    shown in the photo of    5 1 1     Start Keil IDE  software and load     Blinky    example  code  Via this Blinky   code the LED on the  board starts blinking   Also added in this  code  is the UART  sending a text string     See 0    In file      periph setup h  default PO 4 Tx and  P0 5 Rx are used as  UART 1O ports     Compile and Debug  the software     The blinking led D7 is    visible and the  TeraTerm screen is  showing    popping up     lines    Choose the right  com port via the  Device Manager of  your PC     User manual    f         Jumpers  J5  1 2     POWER      left side   J9    LED      J4  11 12  PO 4 gt T RxD    J4  13 14  PO 5  lt T TxD       TMS      J4  25 26   T TMS  lt  gt  SWDIO    and     TCK   J4  27 28  T TCK  gt  SW CLK     X XKX XKX XXX KK X K K K K X K K K X K K K K X K K K X K X K K X X X X X K K X K K X K X K K K X K K X K K K K K X K X X K K K K K K K K K X X K K X K KX K X X K X X X    t eee            He eH        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  All Rights Reserved      lt bluetooth support diasemi com gt  and contri
38. used  SPI EN is occupied for internal use  Another pin should  be chosen for SPI EN of the external component     By using a Secondary Bootloader the proper pins are programmed to load the booting software from  the SPl memory at startup     User manual Revision 2 3 03 Jun 2015    CFR0012 00 Rev 2 11 of 44    2015 Dialog Semiconductor             dialog    SEMICONDUCTOR    UM B 025  DA14580 581 583 Bluetooth Smart development kit     Basic    3 4 1 PCB design and functionalities    INT BAT  Nell WC 1    T3 O  TPS O  T4 O    dur ing OTP  228 01 A  DAL4581DEVKT B       Figure 3  Components on PCB top layer of the DA14580 581Basic kit    The different components and functionalities are shown in Figure 4   A larger picture is shown in Appendix A    EE      DA14580      or DA14581         EE   J8  US memory   EE EE   OTP Garg   Flash 2Mbit     x 28p JANG     Ja  be      Lancpssssessmessumcssess    Figure 4  Topview of PCB DA14580 581 with components and functionalities    User manual Revision 2 3 03 Jun 2015    CFR0012 00 Rev 2 12 of 44    2015 Dialog Semiconductor    UM B 025    dialo Og    DA14580 581 583 Bluetooth Smart development kit     Basic    The top screen layer of the DA14583 Basic Kit PCB is shown in Figure 5     J Link Technology INT BAT  ann gger Cat J       DA14583DEVKT B    S   alaa T         OTP programming     header      voltage enable      Figure 6  Topview of PCB DA14583 with components and functionalities    User manual Revision 2 3 03 Jun 2015    CFR0012 00 
39. uvopt file and close the text editor    Open the Keil project in uVision    Click on Project gt  Options for Project XXX     On the    Debug    Tab  select J Link   JJ TRACE Cortex debugger and click on the    Settings      button for the debugger  not the simulator   This is the instance where the crash would   happen    9  The    Cortex JLink JTrace Target Driver Setup    Dialog opens  Select your debugger as  normal    10  Close the dialog windows clicking ok    11  Now  normal operation of j link debugger is resumed  After you have finished your work    close the Keil uVision IDE to allow for updates to the  uvopt file to be saved     No     User manual Revision 2 3 03 Jun 2015    CFR0012 00 Rev 2 39 of 44 O 2015 Dialog Semiconductor    dialo    SEMICONDUCTOR             UM B 025  DA14580 581 583 Bluetooth Smart development kit     Basic    Appendix G    Blinky    Test software     XX  KAKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKK  LS       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  All Rights Reserved                  lt bluetooth support diasemi com gt  and contributors   KEKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKK KKK KKK KK KKK KKK 
40. vision 2 3 03 Jun 2015    CFR0012 00 Rev 2 7 0f 44 O 2015 Dialog Semiconductor          d      SEMICONDUCTOR g    o dk appslkeil projects prod test  This folder includes the source code of the production  test firmware  Refer to UM B 008 DA14580 581 583 Production test tool pdf for more  information how to build and use it     UM B 025  DA14580 581 583 Bluetooth Smart development kit     Basic    e host apps  This folder holds the DA14580 581 583 PC applications    o host_apps windows proximity  This folder includes two Windows C applications  with each  one acting as part of a proximity monitor and a proximity reporter application  They are  placed in subfolders monitor and reporter respectively  For details  please read the DA14580  Proximity Application Guide    o host_binaries 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    o peripheral examples  This folder includes sample code of how to use the peripheral blocks  of the DA14580  e g  UART  SPI  12C etc   bundled to a demo kit  For details  please refer to   9      e tools     o tools prod_test prod_test_cmds  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     User manual Revision 2 3 03 Jun 2015    CFR0012 00 Rev 2 8 of 44 O 2015 Dialog Semiconductor             dial
41. y Micro EFM32 Gecko Series Device Support A LENT Cortes BA  Z hast  Energy Micro EFM32 Leopard Gecko Series Device Support   amp  Install   Energy Micro EFM32 Tiny Gecko Series Device Support    amp  Install   Energy Micro EFM32 Wonder Gecko Seres Device Support    Install   Energy Micro EFM32 Zero Gecko Series Device Support  Driv   amp  Install   Spansion FMD  Series Device Support    EAS ARM CMSDK devices     9S ARM Cortex MO Dew  H MO p Dev 6        ARM Cortex M3   Y    ARM Cortex M4   PAS ARM  C000    4    ARM SC       Atmel         Install   Spansion FM3 Basic Series Device Support         Energy Micro    User manual Revision 2 3 03 Jun 2015    CFR0012 00 Rev 2 23 of 44    2015 Dialog Semiconductor    dialo    SEMICONDUCTOR             UM B 025  DA14580 581 583 Bluetooth Smart development kit     Basic    4 2 SEGGER Jlink driver    FT J Link software  amp  documentation pack for Windows  Download and install the Jlink i FREE ET BE     Installing the software will automatically install the J Link USB drivers  t als  software  amp  documentation pack for software can be installed on the same PC without problems  they will co e     Windows  The package contains   Please note that your SEGGER Jlink  serial number is required for  downloading     Use sticker number on backside of  board     GDB Server   Support for GDB and other debuggers using the san  J Link Configurator   Free utility to manage    various number of J L  J Link Commander   Simple command line utility  prim
42. y Reporter  External processor  prox reporter ext 581 uvproj configuration   prox reporter ext 583 uvproj  prox reporter extiKeil 5 prox reporter ext uvprojx  prox reporter ext 581 uvprojx  prox reporter ext 583 uvprojx  prox_reporter Keil_ 4 prox reporter uvproj Proximity Reporter  Integrated  prox reporter 581 uvproj processor configuration   prox reporter 583 uvpro   prox_reporter Keil_ 5 prox reporter uvprojx  prox reporter 581 uvprojx  prox reporter 583 uvprojx    prox monitor ext usblKeil 4   prox monitor ext usb uvpro  Proximity Monitor  External processor    prox monitor ext usb 581 uvproj   configuration    prox monitor ext usb 583 uvproj   Version for USB dongle  prox monitor ext usbl Keil 5   prox monitor ext usb uvprojx   prox monitor ext usb 581 uvprojx   prox monitor ext usb 583 uvprojx    prox reporter _ext_usb Keil_ 4   prox reporter ext usb uvproj Proximity Reporter  External processor  prox reporter evt usb 581 uvproj   configuration   prox reporter ext usb 583 uvproj Version for USB dongle   prox reporter ext usbiKeil 5   prox reporter ext usb uvprojx    prox reporter ext usb  _581 uvprojx    prox_reporter_ext_usb  _583 uvprojx  prox_reporter_ext_spi Keil_4   prox reporter ext spi uvpro  Proximity Reporter  External processor   prox reporter evt spi 581 uvproj   SPI version  prox reporter ext spi 583 uvpro   prox reporter ext spilkeil 5   prox reporter ext spi uvprojx  prox reporter ext spi 581 uvprojx  prox reporter ext spi 583 uvprojx       User manual Re
    
Download Pdf Manuals
 
 
    
Related Search
    
Related Contents
  東 近 江 行 政 組 合 消 防 本 部    Notice Installateur et utilisateur    StarTech.com High-definition PCIe capture card – HDMI VGA DVI & component – 1080P at 60 FPS  Bedienungsanleitung  Operator`s Manual ICRRFTSMR 14 in. ABRASIVE    Bedienungsanleitung_eycos_e_8010_crci    Copyright © All rights reserved. 
   Failed to retrieve file