background image

 

 

 

 

 

  

 

 

 

 

 

 

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. 

 

Summary of Contents for DA1468 series

Page 1: ...d 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 o...

Page 2: ...nstallation 8 6 3 1 Microsoft Windows 8 6 3 2 Linux 9 6 3 3 COM port usage 10 6 4 Configuring the serial port for UART1 10 6 4 1 Windows Host 10 6 4 2 Linux Host 12 6 5 Troubleshooting 12 7 Software D...

Page 3: ...e 20 Download SystemView installer 19 Figure 21 Set SystemView installation directory 19 Figure 22 Automatically install J Link 20 Figure 23 Select Smart Snippets Studio install directory 21 Figure 24...

Page 4: ...mitter USB Universal Serial Bus 2 References 1 DA14680 Datasheet Dialog Semiconductor 2 UM B 057 SmartSnippets_Studio_user_guide User manual Dialog Semiconductor 3 UM B 056 DA1468x Software Developer...

Page 5: ...Kit The ProDK Development Kit SmartSnippetsTM Studio which can be installed on Windows or Linux hosts Windows users should download and install terminal software such as RealTerm Putty or Teraterm The...

Page 6: ...h the ability to take precise power measurements by isolating the DA1468x device Full digital connectivity with external hardware using UART SPI I2C quadrature encoder or GPIOs USB based debugging cap...

Page 7: ...to the host PC The ProDK Development Kit allows functional verification of the DA1468x family of devices It supports connecting external hardware by exporting DA1468x pins to standard headers and ena...

Page 8: ...nectivity is also highly recommended for proper driver and software installation 6 3 Driver installation 6 3 1 Microsoft Windows On the first connection to a host PC which is running Microsoft Windows...

Page 9: ...Provided that the process has properly finished two additional devices will appear in the dev directory under the names ttyUSB0 and ttyUSB1 as shown in Figure 6 These names might be different in case...

Page 10: ...it is necessary to verify the UART connection between the two nodes To do so execute the following steps 1 Connect the ProDK board to the PC board via USB cable to USB2 DBG as described in Paragraph 5...

Page 11: ...of 36 2018 Dialog Semiconductor Figure 7 K2 RESET button in ProDK Figure 8 Setting port and testing connectivity via RealTerm Note 4 To verify the chip version user can select ASCII display option Aft...

Page 12: ...basic terminal such as putty Connect putty to dev ttyUSB0 at 57600 baud and press K2 Reset There should be an output as shown in Figure 10 which contains ASCII characters with the device name as well...

Page 13: ...12 13 of 36 2018 Dialog Semiconductor Make sure that no old FTDI drivers are installed Check for possible cabling issue by using a different USB cable Connect the two elements using a different USB po...

Page 14: ...TM Documentation The SmartSnippetsTM IDE is enabled by an on board J Link debugger from SEGGER This offers standard debug capabilities such as single stepping setting breakpoints software download and...

Page 15: ...ure 12 Select Smart Snippets Studio install directory The installer will then check if the other required SEGGER tools are installed On a clean PC they will probably not be there and so the next steps...

Page 16: ...log Semiconductor Figure 14 Start Ozone download The download will fail and so click on the link to manually download Ozone Figure 15 Automatic Ozone download failed Using a browser download the lates...

Page 17: ...ill install the tool to C Program Files SEGGER Ozone v2 52a Use the Browse button to find this folder and then press Next Figure 17 Set Ozone installation directory The next stage is to set the J Link...

Page 18: ...18 Set J Link installation directory The final stage is to install SEGGER SystemView The automatic download will fail so it must be done manually Figure 19 SystemView Download fails Using a browser do...

Page 19: ...2018 Dialog Semiconductor 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...

Page 20: ...l For Fedora 25 sudo yum install webkitgtk x86_64 sudo yum install glibc i686 ncurses libs i686 sudo yum install gcc c sudo yum install libncurses so 5 For Ubuntu 16 04 1 install sudo apt get install...

Page 21: ...Studio install directory The installer will then check if other SEGGER tools it needs are installed On a clean PC they will probably not be there and so the next steps are to download install and poin...

Page 22: ...log Semiconductor 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 lates...

Page 23: ...iconductor Figure 27 SEGGER Ozone download page For an Ubuntu 16 04 installation install the deb package as follows Downloads sudo apt install ozone_2 52 1_x86_64 deb This will install the tool to opt...

Page 24: ...s Install Figure 29 Set J Link installation directory The final stage is to install SEGGER SystemView The automatic download will fail so it must be done manually Using a browser download the appropri...

Page 25: ...the workspace directory and the SDK installation directory are the same The configuration process for the SDK is easier if the SDK has already been installed to the workspace folder In the user direc...

Page 26: ...sTM Toolbox is installed with SmartSnippetsTM Studio It is focused on enabling the process of programming flash and optimizing code for optimal power performance by allowing The re programming of the...

Page 27: ...8x device When the clock has been set up properly the main routine creates task SysInit and starts the RTOS scheduler Now the RTOS scheduler is running it will start its first task which is SysInit In...

Page 28: ...ked state until it is time to run again The block time is specified in ticks the constant used convertsticks to ms While in the Blocked state this task will not consume any CPU time vTaskDelayUntil xN...

Page 29: ...ghlighted in the Resources tab reference 1 and navigate to the folder which contains the specific project as shown in Figure 35 3 Figure 35 Project import 4 In the same way import the scripts project...

Page 30: ...s not the normal method of development Build the project with the Build button with the Release RAM configuration DA14681 01 Release RAM as shown in Figure 36 Figure 36 Build Blinky in Release RAM con...

Page 31: ...ode write it to QSPI flash and then run it in the debugger 2 Build the project using the build icon and select a QSPI configuration as shown in Figure 38 3 Figure 38 Build Blinky in Release QSPI confi...

Page 32: ...e the equivalent options are suffixed with _linux rather than _win So use program_qspi_jtag_linux instead Finally start the debugger using Run Debug configurations Smartbond SmartSnippets DA1468x SDK...

Page 33: ...bugger has the symbols for the project loaded it is possible to run project in the debugger 2 Start execution of the Blinky project by selecting Resume inside the Eclipse Run menu or by hitting the pl...

Page 34: ...guration Make sure parameter dg_configBLACK_ORCA_IC_STEP and dg_configBLACK_ORCA_IC_REV are set to the correct chip revision and the ProDK version during built Located in sdk_root_directory bsp config...

Page 35: ...Snippets DA168x SDK Engineering Release 1 0 5 885 3 0 26 Jul 2016 Update for SmartSnippets DA168x SDK Release 1 0 6 968 4 0 07 Dec 2016 Update for SmartSnippets DA168x SDK Release 1 0 8 4 1 09 Dec 201...

Page 36: ...ons 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 respo...

Reviews: