Dialog Semiconductor DA1468 Series User Manual

Getting started with the development kit
Hide thumbs Also See for DA1468 Series:
Table of Contents

Advertisement

Quick Links

User Manual
DA1468x Getting Started with the
Development Kit
UM-B-047

Abstract

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

Advertisement

Table of Contents

Troubleshooting

loading
Need help?

Need help?

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

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for Dialog Semiconductor DA1468 Series

  • Page 1: Abstract

    User Manual DA1468x Getting Started with the Development Kit UM-B-047 Abstract This guide is intended to help customers setup the hardware development environment, install required software and download and run an example application on the DA1468x development platform.
  • Page 2: Table Of Contents

    Build the project to run from RAM ............... 30 8.3.2 Build the project to run from QSPI Flash ............. 31 Running the project in the Debugger .................. 33 Troubleshooting ........................34 Revision history ..........................35 User Manual Version 7.0 23-Jul-2018 © 2018 Dialog Semiconductor CFR0012 2 of 36...
  • Page 3: Figures

    Code 1: The main task in SysInit() the prvTemplateTask() ..............27 Code 2: Set function for GPIO ......................28 Code 3: The main routine inside the prvTemplateTask() ..............28 User Manual Version 7.0 23-Jul-2018 © 2018 Dialog Semiconductor CFR0012 3 of 36...
  • Page 4: Terms And Definitions

    UM-B-044-DA1468x Software Platform Reference, User manual, Dialog Semiconductor UM-B-060-DA1468x_DA1510x Development kit – Pro, User manual, Dialog Semiconductor UM-B-083 SmartSnippets Toolbox, User manual, Dialog Semiconductor AN-B-046 DA1468x Booting from serial interfaces, Application Note, Dialog Semiconductor UM-B-094 DA14683 USB Kit, User manual, Dialog Semiconductor Prerequisites ●...
  • Page 5: Introduction

    Blinky application. Section Note 1 If you are using the DA14683 USB Kit, please consult for usage instructions and limitations that may apply User Manual Version 7.0 23-Jul-2018 © 2018 Dialog Semiconductor CFR0012 5 of 36...
  • Page 6: Da1468X - The Hardware

    These daughter boards allow evaluation of the two different package options for the DA1468x devices. The daughter-boards each have a switch to select the power supply for the device: User Manual Version 7.0 23-Jul-2018 © 2018 Dialog Semiconductor CFR0012 6 of 36...
  • Page 7: Connecting The Prodk To The Host Pc

    VBAT position to select USB from motherboard. Additional information on the exact capabilities of each daughterboard can be found in [5]. Figure 3: USB2 (DBG) connector User Manual Version 7.0 23-Jul-2018 © 2018 Dialog Semiconductor CFR0012 7 of 36...
  • Page 8: Da1468X - Software Installation

    COM4 and COM5. The COM port number can be found in Device Manager (Control Panel > Device Manager > Ports (COM & LPT)) as shown in Figure User Manual Version 7.0 23-Jul-2018 © 2018 Dialog Semiconductor CFR0012 8 of 36...
  • Page 9: Linux

    /dev/ttyUSB0. If there are more devices with the name ttyUSBx, note which ones showed up when the ProDK was connected and use the lower number of the two devices. Figure 6: Ports assigned to ProDK User Manual Version 7.0 23-Jul-2018 © 2018 Dialog Semiconductor CFR0012 9 of 36...
  • Page 10: Com Port Usage

    The sequence is generated by the Bootloader and corresponds to an ASCII string with the chip version. User Manual Version 7.0 23-Jul-2018 © 2018 Dialog Semiconductor CFR0012 10 of 36...
  • Page 11: Figure 7: K2 Reset Button In Prodk

    To verify the chip version user can select ASCII display option. After pushing and releasing the K2 Note 4 reset button the chip version is printed four times, as shown in Figure 9. User Manual Version 7.0 23-Jul-2018 © 2018 Dialog Semiconductor CFR0012 11 of 36...
  • Page 12: Linux Host

    Troubleshooting If there any problems with the ProDK connection to PC some possible solutions might be: ● Make sure that the Host PC is connected to Internet User Manual Version 7.0 23-Jul-2018 © 2018 Dialog Semiconductor CFR0012 12 of 36...
  • Page 13 ● Connect the two elements using a different USB port on the host PC If none of these actions resolved the issue, please contact Dialog Software Forum. User Manual Version 7.0 23-Jul-2018 © 2018 Dialog Semiconductor CFR0012 13 of 36...
  • Page 14: Software Development Tools

    (.msi). Several of the required tools will automatically install and others need to be manually downloaded and installed. ● Install the recommended version of SEGGER J-Link GDB server. Figure 11: Automatically install J-Link User Manual Version 7.0 23-Jul-2018 © 2018 Dialog Semiconductor CFR0012 14 of 36...
  • Page 15: Figure 12: Select Smart Snippets Studio Install Directory

    SmartSnippets to them Figure 13: Tools that require manual installation ● Tick the download and install radio button and then press Download button for SEGGER Ozone tool User Manual Version 7.0 23-Jul-2018 © 2018 Dialog Semiconductor CFR0012 15 of 36...
  • Page 16: Figure 14: Start Ozone Download

    Figure 15: Automatic Ozone download failed ● Using a browser download the latest version from https://www.segger.com/downloads/jlink/#Ozone which at the point of writing was 2.52a and run the installer. User Manual Version 7.0 23-Jul-2018 © 2018 Dialog Semiconductor CFR0012 16 of 36...
  • Page 17: Figure 16: Segger Ozone Download Page

    The next stage is to set the J-Link installation directory. This software is installed as part of Ozone install and so it is only necessary to set the directory which should be C:\Program Files (x86)\SEGGER\JLink_V512f. User Manual Version 7.0 23-Jul-2018 © 2018 Dialog Semiconductor CFR0012 17 of 36...
  • Page 18: Figure 18: Set J-Link Installation Directory

    Figure 19: SystemView Download fails ● Using a browser download the latest SystemView installer from https://www.segger.com/downloads/jlink/#SystemView . The latest version at the time of writing was v2.52a. User Manual Version 7.0 23-Jul-2018 © 2018 Dialog Semiconductor CFR0012 18 of 36...
  • Page 19: Figure 20: Download Systemview Installer

    Run the installer which will install SystemView to C:\Program Files (x86)\SEGGER\SystemView_V252a. Use Browse button to set this directory and then press Finish. Figure 21: Set SystemView installation directory ● SmartSnippetsTM Studio is now installed. User Manual Version 7.0 23-Jul-2018 © 2018 Dialog Semiconductor CFR0012 19 of 36...
  • Page 20: Linux

    Several of the required tools will automatically install and others need to be manually downloaded and installed. ● Install the recommended version of SEGGER J-Link GDB server. Figure 22: Automatically install J-Link ● Select the destination folder for the SmartSnippetsTM Studio. User Manual Version 7.0 23-Jul-2018 © 2018 Dialog Semiconductor CFR0012 20 of 36...
  • Page 21: Figure 23: Select Smart Snippets Studio Install Directory

    SmartSnippets to them Figure 24: Tools that require manual installation ● Tick the download and install radio button and then press Download button for SEGGER Ozone tool User Manual Version 7.0 23-Jul-2018 © 2018 Dialog Semiconductor CFR0012 21 of 36...
  • Page 22: Figure 25: Start Ozone Download

    The download will fail and so click on the link to manually download Ozone Figure 26: Automatic Ozone download failed ● Using a browser download the latest version of the appropriate package for the Linux distribution in use from https://www.segger.com/downloads/jlink/#Ozone User Manual Version 7.0 23-Jul-2018 © 2018 Dialog Semiconductor CFR0012 22 of 36...
  • Page 23: Figure 27: Segger Ozone Download Page

    ~/Downloads$ sudo apt install ./ozone_2.52.1_x86_64.deb ● This will install the tool to /opt/SEGGER/ozone/2.52.1. Use the Browse button to find this folder and then press Next. Figure 28: Set Ozone installation directory User Manual Version 7.0 23-Jul-2018 © 2018 Dialog Semiconductor CFR0012 23 of 36...
  • Page 24: Figure 29: Set J-Link Installation Directory

    The latest version at the time of writing was v2.52a. Figure 30: Download SystemView installer ● For an Ubuntu 16.04 installation install the .deb package as follows. ~/Downloads$ sudo apt install ./systemview_2.52.1_x86_64.deb User Manual Version 7.0 23-Jul-2018 © 2018 Dialog Semiconductor CFR0012 24 of 36...
  • Page 25: Extracting And Using The Sdk

    Figure 32. This shows a Windows filesystem, the principle is the same for a Linux filesystem. Figure 32: Extract SDK to Workspace (on Windows) User Manual Version 7.0 23-Jul-2018 © 2018 Dialog Semiconductor CFR0012 25 of 36...
  • Page 26: Starting Smartsnippetstm Studio

    Digital Multi Meter (DMM). The tool provides full visibility on the chip activity, which is crucial in the developing of ultra-low power wireless applications. User Manual Version 7.0 23-Jul-2018 © 2018 Dialog Semiconductor CFR0012 26 of 36...
  • Page 27: Your First Da1468X Application - Blinky

    DA1468x SDK – once up and running - interacts The software as provided in the SmartSnippetsTM with a host PC and sends the character ‘#’ via the serial UART interface every 1sec. This can be User Manual Version 7.0 23-Jul-2018 © 2018 Dialog Semiconductor CFR0012 27 of 36...
  • Page 28: Software Build

    1. In the SmartSnippetsTM Studio welcome page click on the IDE icon from the Tools tab as shown Figure User Manual Version 7.0 23-Jul-2018 © 2018 Dialog Semiconductor CFR0012 28 of 36...
  • Page 29: Figure 34: Smartsnippetstm Studio Welcome Page

    6. Extend periph_init() function inside main.c to set the function for the pin driving the external GPIO by adding Code 2 as described in detail in 8.2. User Manual Version 7.0 23-Jul-2018 © 2018 Dialog Semiconductor CFR0012 29 of 36...
  • Page 30: Build The Project To Run From Ram

    37. As this is a RAM build the debugger will download the binary file via J-Link debugger into the system RAM. To enable this the system RAM is mapped to address 0 by the debugger. User Manual Version 7.0 23-Jul-2018 © 2018 Dialog Semiconductor CFR0012 30 of 36...
  • Page 31: Build The Project To Run From Qspi Flash

    The next step is to write the binary file to QSPI Flash. This is done using a script selected using the the script program_qspi_jtag_win is used to External Tool Configurations button. In Figure 39 program the QSPI Flash memory. Alternatively, use Run > External Tools > program_qspi_jtag_win. User Manual Version 7.0 23-Jul-2018 © 2018 Dialog Semiconductor CFR0012 31 of 36...
  • Page 32: Figure 39: Write Blinky To Qspi Flash

    40. This will start the debug perspective in Eclipse and load the symbols for the current project into the debugger. Figure 40: Start Debug in QSPI mode User Manual Version 7.0 23-Jul-2018 © 2018 Dialog Semiconductor CFR0012 32 of 36...
  • Page 33: Running The Project In The Debugger

    3. Correct functionality of the built and downloaded Blinky project can be checked by watching the Orange LED D2 on the ProDK board (Figure 33). It should now blink with a frequency of around 2Hz. User Manual Version 7.0 23-Jul-2018 © 2018 Dialog Semiconductor CFR0012 33 of 36...
  • Page 34: Troubleshooting

    ProDK board please check the LED does not blink details. Make also sure that dg_configBLACK_ORCA_MB_REV is set to the correct chip revision and the ProDK version during built. .(Located in <sdk_root_directory>/bsp/config/bsp_definitions.h) User Manual Version 7.0 23-Jul-2018 © 2018 Dialog Semiconductor CFR0012 34 of 36...
  • Page 35: Revision History

    Update for SmartSnippets DA168x SDK Release 1.0.10 01-Nov-2017 Update for SmartSnippets DA168x SDK Release 1.0.10 14-Dec-2017 Update for SmartSnippets DA168x SDK Release 1.0.12 23-Jul-2018 Update for SmartSnippets DA168x SDK Release 1.0.14 User Manual Version 7.0 23-Jul-2018 © 2018 Dialog Semiconductor CFR0012 35 of 36...
  • Page 36 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.

Table of Contents