Renesas DA16200 User Manual
Hide thumbs Also See for DA16200:
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 DA16200 and is the answer not in the manual?

Questions and answers

Summary of Contents for Renesas DA16200

  • Page 1 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...
  • Page 2: Table Of Contents

    Introduction ........................... 9 DA16200 EVB V11.0 ......................9 DA16600 EVB V6.0 ......................12 Setting Up EVB ........................15 4.4.1 Configuring DA16200/DA16600 Serial Debug Interface ........15 4.4.2 Configuring DA14531 Serial Debug Interface ............. 16 Programming Firmware Images ..................17 4.5.1 Using uart_program_da16200 in Console Terminal ..........
  • Page 3 How to Add ARP Record ..................57 Throughput Test ........................58 6.3.1 Test Setup ......................58 6.3.2 Throughput Test with DA16200/DA16600 as Client ..........59 6.3.3 Throughput Test with DA16200/DA16600 as Server .......... 61 Current Test ........................61 6.4.1 Test Setup - KEYSIGHT 14585A ................ 62 6.4.2...
  • Page 4 Figure 10: Configure DA16600 EVB for AT Command - UART to FT2232H ........30 Figure 11: Configure DA16200 EVB for AT Command - UART/SPI to External MCU ....... 30 Figure 12: Configure DA16600 EVB for AT Command - UART/SPI with External MCU ....31 Figure 13: Download e2studio Installer ....................
  • Page 5 Table 11: DA16600 EVB Switch Configuration for AT Command - UART to FT2232H ..... 30 Table 12: Configure DA16200 EVB Switch for AT Command - UART/SPI with External MCU ..31 Table 13: Configure DA16200 EVB Connector for AT Command - UART/SPI with External MCU ... 31 Table 14: Configure DA16600 EVB Switch for AT Command - UART/SPI with External MCU ..
  • Page 6 Table 34: Secure Commands in MROM ..................... 97 Table 35: Additional Commands in MROM ..................97 Table 36: 4 MB SFLASH Map for DA16200 ..................98 Table 37: 4 MB SFLASH Map for DA16600 ..................99 Table 38: Country Codes........................104 User Manual Revision 1.9...
  • 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 Interface and AT Command, User Manual, Renesas Electronics UM-WI-061, DA16200 DA16600 Getting Started with AWS-IoT Core, User Manual, Renesas...
  • Page 8: Overview

    If the Wi-Fi solution being developed requires special functions or it is a standalone solution using only the DA16200/DA16600, then the SDK can be used to develop a new firmware image for that solution. For more information on how to use the SDK to develop an application, see the following document: ●...
  • Page 9: Evaluation Kit

    DA16200 DA16600 FreeRTOS Getting Started Guide Evaluation Kit Introduction The DA16200 and DA16600 Evaluation Kits (EVK) are designed for customers to test and develop Wi-Fi applications quickly. The EVK contains: ○ Evaluation board: the specific board with DA16200MOD or DA16600MOD installed ○...
  • Page 10 UM-WI-056 DA16200 DA16600 FreeRTOS Getting Started Guide Name Description J5 – GPIO External pin-out P3 – GND Pins GND for test CN6 – USB Port Provide UART0 for debug, UART1/2 for test and SPI J7 – JTAG connector Connector for the IAR I-jet JTAG Debugger...
  • Page 11: Table 2: Da16200 Evb Switch Description

    The current consumption can be measured at P2 jumper with current measuring equipment. See Section for details on the test setup. When DA16200 EVK Pro is used for measuring current consumption, the P1 jumper must be removed. For more information on DA16200 EVK Pro, see 6.4.2, and for DA16200 EVB, see Ref.
  • Page 12: Da16600 Evb V6.0

    UM-WI-056 DA16200 DA16600 FreeRTOS Getting Started Guide DA16600 EVB V6.0 Figure 2 shows the hardware configuration of the DA16600 EVB. Figure 2: DA16600 EVB Hardware Configuration DA16600 EVB has the following components: Table 3: Components on DA16600 EVB Name Description SW3 –...
  • Page 13 UM-WI-056 DA16200 DA16600 FreeRTOS Getting Started Guide Name 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 –...
  • Page 14: Table 4: Da16600 Evb Switch Description

    When DA16600 EVK Pro is used for measuring current consumption, remove jumpers P1 and P2 and set pins 1 and 2 of SW9 to the ON position. To measure the current consumption of DA16200, remove the jumper on P2 and turn ON pin1 of SW9. To measure the current consumption of DA14531, remove the jumper on P1 and turn ON pin2 of SW9.
  • Page 15: Setting Up Evb

    The DA16200/DA16600 provides a command/debug interface on UART0 for performing configuration and diagnostic functions. When the EVB is connected to the USB port (CN6 on the DA16200 EVB or CN1 on the DA16600 EVB), open Device Manager to see whether two virtual COM ports are created.
  • Page 16: Configuring Da14531 Serial Debug Interface

    Parity None Stop Bits Flow Control (HW/SW) None Turn ON the EVB (SW6 on the DA16200 EVB or SW2 on the DA16600 EVB) and check for output similar to the following: Wakeup source is 0x4 [dpm_init_retmemory] DPM INIT CONFIGURATION(1) ******************************************************...
  • Page 17: Programming Firmware Images

    The following output will appear in the DA14531 debug console: user_on_init NOTE The uart_program_da16200 in followed section can be used for debug console of DA16200 but it cannot be used with DA14531. Other console program like tera term or minicom cab be used for DA14531 debug console.
  • Page 18: Using Uart_Program_Da16200 In Console Terminal

    (RTOS #0 or RTOS #1). Each firmware image is downloaded individually through the debug serial port of the DA16200/DA16600 using the Y-Modem file transfer protocol. 4.5.1 Using uart_program_da16200 in Console Terminal This tool is a prebuilt console program which can be used in Windows, Linux, or Python environment.
  • Page 19 DA16200 DA16600 FreeRTOS Getting Started Guide To program firmware images to DA16200/DA16600, complete the following steps: 1. Copy the console program to the folder which has the images for DA16200/DA166000. 2. Connect the EVB to the host computer using a Micro USB cable.
  • Page 20 UM-WI-056 DA16200 DA16600 FreeRTOS Getting Started Guide Done successfully. 7. Confirm logs from DA16200/DA16600 for checking DA16200/DA16600 works properly as follows: a. Type uart_program_da16200(.exe) b. Select number in the list of COM port and click Enter c. Type reboot d:\download>uart_program_da16200.exe uart_program_da16200 Version 1.0.5...
  • Page 21: Using Macro Script Of Tera Term

    SDKROOT\apps\da16200\get_started\projects\da16200 or da16600\img\ folder in SDK package or each image folder of image package. The serial port should be set up as shown in Figure 4. lower numbered COM port should be selected for DA16200 debug interface. User Manual Revision 1.9 Apr.
  • Page 22: Figure 4: Serial Port Setup In Tera Term

    Figure 4: Serial Port Setup in Tera Term The macro can be run as follows. 1. Once tera term is running and connected to the DA16200/DA16600, open the Control tab, and select the Macro menu item. 2. When the MACRO: Open Macro file selection window opens, navigate to the directory where the firmware images are stored and select the .ttl file as shown in...
  • Page 23: Using Multi-Download Tool

    4. Program RTOS image as shown in Figure Figure 7: Programming FRTOS Image 5. DA16200 reboots automatically after all images are programmed. 4.5.3 Using Multi-Download Tool The Multi-Download Tool can be used to program the firmware images to multiple devices at the same time in Windows.
  • Page 24: Changing Boot Index

    Provisioning Wi-Fi 4.6.1 Setup for Station Mode The Wi-Fi functions of the DA16200/DA16600 can easily be configured by running the Easy Setup Wi-Fi configuration wizard. To configure the DA16200/DA16600 to operate in Station Mode, open the DA16200 or DA16600 debug console and run the setup command in the [/DA16xxx] prompt and then answer the...
  • Page 25 UM-WI-056 DA16200 DA16600 FreeRTOS Getting Started Guide [ STATION CONFIGURATION ] =========================================================================== [NO] [SSID] [SIGNAL] [CH] [SECURITY] --------------------------------------------------------------------------- [ 1] AndroidHotspot0568 WPA2 [ 2] U+Net0208 WPA2 [ 3] wonhome -49 11 WPA2 [ 4] SK_WiFiGIGA1200 3 WPA / WPA2 [ 5] [Hidden] BSSID-0a:5d:dd:de:12:03...
  • Page 26: Setup For Soft Ap Mode

    4.6.2 Setup for Soft AP Mode Soft AP mode allows the DA16200 to be provisioned through the Wi-Fi interface using a mobile application. Setup for Soft AP Mode is almost the same as for Station Mode and can easily be configured by running the Easy Setup Wi-Fi configuration wizard.
  • Page 27 UM-WI-056 DA16200 DA16600 FreeRTOS Getting Started Guide ENCRYPTION ? 1. TKIP (CAUTION: Unsupported 802.11N Mode) 2. AES(CCMP) 3. TKIP/AES(CCMP) ENCRYPTION ? [1/2/3/Quit] : 2 Enter 2 to select AES encryption. PSK-KEY(ASCII characters 8~63 or Hexadecimal characters 64) ? [Quit] [123456789|123456789|123456789|123456789|123456789|123456789|1234] :********** Enter the password for the AP.
  • Page 28: Setup For Wi-Fi Provisioning Using Bluetooth Le

    Choose DA16200_IMG_FreeRTOS_ATCMD_QFN or DA16600_IMG_FreeRTOS_ATCMD_QFN for your device. Table 9 shows the default GPIO pin settings of the UART and SPI interfaces of the DA16200 SDK and DA16600 SDK. These GPIOs need to be connected to the MCU. User Manual Revision 1.9...
  • Page 29: Configuration For Testing At Command With Evb Only

    MCU Wake-up on AT-CMD GPIOA11 (MCU Wake-up) 4.7.1 Configuration for Testing AT Command with EVB Only Both the DA16200 and DA16600 EVBs include an FT2232H which is used to test AT command over the UART interface. Figure 9 Table 10 shows how to configure the DA16200 EVB for AT command processing over the UART.
  • Page 30: Configuration For Testing At Command With External Mcu

    DA16200 EVB for AT command processing over the UART or SPI interface using an external MCU. This configuration connects UART1 or SPI of the DA16200 (GPIOA4/5 for UART or GPIOA2/3/8/9 for SPI) to the external pinout connectors.
  • Page 31: Figure 12: Configure Da16600 Evb For At Command - Uart/Spi With External Mcu

    UM-WI-056 DA16200 DA16600 FreeRTOS Getting Started Guide Table 12: Configure DA16200 EVB Switch for AT Command - UART/SPI with External MCU SW10 Don’t care Don’t care All OFF All OFF All OFF All ON All ON All OFF Table 13: Configure DA16200 EVB Connector for AT Command - UART/SPI with External MCU...
  • Page 32: Table 15: Configure Da16600 Evb Connector For At Command - Uart/Spi With External Mcu

    UM-WI-056 DA16200 DA16600 FreeRTOS Getting Started Guide Table 15: Configure DA16600 EVB Connector for AT Command - UART/SPI with External MCU Interface Connector Relevant GPIO Usage AT Command over UART RTC_WAKE_UP2 DA16200 Wake-up from MCU GPIOA11 MCU Wake-up from DA16200...
  • Page 33: Software Development Kit

    Software Development Kit Introduction 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 for the DA16200 using the DA16200 FreeRTOS Software Development Kit (SDK) and the Renesas e studio IDE on either a Windows 10 or Linux based development system.
  • Page 34: Figure 14: Run E Studio Installer

    UM-WI-056 DA16200 DA16600 FreeRTOS Getting Started Guide NOTE Currently only Windows and Linux have been verified to work with the DA16200/DA16600 SDKs. After running the installer, select the Standard Install and then select Next. Figure 14: Run e studio Installer...
  • Page 35: Importing Da16200 Freertos Sdk Project Into E

    Download the DA16200 FreeRTOS SDK from the official website. Go to the Renesas website (https://www.renesas.com/us/en/products/wireless-connectivity/wi-fi/low-power-wi-fi) and scroll down to the Software Downloads section. Find “DA16200 DA16600 FreeRTOS SDK” or type it in the search box, and then select the firmware and download.
  • Page 36: Figure 18: Select Folder To Import Sdk Project Into E

    UM-WI-056 DA16200 DA16600 FreeRTOS Getting Started Guide NOTE Windows 10 has a path length limitation of 260 characters. The <sdk_root_directory> path length must be less than 70 characters. 2. In the Import dialog box, select the Select SDK root directory and click the Browse button.
  • Page 37: Figure 19: Import Da16200/Da16600 Project To E

    UM-WI-056 DA16200 DA16600 FreeRTOS Getting Started Guide 3. Various projects will appear in the Projects list. Select the da16200 or da16600 project. The second project to select is the SDKJFlash project which provides an absolute path for certain scripts to use and click Next.
  • Page 38: Figure 21: Dialog Sdk Project

    ~$ chmod 755 set_linux_perm.sh ~$ sh ./set_linux_perm.sh ● The SDK directory structure contains various projects, and projects are stored in the <sdk_root_directory>/apps/ directory. These include the following: ○ Default SDK build for the DA16200 and DA16600 – <sdk_root_directory>/apps/da16200/get_started/ – <sdk_root_directory>/apps/da16600/get_started/ ○...
  • Page 39: Building Projects

    Building Projects 1. Once the target projects are imported, it appears in the e studio Project Explorer. Build the da16200/da16600project by right-clicking on the imported project and select Build Project. Figure 22: e studio Project Explorer Figure 23: Build Project User Manual Revision 1.9...
  • Page 40: Figure 24: Generate Configuration

    UM-WI-056 DA16200 DA16600 FreeRTOS Getting Started Guide NOTE The SDK building project process may take several minutes depending on your computer. 2. If this build process is performed for the first time, the Generate Configuration pop-up window is displayed automatically so that flash memory type can be selected. Select a flash type and click Generate to create the appropriate flash configuration file required to build the firmware.
  • Page 41: Build Configurations

    UM-WI-056 DA16200 DA16600 FreeRTOS Getting Started Guide Figure 26: Location of Firmware Image Files FBOOT is the bootloader image which is used to initialize the DA16200 and launch the main firmware. ● The bootloader image should be loaded first into the flash of a new device ●...
  • Page 42: Figure 27: Da16200 Build Configurations

    UM-WI-056 DA16200 DA16600 FreeRTOS Getting Started Guide Figure 27: DA16200 Build Configurations ● DA16600 Build Configurations ○ Debug – Debug-da16600-mod: DA16600 module type Debug Build (default) ○ Release – Release-da16600-mod: DA16600 module type Release Build User Manual Revision 1.9 Apr. 05, 2024...
  • Page 43: Change Flash Configuration

    UM-WI-056 DA16200 DA16600 FreeRTOS Getting Started Guide Figure 28: DA16600 Build Configurations 5.5.2 Change Flash Configuration The flash configuration can be changed by running the Generate Configuration tool which is provided by the SDK. To use the Generate Configuration tool, import Launch Configurations.
  • Page 44: Figure 30: Import Generate Configuration

    UM-WI-056 DA16200 DA16600 FreeRTOS Getting Started Guide ● Select <sdk_root_directory>/utility/cfg_generator directory using the Browse button ● Select Generate Configuration launch file, and click Finish Figure 30: Import Generate Configuration ● Generate Configuration can be run by going to the Run > External Tools menu and selecting...
  • Page 45: How To Move Project Location

    Debugging with J-Link Debug Probe 5.6.1 Install J-Link To debug the DA16200/DA16600, need a J-Link debug probe and the J-Link software. A list of the available debug probes can be found on the Segger website: https://www.segger.com/products/debug-probes/j-link/models/model-overview/ The J-link software can be downloaded from the Segger website: https://www.segger.com/downloads/jlink/...
  • Page 46: Connect J-Link

    The DA16600 EVB (not DA16200 EVB) has a built-in JTAG interface which can be used for either DA16200 or DA14531. It is available for DA14531 when the SW4 - Pin 3 and Pin 4 are on. To use it for DA16200, complete the followings. See Figure ●...
  • Page 47: Figure 35: Configure Built-In Jtag For Da16200

    Connect P5 - Pin 1 (SWDIO) and Pin 2 (SWCLK) to CN7 Pin 2 (JTAG_TMS) and Pin 1 (JTAG_TCLK) ○ Connect the USB cable on CN6 to personal computer Figure 35: Configure Built-in JTAG for DA16200 User Manual Revision 1.9 Apr. 05, 2024...
  • Page 48: Run Debug Mode

    To debug an application, right-click on the project in the project explorer and select Debug As > Debug Configurations. Figure 36: Run Debug Mode Open the Renesas GDB Hardware Debugging entry from the list and select one of debugging configurations and click Debug. Figure 37: Select Debug Configuration User Manual Revision 1.9...
  • Page 49: Programming Firmware Images In E

    UM-WI-056 DA16200 DA16600 FreeRTOS Getting Started Guide NOTE The current FreeRTOS SDK does not support automatic downloading of the firmware image into flash through the e studio debug interface. Therefore, the firmware must be loaded into SFLASH before starting to debug the application.
  • Page 50: Figure 40: Select Launch Configurations

    UM-WI-056 DA16200 DA16600 FreeRTOS Getting Started Guide Figure 40: Select Launch Configurations 4. Click Finish and Confirm launch configurations in Run > External Tools menu. Figure 41: Launch Configurations for Programming Firmware Images NOTE ● SDKJFlash project must be imported before programming. (See Figure ●...
  • Page 51: Programming Firmware Images Over Serial Interface

    UM-WI-056 DA16200 DA16600 FreeRTOS Getting Started Guide NOTE ○ Create a symbolic link for python command as follows – sudo ln -s /usr/bin/python3 /usr/bin/python ○ If access to serial interface is denied, permission should be changed as follows. – sudo usermod -a -G dialout <username>...
  • Page 52: Figure 43: Programming Firmware Image Over Serial Interface

    There is a case that the console interface is disabled when the firmware image is built in release build configuration or when the DA16200/DA16600 is in DPM low power mode. To program the firmware image for this case, complete the following steps. See Appendix D.1.2...
  • Page 53: Programming Firmware Images Using Segger J-Link

    UM-WI-056 DA16200 DA16600 FreeRTOS Getting Started Guide NOTE If uart_program_xxx runs without exiting uart_console_win (linux, py), opening the serial interface will fail. In this case, the uart_console_win (linux, py) should be terminated by clicking Remove All Terminated Launches and Terminate icon in the Console terminal.
  • Page 54: Migrating Ide From Eclipse To E

    UM-WI-056 DA16200 DA16600 FreeRTOS Getting Started Guide NOTE ○ Install tkinter module using command in the terminal as follows – sudo apt-get install python3-tk Other methods for programming the firmware images are described in Section 4.5. Migrating IDE from Eclipse to e studio for Old SDKs The old SDKs (before SDK 3.2.8) also can be used in the e...
  • Page 55: Test Procedures

    AP as shown in Figure The DA16200 must be connected to the AP via Wi-Fi, and the laptop must be connected to the AP with an Ethernet cable. After the DA16200/DA16600 is configured, it goes into DPM low power mode and only wakes up from the low power mode when unicast packets are received.
  • Page 56: Perform Ping Test With Dpm Enabled

    In this case, the assigned IP for the DA16200/DA16600 is 192.168.0.66. 4. Verify the setup. Using the IP address of the DA16200/DA16600 run a ping command on the laptop as follows: C:\user\testuser>ping 192.168.0.66 Pinging 192.168.0.66 with 32 bytes of data: Reply from 192.168.0.66: bytes=32 time=81 ms TTL=255...
  • Page 57: How To Add Arp Record

    255.255.255.255 ff-ff-ff-ff-ff-ff static The IP address (192.168.0.66) of DA16200 is now added to the ARP table as a dynamic type. NOTE When setting up the ARP cache to static with the command arp -s on higher versions of Windows, an error such as Failed to add ARP entry, Access is denied.
  • Page 58: Throughput Test

    Dedicated Wi-Fi 3. Use the interface name of DA16200 to set the ARP cache to static with the netsh command and then use arp -a to verify that it is now a static ARP entry. C:\user\testuser>netsh interface ip add neighbors "Ethernet" "192.168.0.66" "d4-3d-39-10-a2-48"...
  • Page 59: Throughput Test With Da16200/Da16600 As Client

    6.3.2 Throughput Test with DA16200/DA16600 as Client To set up the throughput test with the DA16200/DA16600 operating as a client and the laptop operating as a server, complete the following steps. 1. Connect the laptop which is the server to the AP.
  • Page 60: Figure 48: Disable Firewall For Iperf Test

    TCP window size: 208 KByte (default) ------------------------------------------------------------ Iperf is now running as a server on the laptop and waiting for the DA16200/DA16600 to start the client test app. 5. In the DA16200/DA16600 console window, switch to “NET” command mode and type “iperf -I wlan0 -c 192.168.0.103 -t 5 -i 1”...
  • Page 61: Throughput Test With Da16200/Da16600 As Server

    6.3.3 Throughput Test with DA16200/DA16600 as Server To set up the throughput test with the DA16200/DA16600 operating as a server and the laptop operating as a client, complete the following steps. 1. Power on the DA16200/DA16600 and check the assigned IP address in the DA16200/DA16600...
  • Page 62: Test Setup - Keysight 14585A

    1. To measure current with DA16200 EVK PRO board, connect the two boards with the PCI connector. 2. Open the two jumpers (P2) of the power line on the DA16200 EVB as shown in Figure 51. 3. Power is supplied from the EVK PRO board, and current consumption of DA16200 can be measured.
  • Page 63: Figure 52: Current Test Environment With Evk Pro For Da16600

    By switching on both, users can measure all currents consumed by Bluetooth LE and Wi-Fi. Figure 53: Setup DA16600 EVB Jumper 6.4.2.1 DA16200/DA16600 EVK PRO Board (504-02-A) Figure 54 shows the component locations of the DA16200/DA16600 EVK PRO board. User Manual Revision 1.9 Apr. 05, 2024 CFR0012 63 of 108...
  • Page 64: Figure 54: Da16200/Da16600 Evk Pro Board (504-02-A)

    DA16200 DA16600 FreeRTOS Getting Started Guide Figure 54: DA16200/DA16600 EVK PRO Board (504-02-A) ● PCI Connector: a connector on which to install the DA16200/DA16600 EVB board ● UART MCU: provide communication between DA16200/DA16600 EVK PRO board and personal computer. It also transfers the current measurement samples to the personal computer ●...
  • Page 65: Figure 55: Select Virtual Com Port

    UM-WI-056 DA16200 DA16600 FreeRTOS Getting Started Guide Figure 55: Select Virtual COM Port 6.4.2.3 Set Up Wi-Fi IoT Power Profiler When the proper COM port is selected as shown in Figure 55, click the OK button. Then, the main window of the Power Profiler application in SmartSnippets Wi-Fi IoT Power Profiler Toolbox pops up...
  • Page 66: Figure 58: Power Profiler Chart Settings

    UM-WI-056 DA16200 DA16600 FreeRTOS Getting Started Guide In the H/W Settings tab of the new profile, the Voltage (1.1 V - 3.3V) field is typically empty and the Calibration Offset (mA) field is zero. Apply the correct voltage as configured in the Power Meter LDO (typically, it is 3.3 V).
  • Page 67: Figure 60: Measuring Consumption By Using Chart Controls

    UM-WI-056 DA16200 DA16600 FreeRTOS Getting Started Guide Figure 60: Measuring Consumption by Using Chart Controls 6.4.2.5 Manual Calibration For the most accurate measurement, complete the following steps. 1. Remove the daughterboard, for example, the load, by physically disconnecting the DA16200/DA16600 EVB from the motherboard.
  • Page 68: Measure Current In Sleep Mode 1

    Measure Current in Sleep Mode 2 To measure current in Sleep mode 2, use the CLI commands as shown below. 1. Power on the EVB by setting RTC_PWR_KEY to the ON position (SW6 on the DA16200 EVB or SW2 on the DA16600 EVB).
  • Page 69: Measure Current In Dpm Low Power Mode

    UM-WI-056 DA16200 DA16600 FreeRTOS Getting Started Guide For instance, [/DA16200/SYS.HAL] # sleep 3 10 It allows DA16200 to stay in Sleep mode 3 for a specified time (10 seconds) and wake up. 6.4.6 Measure Current in DPM Low Power Mode ●...
  • Page 70 : 06h 00m 00s Renewal Time : 05h 00m 00s NOTE When the DA16200/DA16600 is in DPM low power mode, user input is not accepted by the debug terminal. To reenable user input, see Section 6.4.7.3. 6.4.7.3 Hold/Disable DPM Mode When the DA16200/DA16600 is in DPM low power mode, user input is not accepted by the debug terminal.
  • Page 71 5. Once the DPM Hold command is successfully applied, debug commands such as setup is available again. 6. DPM mode can be disabled by running the dpm off in the command prompt. The DA16200/DA16600 reboots and the command prompt is available again. [/DA16200] # dpm off Wakeup source is 0x1...
  • Page 72 UM-WI-056 DA16200 DA16600 FreeRTOS Getting Started Guide DA16200 SDK Information * --------------------------------------------------- * - CPU Type : Cortex-M4 (120 MHz) * - OS Type : FreeRTOS 10.4.3 * - Serial Flash : 4 MB * - SDK Version : V3.1.3.0 GEN...
  • Page 73: Appendix A Old Versions Of Evb

    DA16200 DA16600 FreeRTOS Getting Started Guide Appendix A Old Versions of EVB DA16200 EVB V10.0 Figure 64 shows the hardware configuration of the DA16200 EVB. Figure 64: DA16200 EVB Hardware Configuration DA16200 EVB V10.0 has the following components: Table 16: Components on DA16200 EVB...
  • Page 74: Table 17: Da16200 Evb Switch Description

    UM-WI-056 DA16200 DA16600 FreeRTOS Getting Started Guide Name Description SW6 – RTC_PWR_KEY switch Switch to turn the EVB ON and OFF P6 – Jumpers for Pin for connecting the external control signal with MCU. RTC_WAKE_UP1 For normal operation, this jumper should be shorted P8 –...
  • Page 75: Da16200 Evb V9.0

    The current consumption can be measured at P2 jumper with current measuring equipment. See Section for details on how to set up the test. When DA16200 EVK Pro is used for measuring current consumption, the P1 jumper should be removed. For more information on DA16200 EVK Pro, see Section 6.4.2...
  • Page 76: Figure 65: Da16200 Evb V9.0 Hardware Configuration

    UM-WI-056 DA16200 DA16600 FreeRTOS Getting Started Guide Figure 65: DA16200 EVB V9.0 Hardware Configuration DA16200 EVB V9.0 has the following components: Table 18: Components on DA16200 EVB Name Description DA16200MOD-AACWA32 Renesas Wi-Fi Module Board information Board version and manufacturing date...
  • Page 77: Table 19: Gpio And Spi Selection Switch

    The current consumption can be measured at jumper P2 with current measuring equipment. See Section for details on how to set up the test. When DA16200 EVK Pro Board is used for measuring current consumption, the P1 jumper must be removed. For more details on the DA16200 EVB, see Ref.
  • Page 78: Da16600 Evb V5.0

    UM-WI-056 DA16200 DA16600 FreeRTOS Getting Started Guide DA16600 EVB V5.0 Figure 66 shows the hardware configuration of the DA16600 EVB. Figure 66: DA16600 EVB Hardware Configuration DA16600 EVB has the following components: Table 20: Components on DA16600 EVB Name Description...
  • Page 79 UM-WI-056 DA16200 DA16600 FreeRTOS Getting Started Guide Name Description P2 – Jumper to measure Jumper to measure current used by the Wi-Fi device. current consumption of For normal operation, this jumper must be shorted DA16200 P1 – Jumper to measure ®...
  • Page 80: Da16600 Evb V4.0

    P1 and P2 and set pins 1 and 2 of SW9 to the ON position. To measure the current consumption of DA16200, remove the jumper on P2 and turn ON pin1 of SW9. To measure the current consumption of DA14531, remove the jumper on P1 and turn ON pin2 of SW9.
  • Page 81: Figure 67: Da16600 Evb V4.0 Hardware Configuration

    UM-WI-056 DA16200 DA16600 FreeRTOS Getting Started Guide Figure 67: DA16600 EVB V4.0 Hardware Configuration DA16600 EVB V4.0 has the following 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...
  • Page 82: Table 23: Description Of Switches

    Switch SW7 Multipurpose switch. Set this switch to off for normal operation S2 – Factory Reset Factory reset button of DA16200 using GPIO_7. Button To enable this button, set Pin 2 of SW7 to On S1 – WPS Button WPS button of DA16200 using GPIO_6.
  • Page 83: Configure Da16600 Evb V4.0 To Use At Commands Using Uart2

    P1 and P2 and set pins 1 and 2 of SW5 to the ON position. To measure the current consumption of DA16200, remove the jumper on P2 and turn ON pin1 of SW5. To measure the current consumption of DA14531, remove the jumper on P1 and turn ON pin2 of SW5.
  • Page 84: Connect Uart2 To Ft2232H

    UM-WI-056 DA16200 DA16600 FreeRTOS Getting Started Guide Figure 68: SW3 and SW7 UART1 Connection A.5.2 Connect UART2 to FT2232H In the DA16600 firmware image, GPIOC6 and GPIOC7 are set as UART2 for AT commands by default. The GPIOC6 and GPIOC7 are connected with pin 2 and pin 4 of J2 connector, and SW3 is connected with FT2232H.
  • Page 85: Figure 70: Modification And Connection Of Evb V4.0

    UM-WI-056 DA16200 DA16600 FreeRTOS Getting Started Guide Figure 70: Modification and Connection of EVB V4.0 User Manual Revision 1.9 Apr. 05, 2024 CFR0012 85 of 108 © 2024 Renesas Electronics...
  • Page 86: Appendix B Da16200 Debug Interface Commands

    DA16200 DA16600 FreeRTOS Getting Started Guide Appendix B DA16200 Debug Interface Commands The DA16200 has various console commands to operate its functions. The UART0 interface connects the console with a serial terminal tool. Some commands in the following sections may be disabled according to the SDK’s features configuration.
  • Page 87: Network Commands

    UM-WI-056 DA16200 DA16600 FreeRTOS Getting Started Guide Command Parameters Description setup (none) DA16200 general function setting wizard (Easy Setup). Make step-by-step configuration settings for elements such as SYSMODE, WI-FI, and NETWORK reboot (none) Reboot [mode] por: POR rebooting reset (none)
  • Page 88 UM-WI-056 DA16200 DA16600 FreeRTOS Getting Started Guide Command Parameter Description ● -w timeout: Specify a timeout, in milliseconds, before arping exists regardless of how many packets have been sent or received. (Min:10 ms) ● -i interval: Interval in milliseconds to wait for each reply.(MIN:10 ms)
  • Page 89: Cli Command

    Command Line Interface (CLI) to control DA16200 Wi-Fi performance. The CLI in DA16200 can execute commands in the network command state. For example, in Station Mode the network information of DA16200 can be displayed using the cli status command while in network command state.
  • Page 90: Cli Format

    Common Commands Table 26: CLI Commands in Common Mode Parameter Description status (none) Get the main information on the interface being operated in DA16200. For example: [/DA16200/NET] # cli status save_co (none) Save all parameters modified through CLI in NVRAM. nfig...
  • Page 91 For example: [/DA16200/NET] # cli set_network 0 key_mgmt WPA_PSK ○ For DA16200 STA operation, access in the WPA PSK security mode * A profile needs to be generated with command add_network so that a profile can be set with command set_network (with no profile, 'FAIL') get_net <mode>...
  • Page 92: Sta Commands

    UM-WI-056 DA16200 DA16600 FreeRTOS Getting Started Guide Parameter Description ○ flush (none) For every interface (STA, AP), DA16200 deletes the Profile and closes DA16200 service operation (D) B.2.4 STA Commands Table 27: CLI Commands on STA Mode Command Parameters Description...
  • Page 93 Modify the AP interface channel to 3 (242 MHz) For example: [/DA16200/NET] # cli ap_chan_switch 11 2462 ○ Modify the AP interface channel to 11 (2462 MHz) ap_status (none) Get the main information about the interface in DA16200 (C) For example: [/DA16200/NET] # cli ap_status state=ENABLED phy=fc9k_phy0 freq=2472...
  • Page 94 <target>: ap | sta <CWmin> <category>: be(best-effort) | bk(background) | vi(video) | vo(voice) <CWmax> <Burst(AP) For example: [/DA16200/NET] # cli wmm_params ap be 3 15 63 10 or TxOP ○ For WMM AP's best-effort category, AIFS=3, CWmin=15, Limit(STA)> CWmax=63, and Burst=10 For example: [/DA16200/NET] # cli wmm_params sta vo 4 7 15 60 ○...
  • Page 95 <value> Enable/Disable use of Greenfield. <value>: On: 1 | Off: 0 If Greenfield is on, DA16200 uses 11n HT mode only. In that case, 11b, 11g info. and STA access are not allowed. Default: 0 (not used) For example: [/DA16200/NET] # cli greenfield 1 ○...
  • Page 96: Advanced Commands

    Run WPS Push Button Configuration (PBC) wps_pin <pin> Run WPS PIN method <pin> pin code (any: generate a random code) For example: [/DA16200/NET] # cli wps_pin 27833513 For example: [/DA16200/NET] # cli wps_pin any MROM Command B.3.1 Common Commands Table 30: Common Commands in MROM...
  • Page 97: Sflash Commands

    UM-WI-056 DA16200 DA16600 FreeRTOS Getting Started Guide B.3.4 SFLASH Commands Table 33: SFLASH Commands in MROM Command Parameters Description Sflash [op][start][length] SFLASH access ● op: read, write, erase, info ● start: start address (not required for the info) ● length: length (not required for the info) NOTE Operators not listed in the description such as reset, unlock, lock, and verify are for only internal test purpose.
  • Page 98: 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 99: Da16600

    AT-CMD TLS Certificate Key #0 ~ #9 NOTE for usage of “AT-CMD TLS Certificate Key #0 ~ #9” area. See Ref. The DA16200/DA16600 SDK contains a script to automatically select the SFLASH type. See Section 5.5.2 on how the SFLASH is selected in e studio.
  • Page 100: Figure 71: System Memory Map

    UM-WI-056 DA16200 DA16600 FreeRTOS Getting Started Guide Figure 71: System Memory Map User Manual Revision 1.9 Apr. 05, 2024 CFR0012 100 of 108 © 2024 Renesas Electronics...
  • Page 101: Appendix D Troubleshooting

    D.1.2 Recovery from Unresponsive Boot If the DA16200/DA16600 does not boot and the serial command interface is unresponsive, then access can be recovered by following steps: 1. Copy uart_program_da16200 to the folder which has FBOOT and FRTOS images.
  • Page 102 UM-WI-056 DA16200 DA16600 FreeRTOS Getting Started Guide 15. Programming is done automatically. 16. Input n because no more programming is required. 17. Input reboot and confirm the programmed image works. d:\download>uart_program_da16200.exe uart_program_da16200 Version 1.0.5 0. COM75 - USB Serial Port (COM75) 1.
  • Page 103 UM-WI-056 DA16200 DA16600 FreeRTOS Getting Started Guide ****************************************************** System Mode : Station Only (0) >>> Start DA16X Supplicant ... >>> DA16x Supp Ver2.7 - 2022_03 >>> MAC address (sta0) : d4:3d:39:11:34:fc >>> sta0 interface add OK >>> Start STA mode...
  • Page 104: Appendix E Country Codes

    UM-WI-056 DA16200 DA16600 FreeRTOS Getting Started Guide Appendix E Country Codes Table 38: Country Codes Code Country Code Country Code Country Code Country Andorra Ecuador Saint Lucia Reunion United Arab Estonia Liechtenstein Romania Emirates Afghanistan Egypt Sri Lanka Serbia Anguilla...
  • Page 105 UM-WI-056 DA16200 DA16600 FreeRTOS Getting Started Guide Code Country Code Country Code Country Code Country St. Vincent and Switzerland Iran New Zealand Grenadines Ivory Coast Iceland Oman Venezuela Chile Italy Panama Virgin Islands, US China Jamaica Peru Vietnam Colombia Jordan...
  • Page 106: Revision History

    ● Jan. 12, 2023 Added installation using batch/shell script ● Changed location of firmware image files in the section of Importing DA16200 FreeRTOS SDK Project into e2studio ● Added build configuration (Release/Debug) in the section of Build Configurations ● Added how to move project location in the section of Installing e2studio IDE ●...
  • Page 107 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 certificates from our suppliers are available on request.
  • Page 108 Renesas disclaims responsibility for, and you will fully indemnify Renesas and its representatives against, any claims, damages, costs, losses, or liabilities arising out of your use of these resources. Renesas' products are provided only subject to Renesas' Terms and Conditions of Sale or other applicable terms agreed to in writing.

This manual is also suitable for:

Da16600

Table of Contents