Table of Contents

Advertisement

Quick Links

User Manual
DA16200 DA16600 FreeRTOS
Getting Started Guide
UM-WI-056
Abstract
The DA16200/DA16600 is a highly integrated ultra-low power Wi-Fi system on chip (SoC) that allows
users to develop a complete Wi-Fi solution on a single chip. This document is a DA16200/DA16600
getting started guide intended to help new or existing developers quickly get started using the EVK
and SDK to develop Wi-Fi applications with the DA16200/DA16600 chipset.

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FreeRTOS DA16200 and is the answer not in the manual?

Questions and answers

Summary of Contents for Renesas FreeRTOS DA16200

  • Page 1 User Manual DA16200 DA16600 FreeRTOS Getting Started Guide UM-WI-056 Abstract The DA16200/DA16600 is a highly integrated ultra-low power Wi-Fi system on chip (SoC) that allows users to develop a complete Wi-Fi solution on a single chip. This document is a DA16200/DA16600 getting started guide intended to help new or existing developers quickly get started using the EVK and SDK to develop Wi-Fi applications with the DA16200/DA16600 chipset.
  • Page 2: Table Of Contents

    Programming Firmware Images Using SEGGER J-Link ........53 How to Migrate IDE f rom Eclipse to e studio for Old SDK..........54 Test Procedures .........................55 Introduction.........................55 Ping Test ........................55 6.2.1 Test Setup....................55 User Manual Revision 1.8 Aug. 18, 2023 CFR0012 2 of 106 © 2023 Renesas Electronics...
  • Page 3 B.3.6 Additional Commands ...................95 Appendix C SDK Memory Maps ....................96 Introduction.........................96 SFLASH Memory Map ....................96 C.2.1 DA16200 ......................96 C.2.2 DA16600 ......................97 SRAM Memory Map ....................98 User Manual Revision 1.8 Aug. 18, 2023 CFR0012 3 of 106 © 2023 Renesas Electronics...
  • Page 4 Figure 43: Emergency Mode for Programming Firmware Image ............ 52 Figure 44: Run Jlink Launch......................53 Figure 45: Ping Test Environment ....................55 Figure 46: Throughput Test Environment ..................58 User Manual Revision 1.8 Aug. 18, 2023 CFR0012 4 of 106 © 2023 Renesas Electronics...
  • Page 5 Table 31: Memory Access Commands in MROM................94 Table 32: Download Commands in MROM .................. 94 Table 33: SFLASH Commands in MROM ..................95 Table 34: Secure Commands in MROM ..................95 User Manual Revision 1.8 Aug. 18, 2023 CFR0012 5 of 106 © 2023 Renesas Electronics...
  • Page 6 Table 36: 4 MB SFLASH Map f or DA16200 .................. 96 Table 37: 4 MB SFLASH Map f or DA16600 .................. 97 Table 38: Country Codes ......................102 User Manual Revision 1.8 Aug. 18, 2023 CFR0012 6 of 106 © 2023 Renesas Electronics...
  • Page 7: Terms And Definitions

    UM-B-114, DA14531, Devkit Pro Hardware, User Manual, Renesas Electronics UM-WI-012, DA16200, SPI SFlash Downloader, User Manual, Renesas Electronics UM-WI-003, DA16200 DA16600, Host Interf ace and AT-Command, User Manual, Renesas Electronics UM-WI-038, DA16200 DA16600, Getting Started with AWS-IoT Using AT-Command, User...
  • Page 8: Overview

    For more details on how to use the SDK to develop an application, see the f ollowing documents: ● UM-WI-046 DA16200 DA16600 FreeRTOS SDK Programmer Guide Ref . User Manual Revision 1.8 Aug. 18, 2023 CFR0012 8 of 106 © 2023 Renesas Electronics...
  • Page 9: Evaluation Kits

    CN3 – Jumper to POWER 5V Power Selection from USB or External P7 – GND Pins GND for Test Board Information Board version and manufacturing date User Manual Revision 1.8 Aug. 18, 2023 CFR0012 9 of 106 © 2023 Renesas Electronics...
  • Page 10 To enable this button, set Pin 1 of SW4 to ON and press the button to start WPS mode. SW8, SW9 – UART1/2 UART1/2 selection switch, default LEFT (UART1), see Table selection switch User Manual Revision 1.8 Aug. 18, 2023 CFR0012 10 of 106 © 2023 Renesas Electronics...
  • Page 11: Table 2: Da16200 Evb Switch Description

    P1 jumper must be removed. For more inf ormation on DA16200 EVK Pro, see 6.5.2. For more details on the DA16200 EVB, see the schematic Ref . [9]. User Manual Revision 1.8 Aug. 18, 2023 CFR0012 11 of 106 © 2023 Renesas Electronics...
  • Page 12: Da16600 Evb Ver 6.0

    Switch to control RF switch in DA16600MOD at test mode, default OFF. SPDT J7 & CN7 – JTAG Connector Connector for IARs I-jet JTAG Debugger. User Manual Revision 1.8 Aug. 18, 2023 CFR0012 12 of 106 © 2023 Renesas Electronics...
  • Page 13 Description Note: Pin 7 on the I-Jet debugger cable is keyed with a white plug so pin 7 must be removed from the EVB. DA16600MOD-AACWA32 Renesas Wi-Fi and Bluetooth ® LE Module. J2 – External pin-out J3 – External pin-out P0_6 (Pin #11) should be connected to GPIOA9 (Pin #12) or GPIOA10 (Pin #14) externally for BLE-Wi-Fi COEX.
  • Page 14: Table 4: Da16600 Evb Switch Description

    DA16200 and the DA14531 can be measured simultaneously. For more inf ormation on the DA16600 EVB, see the DA16600 DEVKT Electric Schematic Ref . [10]. User Manual Revision 1.8 Aug. 18, 2023 CFR0012 14 of 106 © 2023 Renesas Electronics...
  • Page 15: Connecting To Evb

    In the terminal emulation program, go to the Serial Port Setup and select the lower number COM port and conf igure it as f ollows: User Manual Revision 1.8 Aug. 18, 2023 CFR0012 15 of 106 © 2023 Renesas Electronics...
  • Page 16: Configuring Da14531 Serial Debug Interface

    To enable the DA14531 debug interf ace, f ollow the settings below f or SW4, SW5, SW6 and SW7. Table 6: Debug Switch Settings Switch Relevant pin Default DA14531 P0_8 Connects FT2232H to P0_8 (UART_RXD) P0_9 Connects FT2232H to P0_9 (UART_TXD) User Manual Revision 1.8 Aug. 18, 2023 CFR0012 16 of 106 © 2023 Renesas Electronics...
  • Page 17: Programming Firmware Images

    When using an EVB f or the f irst time, the f irmware must be updated to the latest version. Prebuilt versions of the f irmware f or DA16200 and DA16600 can be downloaded f rom the Renesas Electronics’ website. Go to the Renesas website (https://www.renesas.com/us/en/products/wireless-...
  • Page 18: Using Uart_Program_Da16200 In Console Terminal

    1. Copy the console program to the f older which has the images f or DA16200/DA166000. 2. Connect the EVB to a laptop using a Micro USB cable. 3. Power ON the DA16200/DA16600 EVB. User Manual Revision 1.8 Aug. 18, 2023 CFR0012 18 of 106 © 2023 Renesas Electronics...
  • Page 19 Selected COM port = COM75 - USB Serial Port (COM75) Entering download mode... Preparing for download... Ready for download. Download file 1: DA16200_FRTOS-GEN01-01-c4ca8087e8-006537.img : 100.00% : 72.76s Done successfully. User Manual Revision 1.8 Aug. 18, 2023 CFR0012 19 of 106 © 2023 Renesas Electronics...
  • Page 20 7. Conf irm logs f rom DA16200/DA16600 f or checking DA16200/DA16600 works properly as f ollows: a. Type uart_program_da16200(.exe) b. Select number in the list of COM port and click Enter c. Type reboot User Manual Revision 1.8 Aug. 18, 2023 CFR0012 20 of 106 © 2023 Renesas Electronics...
  • Page 21 >>> MAC address (sta0) : d4:3d:39:11:34:fc >>> sta0 interface add OK >>> Start STA mode... >>> Hello World #1 ( Non network dependent application ) !!! User Manual Revision 1.8 Aug. 18, 2023 CFR0012 21 of 106 © 2023 Renesas Electronics...
  • Page 22 >>> MAC address (sta0) : d4:3d:39:11:34:fc >>> sta0 interface add OK >>> Start STA mode... >>> Hello World #1 ( Non network dependent application ) !!! User Manual Revision 1.8 Aug. 18, 2023 CFR0012 22 of 106 © 2023 Renesas Electronics...
  • Page 23: Using Macro Script Of Tera Term

    Figure 5. Figure 5: Open Macro File 3. Af ter opening the macro f ile, the FBOOT f irmware image is programmed as shown in Figure User Manual Revision 1.8 Aug. 18, 2023 CFR0012 23 of 106 © 2023 Renesas Electronics...
  • Page 24: Using Multi-Download Tool

    Windows. See the user manual, Ref . f or details. uart_program_da16200(.exe) can be used f or programing the f irmware images to multiple devices by running the program on multiple terminals. User Manual Revision 1.8 Aug. 18, 2023 CFR0012 24 of 106 © 2023 Renesas Electronics...
  • Page 25: Changing Boot Index

    UK US UY UZ VA VC VE VI VN VU WF WS YE YT ZA ZW ALL COUNTRY CODE ? [Quit] (Default KR) : US Enter the country code. SYSMODE(WLAN MODE) ? 1. Station 2. Soft-AP User Manual Revision 1.8 Aug. 18, 2023 CFR0012 25 of 106 © 2023 Renesas Electronics...
  • Page 26 * - SDK Version : V3.2.3.0 GEN * - F/W Version : FRTOS-GEN01-01-6cc84b86f-003714 * - F/W Build Time : Apr 13 2022 10:20:02 * - Boot Index User Manual Revision 1.8 Aug. 18, 2023 CFR0012 26 of 106 © 2023 Renesas Electronics...
  • Page 27: Setup For Soft Ap Mode

    Enter the SSID name. CHANNEL ? [1~13, Auto:0/Quit] (Default Auto) : Enter to select Auto channel selection. AUTHENTICATION ? 1. OPEN 2. WEP(Unsupported) 3. WPA-PSK 4. WPA2-PSK (Recommend) User Manual Revision 1.8 Aug. 18, 2023 CFR0012 27 of 106 © 2023 Renesas Electronics...
  • Page 28 * - CPU Type : Cortex-M4 (120MHz) * - OS Type : FreeRTOS 10.4.3 * - Serial Flash : 4 MB * - SDK Version : V3.1.3.0 GEN User Manual Revision 1.8 Aug. 18, 2023 CFR0012 28 of 106 © 2023 Renesas Electronics...
  • Page 29: Setup F Or Wi-Fi Provisioning Using Bluetooth ® Le

    DA16200 supports AT Command via UART or SPI. For more detailed inf ormation f or AT Command, see Ref .[5]. Various prebuilt AT Command f irmware images can be downloaded f rom the Renesas Electronics’ website. Go to the Renesas website (https://www.renesas.com/us/en/products/wireless -...
  • Page 30: Configuration For Testing At Command With Evb Only

    DA16600 EVB f or AT Command processing over the UART. This conf iguration connects UART2 of the DA16200 (GPIOC6/7) to the FT2232H. User Manual Revision 1.8 Aug. 18, 2023 CFR0012 30 of 106 © 2023 Renesas Electronics...
  • Page 31: Configuration For Testing At Command Testing With External Mcu

    UART1 or SPI of the DA16200 (GPIOA4/5 f or UART or GPIOA2/3/8/9 f or SPI) to the external pin out connectors. Figure 11: DA16200 EVB Configuration for AT-CMD over UART/SPI to External MCU User Manual Revision 1.8 Aug. 18, 2023 CFR0012 31 of 106 © 2023 Renesas Electronics...
  • Page 32: Figure 12: Da16600 Evb Configuration For At-Cmd Over Uart/Spi With External Mcu

    Table 14: DA16600 EVB Switch Configuration for AT-CMD over UART/SPI with External MCU SW10 All ON All OFF All OFF All OFF All OFF All ON All OFF All OFF User Manual Revision 1.8 Aug. 18, 2023 CFR0012 32 of 106 © 2023 Renesas Electronics...
  • Page 33: Table 15: Da16600 Evb Connector Configuration For At-Cmd Over Uart/Spi With External Mcu

    GPIOA2 SPI_CSB GPIOA3 SPI_CLK GPIOA11 MCU Wake-up from DA16200 GPIOC6 SPI_INT Pin 13 (P0_6) and Pin 14 (GPIOA10) should be connected. GPIOA8 SPI_MISO GPIOA9 SPI_MOSI User Manual Revision 1.8 Aug. 18, 2023 CFR0012 33 of 106 © 2023 Renesas Electronics...
  • Page 34: Software Development Kit

    The DA16200 is a highly integrated ultra-low power Wi-Fi system on chip (SoC) that allows users to develop Wi-Fi solutions using a single chip. Wi-Fi applications can be developed f or the DA16200 using the DA16200 FreeRTOS SDK and the Renesas e studio IDE on either a Windows 10 or Linux based development system.
  • Page 35: Figure 14: Run E 2 Studio Installer

    Figure 15: e studio Setup Select the DA f amily in Device Families. The GCC toolchain is selected by def ault as GNU ARM Embedded 10.3 2021.10. User Manual Revision 1.8 Aug. 18, 2023 CFR0012 35 of 106 © 2023 Renesas Electronics...
  • Page 36: Importing Da16200 Freertos Sdk Project Into E Studio

    Importing DA16200 FreeRTOS SDK Project into e studio Download the DA16200 FreeRTOS SDK f rom the of ficial website. Go to the Renesas website (https://www.renesas.com/us/en/products/wireless -connectivity/wi-f i/low-power-wi-f i) and scroll down to the Sof tware Downloads section. Find “DA16200 DA16600 FreeRTOS SDK” or type it in the search box, and then select the f irmware and download.
  • Page 37: Figure 17: Import Sdk Project To E 2 Studio Ide

    Figure 17: Import SDK Project to e studio IDE NOTE Windows 10 has a path length limitation of 260 characters. The <sdk_root_directory> path length must be less than 70 characters. User Manual Revision 1.8 Aug. 18, 2023 CFR0012 37 of 106 © 2023 Renesas Electronics...
  • Page 38: Figure 18: Select Folder To Import Sdk Project Into E Studio Ide

    Use the f ile manager to navigate to the <sdk_root_directory>/ directory and then click Select Folder. Figure 18: Select Folder to Import SDK Project into e studio IDE User Manual Revision 1.8 Aug. 18, 2023 CFR0012 38 of 106 © 2023 Renesas Electronics...
  • Page 39: Figure 19: Import Da16200/Da16600Project To The E 2 Studio Ide

    IDE 4. Dialog SDK Project window will appear as shown below. Select Target device DA16200 or DA16600 by selecting the button and then click Finish. User Manual Revision 1.8 Aug. 18, 2023 CFR0012 39 of 106 © 2023 Renesas Electronics...
  • Page 40: Build Project

    1. Once the target projects are imported, it appears in the e studio Project Explorer. Build the DA16200/DA16600 project by right-clicking on the imported project and select Build Project. Figure 22: e studio Project Explorer User Manual Revision 1.8 Aug. 18, 2023 CFR0012 40 of 106 © 2023 Renesas Electronics...
  • Page 41: Figure 23: Build Project

    This step cannot be skipped due to a f lash conf iguration f ile is required to build the f irmware. When the build is complete, the f ollowing output is displayed in the e studio console window. User Manual Revision 1.8 Aug. 18, 2023 CFR0012 41 of 106 © 2023 Renesas Electronics...
  • Page 42: Build Configurations

    There are several types of build conf iguration f or DA16200 / DA16600 SDK project. Release and Debug conf igurations are almost the same except that the Release build conf igurations disable the console (UART0) input and output. User Manual Revision 1.8 Aug. 18, 2023 CFR0012 42 of 106 © 2023 Renesas Electronics...
  • Page 43: Figure 27: Da16200 Build Configurations

    DA16600 Build Conf igurations ○ Debug – Debug-da16600-mod : DA16600 module type Debug Build (def ault) ○ Release – Release-da16600-mod : DA16600 module type Release Build User Manual Revision 1.8 Aug. 18, 2023 CFR0012 43 of 106 © 2023 Renesas Electronics...
  • Page 44: Changing Flash Configuration

    To use the Generate Conf iguration tool, import Launch Conf igurations: ● File>Import>Run/Debug/Launch Conf igurations Figure 29: Import Launch Configuration ● Select <sdk_root_directory>/utility/cfg_generator directory using Browse button User Manual Revision 1.8 Aug. 18, 2023 CFR0012 44 of 106 © 2023 Renesas Electronics...
  • Page 45: Figure 30: Import Generate Configuration

    24. Select the f lash type, then click on generate to create the appropriate f lash conf iguration f ile required to build the f irmware. User Manual Revision 1.8 Aug. 18, 2023 CFR0012 45 of 106 © 2023 Renesas Electronics...
  • Page 46: How To Move Project Location

    The J-link sof tware can be downloaded f rom the Segger website: https://www.segger.com/downloads/jlink/ Download and install the version f or your specif ic OS. Figure 33: Download J-Link Software User Manual Revision 1.8 Aug. 18, 2023 CFR0012 46 of 106 © 2023 Renesas Electronics...
  • Page 47: Connect J-Link

    20-pin connector of the “J-Link 9-pin Cortex-M Adapter” to the J-Link debug probe and connect the 9- pin connector to the “JTAG connector” on the DA16200/DA16600 EVB board. Figure 34: J-Link 9-pin Cortex-M Adapter User Manual Revision 1.8 Aug. 18, 2023 CFR0012 47 of 106 © 2023 Renesas Electronics...
  • Page 48: Run Debug Mode

    To start debugging an application, right-click on the project in the project explorer and select Debug As > Debug Configurations. Figure 35: Run Debug Mode Open the Renesas GDB Hardware Debugging entry in the list and select one of debugging conf igurations and then click Debug. Figure 36: Select Debug Configuration User Manual Revision 1.8...
  • Page 49: Programming Firmware Images In E Studio

    2. Click Next, browse <sdk_root_directory>\utility\j-link\scripts\qspi and select f older win, linux, or python in <sdk_root_directory>\ulitil\j-link\scripts\qspi according to environment. Figure 38: Browse Folder 3. Click Select Folder and Select launch conf igurations. User Manual Revision 1.8 Aug. 18, 2023 CFR0012 49 of 106 © 2023 Renesas Electronics...
  • Page 50: Figure 39: Select Launch Configurations

    --version ○ If you get a Command ‘python’ not found error as shown below, you need to make a symbolic link for python command. User Manual Revision 1.8 Aug. 18, 2023 CFR0012 50 of 106 © 2023 Renesas Electronics...
  • Page 51: Programming Firmware Images Over Serial Interface

    2. Select proper number in the list of serial interf aces at console terminal. Figure 41: Select Number from Serial Interface List 3. The programming is done automatically and conf irm it is done successf ully. User Manual Revision 1.8 Aug. 18, 2023 CFR0012 51 of 106 © 2023 Renesas Electronics...
  • Page 52: Figure 42: Programming Firmware Image Over Serial Interface

    In this case, the uart_console_win(linux, py) should be terminated by clicking Remove all Terminated Launches and Terminate icon in Console terminal. * See Appendix D.1.2. User Manual Revision 1.8 Aug. 18, 2023 CFR0012 52 of 106 © 2023 Renesas Electronics...
  • Page 53: Programming Firmware Images Using Segger J-Link

    If you get the following error when running jlink_xxx_py, you need to install the tkinter module for python ○ You can install tkinter module using command in terminal as below. User Manual Revision 1.8 Aug. 18, 2023 CFR0012 53 of 106 © 2023 Renesas Electronics...
  • Page 54: How To Migrate Ide F Rom Eclipse To E Studio For Old Sdk

    3. Copy all f olders and f iles in <sdk_root_directory>\utility\j-link\scripts\qspi\ of SDK 3.2.8 (or later) to <sdk_root_directory>\utility\j-link\scripts\qspi\ of old SDK. 4. Follow installing e2studio/creating workspace/import projects/import launches as described in previous sections. User Manual Revision 1.8 Aug. 18, 2023 CFR0012 54 of 106 © 2023 Renesas Electronics...
  • Page 55: Test Procedures

    Connection-specific DNS Suffix . : Link-local IPv6 Address ..: fe80::4c8:3627:424b:1951%20 IPv4 Address... : 192.168.0.65 User Manual Revision 1.8 Aug. 18, 2023 CFR0012 55 of 106 © 2023 Renesas Electronics...
  • Page 56: Perform Ping Test With Dpm Enabled

    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss), Approximate round trip times in milli-seconds: Minimum = 14ms, Maximum = 81ms, Average = 34ms User Manual Revision 1.8 Aug. 18, 2023 CFR0012 56 of 106 © 2023 Renesas Electronics...
  • Page 57: How To Add Arp Record

    When setting up the ARP cache to static with the command arp -s on higher versions of Windows, an error like Failed to add ARP entry, Access is denied. will be occurred. Renesas recommends using command netsh to change the network settings.
  • Page 58: Throughput Test

    To setup Iperf tool, f ollow the steps below: 1. Download Iperf f rom https://iperf .fr/iperf-download.php. 2. Create a f older called Iperf in path C:\. User Manual Revision 1.8 Aug. 18, 2023 CFR0012 58 of 106 © 2023 Renesas Electronics...
  • Page 59: Throughput Test With Da16200/Da16600 As Client

    DHCPv6 Client DUID..: 00-01-00-01-28-2E-4F-CA-98-E7-43-AD-7D-81 DNS Servers ... : 1.214.68.2 61.41.153.2 User Manual Revision 1.8 Aug. 18, 2023 CFR0012 59 of 106 © 2023 Renesas Electronics...
  • Page 60: Figure 47: Disable Firewall For Iperf Test

    2.192 MBytes 18.396 Mbits/sec 192.168.0.103:5001 TCP_TX:[Total] 0.00- 5.00 10.801 MBytes 18.122 Mbits/sec 192.168.0.103:5001 [/DA16200/NET] # Where the f ormat of the iperf command type is: User Manual Revision 1.8 Aug. 18, 2023 CFR0012 60 of 106 © 2023 Renesas Electronics...
  • Page 61: Throughput Test With Da16200/Da16600 As Server

    The f ollowing results will appear in the DA16200/DA16600 command window: [TCP] Receive Test (Server) TCP_RX:[ No ] [Interval] [Transfer] [Bandwidth] TCP_RX:[Total] 0.00- 5.13 12.250 MBytes 20.031 Mbits/sec 192.168.0.103:53916 User Manual Revision 1.8 Aug. 18, 2023 CFR0012 61 of 106 © 2023 Renesas Electronics...
  • Page 62: Dpm Setup

    User Wakeup Time : 0 sec. TIM Wakeup Count : 10 dtim ============================================ DPM CONFIGURATION CONFIRM ? [Yes/No/Quit] : y Enter “y” to confirm DPM factors. User Manual Revision 1.8 Aug. 18, 2023 CFR0012 62 of 106 © 2023 Renesas Electronics...
  • Page 63: Hold/Disable Dpm Mode

    System Mode : Station Only (0) >>> DA16x Supp Ver2.7 - 2020_07 >>> Wi-Fi mode : b/g/n -> b/g (for DPM) >>> MAC address (sta0) : d4:3d:39:10:a2:48 User Manual Revision 1.8 Aug. 18, 2023 CFR0012 63 of 106 © 2023 Renesas Electronics...
  • Page 64 : 192.168.219.1 DNS addr : 61.41.153.2 DHCP Server IP : 192.168.219.1 Lease Time : 06h 00m 00s Renewal Time : 03h 00m 00s [/DA16200] # User Manual Revision 1.8 Aug. 18, 2023 CFR0012 64 of 106 © 2023 Renesas Electronics...
  • Page 65: Current Measurement

    2. Open the two jumpers (P2) of the power line on the DA16200 EVB as shown in Figure 50. 3. Power is supplied f rom the EVK PRO board, and current consumption of DA16200 can be measured. User Manual Revision 1.8 Aug. 18, 2023 CFR0012 65 of 106 © 2023 Renesas Electronics...
  • Page 66: Figure 50: Setup Da16200 Evb Jumper

    Figure 52: Setup DA16600 EVB Jumper 6.5.2.1 DA16200/DA16600 EVK PRO Board (504-02-A) The actual component locations of the DA16200/DA16600 EVK PRO Board are shown in Figure User Manual Revision 1.8 Aug. 18, 2023 CFR0012 66 of 106 © 2023 Renesas Electronics...
  • Page 67: Figure 53: Da16200/Da16600 Evk Pro Board (504-02-A)

    When the user clicks the OK button to launch the main application window as Figure 54, the SmartSnippets Wi-Fi IoT Power Prof iler tool can be downloaded f rom the Renesas website (https://www.renesas.com/us/en/products/wireless-connectivity/wi-f i/low-power-wi-f i). Go to the website and scroll down to Sof tware Download s section to download it.
  • Page 68: Figure 54: Select Virtual Com Port

    55. Click the Config button at the bottom right and check that the conf iguration is correct as shown in Figure Figure 55: Power Profiler of SmartSnippets Toolbox Figure 56: Power Profiler Configuration User Manual Revision 1.8 Aug. 18, 2023 CFR0012 68 of 106 © 2023 Renesas Electronics...
  • Page 69: Figure 57: Power Profiler Chart Settings

    Select the Power Profiler > Measure menu on the window, users can measure the current consumption in the desired section as peak and average by using a mouse. User Manual Revision 1.8 Aug. 18, 2023 CFR0012 69 of 106 © 2023 Renesas Electronics...
  • Page 70: Figure 59: Consumption Measurement By Using Chart Controls

    4. Finally, put this average value with a negative sign in the Calibration Offset (mA) f ield. CTRL-C and CTRL-V are also workable as Figure User Manual Revision 1.8 Aug. 18, 2023 CFR0012 70 of 106 © 2023 Renesas Electronics...
  • Page 71: Current Measurement At Sleep Mode 1

    8. Run the sleep 3 <time(sec)> command to enter sleep 3 mode f or the specif ied time in seconds. ○ [/DA16200/SYS.HAL] # sleep 3 <time(sec)> User Manual Revision 1.8 Aug. 18, 2023 CFR0012 71 of 106 © 2023 Renesas Electronics...
  • Page 72: Current Measurement At Dpm Low Power Mode

    DTIM=1) and Keep Alive 30s. Sleep 3 means sleep state in the interval between RXs or between RX and TX. Figure 62: Current Measurement at DPM Low Power Mode User Manual Revision 1.8 Aug. 18, 2023 CFR0012 72 of 106 © 2023 Renesas Electronics...
  • Page 73: Appendix A Old Versions Of Evb

    To enable this button, set Pin 1 of SW4 to ON and press the button to start WPS mode. SW5 – RTC_WAKE_UP switch Switch to wake up the board from sleep mode. User Manual Revision 1.8 Aug. 18, 2023 CFR0012 73 of 106 © 2023 Renesas Electronics...
  • Page 74: Table 17: Da16200 Evb Switch Description

    Connects FT2232H to SPI_CSB GPIOA7 (Note Factory Reset Connects FT2232H to SPI_CLK GPIOA8 (Note External pin-out Connects FT2232H to SPI_MISO (J2/J5) only GPIOA9 (Note Connects FT2232H to SPI_MOSI User Manual Revision 1.8 Aug. 18, 2023 CFR0012 74 of 106 © 2023 Renesas Electronics...
  • Page 75: Da16200 Evb Ver 9.0

    For more details on the DA16200 EVB, see the schematic Ref . [9]. DA16200 EVB Ver 9.0 Figure 64 shows the hardware conf iguration of the DA16200 EVB Ver 9.0. User Manual Revision 1.8 Aug. 18, 2023 CFR0012 75 of 106 © 2023 Renesas Electronics...
  • Page 76: Figure 64: Da16200 Evb Ver 9.0 Hardware Configuration

    Switch to turn the EVB ON and OFF. P1 – External VDD External VDD (3.3V) can be supplied to the P1 pins. For normal operation, this jumper should be shorted. User Manual Revision 1.8 Aug. 18, 2023 CFR0012 76 of 106 © 2023 Renesas Electronics...
  • Page 77: Table 19: Gpio And Spi Selection Switch

    When DA16200 EVK Pro Board is used f or measuring current consumption, the P1 jumper must be removed. For more details on the DA16200 EVB, see the schematic Ref . [9]. User Manual Revision 1.8 Aug. 18, 2023 CFR0012 77 of 106 © 2023 Renesas Electronics...
  • Page 78: Da16600 Evb Ver 5.0

    Figure 65: DA16600 EVB Hardware Configuration DA16600 EVB has the f ollowing components: Table 20: Components on DA16600 EVB Name Description DA16600MOD-AACWA32 Renesas Wi-Fi and Bluetooth ® LE Module. Board information Board version and manufacturing date CN1 – USB Port (Wi-Fi) Provides UART0 for debug and UART1 for test.
  • Page 79 GPIO connector. J3 – External pin-out GPIO connector. P0_6 (Pin #11) should be connected to GPIOA9 (Pin #12) or GPIOA10 (Pin #14) externally for BLE-Wi-Fi COEX. User Manual Revision 1.8 Aug. 18, 2023 CFR0012 79 of 106 © 2023 Renesas Electronics...
  • Page 80: Da16600 Evb Ver 4.0

    For more inf ormation on the DA16600 EVB, see the DA16600 DEVKT Electric Schematic Ref . [10]. DA16600 EVB Ver 4.0 Figure 66 shows the hardware conf iguration of the DA16600 EVB. User Manual Revision 1.8 Aug. 18, 2023 CFR0012 80 of 106 © 2023 Renesas Electronics...
  • Page 81: Figure 66: Da16600 Evb Ver 4.0 Hardware Configuration

    DA16600 EVB Ver 5.0 has the f ollowing components: Table 22: Components on DA16600 EVB Name Description ® DA16600MOD-AACWA32 Renesas Wi-Fi and Bluetooth LE Module. Board information Board version and manufacturing date USB Port (Wi-Fi) CN1 Provides UART0 for debug and UART1 for test.
  • Page 82: Table 23: Description Of Switches

    (SWDIO) Enables UART debug of DA14531 (UART2 RX) DA14531 P0_8/DEBUG Enables UART debug of DA14531 (UART2 TX) DA14531 P0_9/DEBUG Does not use Does not use User Manual Revision 1.8 Aug. 18, 2023 CFR0012 82 of 106 © 2023 Renesas Electronics...
  • Page 83 SW5. The current consumption of the DA16200 and the DA14531 can be measured simultaneously. For more details on the DA16600 EVB, see the DA16600 DEVKT Electric Schematic Ref . [10]. User Manual Revision 1.8 Aug. 18, 2023 CFR0012 83 of 106 © 2023 Renesas Electronics...
  • Page 84: Appendix B Da16200 Debug Interface Commands

    Display help information for the corresponding category (none) Move up one rank category (none) Move to the Root category factory (none) Factory reset for all settings User Manual Revision 1.8 Aug. 18, 2023 CFR0012 84 of 106 © 2023 Renesas Electronics...
  • Page 85: Network Commands

    0: normal garp ● 1: check IP conflict For example: arpsend wlan0 Arping [interface] Send ARP ping to target IP [options] ● -I [wlan0|wlan1] : Interface name User Manual Revision 1.8 Aug. 18, 2023 CFR0012 85 of 106 © 2023 Renesas Electronics...
  • Page 86 For example: ping 172.16.0.1 -l 1024 -n 10 -w 1000 -i 1000 ping -6 fe80::1:2 -I wlan0 sntp [option] Show or configure for SNTP operation ● status : Show current SNTP configuration ● enable | disable User Manual Revision 1.8 Aug. 18, 2023 CFR0012 86 of 106 © 2023 Renesas Electronics...
  • Page 87: Cli Command

    Switch to network command mode. Command-List is changed, "NET" [/DA16200/NET] # cli status Display Network Information. sta0 mac_address=d4:3d:39:10:a2:48 bssid=80:ca:4b:30:02:0a ssid=U+Net0208 id=0 mode=STATION key_mgmt=WPA2-PSK pairwise_cipher=CCMP group_cipher=CCMP channel=4 wpa_state=COMPLETED User Manual Revision 1.8 Aug. 18, 2023 CFR0012 87 of 106 © 2023 Renesas Electronics...
  • Page 88: Cli Format

    For example: [/DA16200/NET] # cli add_network 1 ○ Generate a profile for AP Mode remove_ <mode> Delete a certain mode (STA, AP) profile (D) network <mode>: 0(STA) | 1(AP) User Manual Revision 1.8 Aug. 18, 2023 CFR0012 88 of 106 © 2023 Renesas Electronics...
  • Page 89 <value>: Country Code that meets ISO 3166-1 alpha-2 standards Default: KR For example: [/DA16200/NET] # cli country US ○ Set the Country Code to US For example: [/DA16200/NET] # cli country User Manual Revision 1.8 Aug. 18, 2023 CFR0012 89 of 106 © 2023 Renesas Electronics...
  • Page 90: Sta Commands

    For example: [/DA16200/NET] # cli ap restart ○ Modify SSID of the interface of AP being operated For example: [/DA16200/NET] # cli set_network 1 pairwise TKIP User Manual Revision 1.8 Aug. 18, 2023 CFR0012 90 of 106 © 2023 Renesas Electronics...
  • Page 91 The disassociation message is transmitted to the access STA with a certain MAC address to cancel the access (D) <addr>: MAC address of the access STA For example: [/DA16200/NET] # cli disassociate aa:ff:01:00:00:00 User Manual Revision 1.8 Aug. 18, 2023 CFR0012 91 of 106 © 2023 Renesas Electronics...
  • Page 92 Access denied only for AP Lists in ACL For example: [/DA16200/NET] # cli acl clear ○ Entire ACL clear For example: [/DA16200/NET] # cli delete aa:ff:01:00:00:08 ○ Delete AA:FF:01:00:00:08 from ACL User Manual Revision 1.8 Aug. 18, 2023 CFR0012 92 of 106 © 2023 Renesas Electronics...
  • Page 93 Default: 0 (not used) For example: [/DA16200/NET] # cli greenfield 1 ○ Use the Greenfield function ○ greenfield=1 For example: [/DA16200/NET] # cli greenfield ○ greenfield=0 User Manual Revision 1.8 Aug. 18, 2023 CFR0012 93 of 106 © 2023 Renesas Electronics...
  • Page 94: Advanced Commands

    Download image to SFLASH boot boot : ‘0’ address ymodem [addr] [size] Download image to RAM sfdp sfdp : download sfdp to 0xf80040 (retention memory) User Manual Revision 1.8 Aug. 18, 2023 CFR0012 94 of 106 © 2023 Renesas Electronics...
  • Page 95: Sflash Commands

    Download image with rs485 Not used clock [new clock] System clock setting setsfl [mode] Select sflash Mode : 0 (stacked sflash), 1 (external sflash) Used ‘1’only User Manual Revision 1.8 Aug. 18, 2023 CFR0012 95 of 106 © 2023 Renesas Electronics...
  • Page 96: Appendix C Sdk Memory Maps

    - MX25L3233F, MX25L25635F, MX25R3235F, MX25U3232F, MX25U3235F : Winbond - W25Q32JV, W25Q32JW To use a different type of SFLASH with the DA16200/DA16600, contact Renesas Electronics to confirm compatibility. SFLASH Memory Map The DA16200 and the DA16600 FreeRTOS SDK support 4 MB SFLASH only.
  • Page 97: Da16600

    To change the SFLASH type without using the script, go to the <sdk_root_directory>/tools/SBOOT/config directory and copy the da16xtpmconfig.cfg.xxxx(4MB) f ile that matches the SFLASH device that is being used and copy it to da16xtpmconfig.cfg. User Manual Revision 1.8 Aug. 18, 2023 CFR0012 97 of 106 © 2023 Renesas Electronics...
  • Page 98: Sram Memory Map

    DA16200 DA16600 FreeRTOS Getting Started Guide SRAM Memory Map In the FreeRTOS SDK, the overall memory map is organized as shown in Figure Figure 67: System Memory Map User Manual Revision 1.8 Aug. 18, 2023 CFR0012 98 of 106 © 2023 Renesas Electronics...
  • Page 99: Appendix D Troubleshooting

    14. Select number of FRTOS image in lists which shows all images in the f older. 15. Programming is done automatically. 16. Input n because no more programming is required . User Manual Revision 1.8 Aug. 18, 2023 CFR0012 99 of 106 © 2023 Renesas Electronics...
  • Page 100 >>> DA16x Supp Ver2.7 - 2022_03 >>> MAC address (sta0) : d4:3d:39:11:34:fc >>> sta0 interface add OK >>> Start STA mode... RTC switched to XTAL User Manual Revision 1.8 Aug. 18, 2023 CFR0012 100 of 106 © 2023 Renesas Electronics...
  • Page 101 >>> Hello World #1 ( Non network dependent application ) !!! NOTE Do not reset or power on/off the board between the FBOOT and FRTOS image programming. It causes the programming failure. User Manual Revision 1.8 Aug. 18, 2023 CFR0012 101 of 106 © 2023 Renesas Electronics...
  • Page 102: Appendix E Country Codes

    Haiti Malaysia Uganda Bhutan Hungary Nigeria United Kingdom Belarus Indonesia Nicaragua Belize Ireland Netherlands Uruguay Canada Israel Norway Uzbekistan Central India Nepal Vatican City Africa User Manual Revision 1.8 Aug. 18, 2023 CFR0012 102 of 106 © 2023 Renesas Electronics...
  • Page 103 St. Pierre and Czech N.Korea S.Africa Miquelon Germany S.Korea Puerto Rico Zimbabwe Denmark Kuwait Portugal Cayman Dominica Palau Islands Dominican Kazakhstan Paraguay Algeria Lebanon Qatar User Manual Revision 1.8 Aug. 18, 2023 CFR0012 103 of 106 © 2023 Renesas Electronics...
  • Page 104: Revision History

    Update logo, disclaimer, copyright. ● Added link to J-Link / J-Trace User Guide (UM08001) in section 5.6. Nov. 29, 2021 Title was changed. Oct. 27, 2021 First Release. User Manual Revision 1.8 Aug. 18, 2023 CFR0012 104 of 106 © 2023 Renesas Electronics...
  • Page 105 RoHS Compliance Renesas Electronics’ suppliers certify that its products are in compliance with the requirements of Directive 2011/65/EU of the European Parliament on the restriction of the use of certain hazardous substances in electrical and electronic equipment. RoHS certifi cates from our suppliers are available on request.
  • Page 106 FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT OF THIRD PARTY INTELLECTUAL PROPERTY RIGHTS. These resources are intended for developers skilled in the art designing with Renesas products. You are solely responsible fo r (1) selecting the appropriate products for your application, (2) designing, validating, and testing your application, and (3) ensuring your application meets applicable standards, and any other safety, security, or other requirements.

This manual is also suitable for:

Freertos da16600

Table of Contents