DA16200 ThreadX Evaluation Kit UM-WI-023 Abstract This user manual describes how to set up and use the DA16200 ThreadX Evaluation Kit, version 6.0 and higher. If you use EVK version 5.0 or lower, please see the previous version of this manual.
DA16200 Module EVK ........................6 Test Sequence ..........................7 Wi-Fi Mode Setup .......................... 8 DA16200 Connecting the Board ................... 8 Configure the Serial Port for UART ..................8 Setup for Station Mode ......................9 Setup for Soft-AP Mode ...................... 11 DPM Setup............................
Figure 33: Disable Firewall for Iperf Test .................... 24 Figure 34: Run Iperf Server on PC ...................... 25 Figure 35: Run Iperf Client on the DA16200 ..................25 Figure 36: Check the IP Address of DA16200 ..................25 Figure 37: Run Iperf Server on Terminal ..................... 26 Figure 38: Run Iperf Client on the Laptop ...................
DA16200 Module Evaluation Kit (EVK). Figure 1: Hardware Configuration DA16200 has the following components: 1. Main board: DA16200 module (DA16200MOD-AAC4WA32) is installed on the PCI-type main board. 2. USB Interface part. 3. DA16200MOD-AAC4WA32 Wi-Fi Module.
14. UART1/UART2 SW: UART1 and UART2 select switch. 15. RTC_PWR_KEY/RTC_WAKE_UP external pin out: can connect to external devices. Test Sequence This section describes the test sequence for how to demonstrate the DA16200 benefits of the following test items: ● Current measure (Section 7) ○...
Figure 4: Check COM Ports on Device Manager Configure the Serial Port for UART On a Windows Host, the utility Tera Term is used to fully validate the connection to the DA16200 EVK. Tera Term is a free software terminal emulator (communication program) that supports multiple communication including serial port connections.
UM-WI-023 DA16200 ThreadX Evaluation Kit To make sure that the communication between the DA16200 EVK and the host PC is properly established, the UART connection between the two nodes needs to be verified. For that purpose, do the following steps: 16.
UM-WI-023 DA16200 ThreadX Evaluation Kit Figure 7: Country Selection 5. MODE? [1/2/Quit] (Default Station): type 1 Figure Figure 8: Station Mode Selection 6. SELECT SSID? (1~30/Manual/Quit): type 1 Figure a. Select the SSID of the AP to which you want to connect. If there is no AP that you want to connect to, please press Enter to rescan.
UM-WI-023 DA16200 ThreadX Evaluation Kit Figure 10: Check Wi-Fi Configuration 13. Once all settings are made as shown in Figure 10, the configuration is saved and the system will reboot as shown in Figure Figure 11: Wi-Fi Configuration Completed Setup for Soft-AP Mode The setup for the Soft-AP mode is almost the same as for the STA mode.
UM-WI-023 DA16200 ThreadX Evaluation Kit Figure 14: AP Mode Selection Figure 15: AP Setup Completed Once all settings are made, the configuration is saved and the system reboots. A message is printed that Soft-AP mode started successfully. See Figure User Manual Revision 2.3...
DPM (Dynamic Power Management) is a synthesis of breakthrough ultra-low-power technologies that enable extremely low power operation in the DA16200. DPM shuts down every microelement of the chip that is not in use, which allows a near-zero level of power consumption when not actively transmitting or receiving data.
UM-WI-023 DA16200 ThreadX Evaluation Kit Figure 17: Setting DPM Factor with User Defined 3. After reboot, DA16200 will enter DPM sleep. The print message >>> Start DPM Power- Down!!! means that DA16200 has entered DPM Sleep. See Figure 18. Figure 18: DPM Mode Running after Reboot NOTE As soon as the system has entered DPM Sleep (After “>>>...
Figure 19: DPM Mode Hold Disable DPM Mode Though we make DPM enabled during setup, we can disable DPM mode with command dpm off at the prompt. DA16200 will reboot and connect to AP as shown in Figure User Manual Revision 2.3...
1. Do the steps in Section until step 3. ○ When you run the DA16200 with DPM settings, DA16200 will run DPM Sleep, wake up for Beacon check and Keep Alive according to the configured DTIM For example: the current waveform in...
Point (AP) required. Both must be connected to the same subnetwork AP. See Figure DA16200 must be connected to the AP via WI-FI, and the laptop must be connected to the AP with an Ethernet cable. After configuration, DA16200 will be in DPM Sleep mode (Sleep 3). Then DA16200 can wake up from sleep mode when unicast packets are sent while remaining in sleep mode most of the time.
Since retransmission logic is not included in the higher protocol (TCP/UDP), an additional ARP record is required for ping tests between the laptop and the DA16200 operating in DPM sleep mode. 1. Use command arp -s 192.168.0.66 ec-9f-f9-32 to add an ARP record manually.
1. Make DPM enable. See Section 6.2. 2. Run a ping on the Laptop. See Figure For example: C:\WINDOWS\system32>ping 192.168.0.66 -t Next, DA16200 wakes up and receives the ping message, sends a reply, and goes to DPM sleep again. Figure 29: Ping Test with DPM NOTE If you have multiple network interfaces enabled, then put the arp entry under the specific interface.
DA16200 has command iperf to measure the packet transfer performance. This is known as the throughput test. To do the throughput test, prepare the DA16200 to operate in Station mode (see Section 5.1) without using DPM (see Section 6.4). This section shows the throughput test with the use of a TCP client/server protocol.
UM-WI-023 DA16200 ThreadX Evaluation Kit Iperf Test with Client Mode To set up the Iperf test with Client mode, do the following: 1. Connect the laptop you want to use as a server to the AP. 2. In the CMD window, use the command ipconfig/all to find the IP address. See...
Iperf Test with Server Mode A server mode test should be run with a configuration that is opposite to that of client mode. In this case, the DA16200 is prepared as a server. The laptop becomes a client and sends data to the DA16200.
UM-WI-023 DA16200 ThreadX Evaluation Kit 2. Run the Iperf test with Server mode on the DA16200 console window. See Figure ○ For example: [/DA16200/NET] # iperf -I wlan0 -s Figure 37: Run Iperf Server on Terminal 3. In the CMD window, run the Iperf test with Client mode. See Figure ○...
DA16200 ThreadX Evaluation Kit 10 DA16200 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.
(none) Move to the Root category factory (none) Factory reset for all settings (none) Display thread information DA16200 general function setting wizard (Easy Setup) setup (none) Make step-by-step configuration settings for elements such as SYSMODE, WI-FI, and NETWORK (none) Reboot...
UM-WI-023 DA16200 ThreadX Evaluation Kit Table 3: Network Commands Command Parameter Description Display or set the basic network setting and status ● ifconfig: display basic network settings information ● ifconfig –a: display details of all network interfaces ● ifconfig [wlan0|wlan1]: display details of a network interface ●...
802.11i), and CLI (Command Line Interface) to control DA16200 Wi-Fi performance. The CLI in DA16200 can execute commands in the network command state. For example, in the Station mode, the network information of the DA16200 is obtained with CLI command: [/DA16200/NET] cli status. See...
Common Commands Table 4: CLI Commands in Common Mode Parameter Description Get the main information on the interface being operated at DA16200 status (none) For example: [/DA16200/NET] # cli status Save all parameters modified through CLI and so forth in NVRAM...
Page 32
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 specific parameter values for a specific mode (STA, AP) (C) <mode>: 0(STA) | 1(AP)
For example: [/DA16200/NET] # cli country US ● Set the Country Code to US For example: [/DA16200/NET] # cli country ● For every interface (STA, AP), DA16200 deletes the Profile and closes flush (none) DA16200 service operation (D) 10.2.4 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 For example: [/DA16200/NET] # cli ap restart ● Modify the AP interface encryption mode to TKIP Modify the AP interface operation channel (B) <Ch.>: AP operation channel (1~14) or frequency (MHz)
Page 35
<target>: ap | sta <category> <category>: be(best-effort) | bk(background) | vi(video) | vo(voice) <AIFS> <CWmin> For example: [/DA16200/NET] # cli wmm_params ap be 3 15 63 10 wmm_params <CWmax> ● For WMM AP's best-effort category, AIFS = 3, CWmin = 15, <Burst(AP)
Page 36
30 seconds and check ACK receipts (A) <value>: On: 1 | Off: 0 ● On: if the STA accessed to DA16200 AP interface goes out of coverage or is closed abnormally, the disconnect will occur after the ‘ap_max_inactivity timeout’ passes ap_send_ka <value>...
● ap_rts=2437 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) greenfield <value>...
Page 39
UM-WI-023 DA16200 ThreadX Evaluation Kit Command Parameters Description Oops configuration oops [op][value]… Not used [op] Debug mode configuration dbgt [op][value0]… Not used [addr][sector_size][format] Fast download image to sflash floady [boot] Not used Download image with rs485 rs485 [offset][id] Not used...
11.1 Flash MAP DA16200 provides two images: #0 and #1. It is possible to use these regions for each image set and change the index of the booting image set. The default value of the Boot Index points to #0.
UM-WI-023 DA16200 ThreadX Evaluation Kit 11.2 OTP Lock Protection To protect OTP and download firmware safely, lock the OTP before firmware download: 1. In MROM, select macro. 2. Select mrom_otp_lock_check.ttl Figure 40: Run Macro 3. See a message box that notifying the OTP lock is done.
If you get a new SDK, then always load the <Bootloader image> first. 1. Power on the DA16200 board. 2. At the [/DA16200] prompt, type reset to go to the Mask ROM prompt [MROM]. See Figure Figure 42: Mask ROM 3.
DA16200 has a different address based on Flash size and boot index. The System Library address map register depends on the flash memory size. Currently, DA16200 EVK uses 2 MB SFLASH MAP even though there is SFLASH 4 MB memory on the module. Therefore, the address must be 0xf1000 for boot index 0 or 0x1E5000 for boot index 1.
DA16200 has a different address based on flash size and boot index. The System Library address map register depends on the flash memory size. Currently, DA16200 EVK uses 2 MB SFLASH MAP even though there is SFLASH 4 MB memory on the module. Therefore, the address must be 0xa000 for boot index 0 or 0xfe000 for boot index 1.
UM-WI-023 DA16200 ThreadX Evaluation Kit 11.6 Download Image with Script (Macro) You can download all images automatically with the use of a script. 1. In the Control menu, select Macro. 2. In the MACRO: Open macro dialog window, choose a .ttl file. See Figure 50.
DA16200 ThreadX Evaluation Kit Figure 52: Download RTOS Image 5. Download the SLIB Image. See Figure Figure 53: Download Slib Image 6. DA16200 will boot automatically after all images are downloaded. User Manual Revision 2.3 16-Sep-2022 CFR0012 47 of 58...
(RTOS and SLIB) are loaded again. If the images load normally, then use command [/DA16200] # brd f80000 100 to check if the SFPD information is copied to the Retention Memory. See...
If there are any memory conflicts during updating the image or errors while building the SDK, then it cannot run DA16200. In this case, you cannot do anything in the command window. You must force the DA16200 to enter boot mode: 1.
Figure 56: Recovery Point in the EVK 2. Use RTC_PWR_KEY to power on (move to ON position): a. Boot DA16200.Turn the power on when the two pins are connected. b. Disconnect the two pins. Pin 17 (F_CLK) and pin 18 (GND).
For example: [/DA16200] # setwlanmac aa:ff:00:00:00:00 At prompt [/DA16200] # type command getwlanmac to check where the MAC address was written. One of the following lines is displayed: MAC TYPE: OTP MAC or NVRAM MAC. See example:...
UM-WI-023 DA16200 ThreadX Evaluation Kit 12 Country Codes Table 10: 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 Spain Lesotho Russia...
Page 53
UM-WI-023 DA16200 ThreadX Evaluation Kit 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 Polynesia Vanuatu...
UM-WI-023 DA16200 ThreadX Evaluation Kit Appendix A Hardware Configuration old version EVK Figure 58 shows the hardware configuration of the DA16200 Module old version Evaluation Kit (EVK). Figure 58: Hardware Configuration DA16200 has the following components: 1. Main board: DA16200 module (DA16200MOD-AAC4WA32) is installed on the PCI-type main board.
UM-WI-023 DA16200 ThreadX Evaluation Kit Figure 60: Test Point for Current Measurement 11. GPIO, SPI selective switch: SW2, SW3, SW4 (Default: on), SW1 (Default: off). See Table ○ For more details on how to use the pins, see the schematic of the 6.0 EVK in the manual...
UM-WI-023 DA16200 ThreadX Evaluation Kit Revision History Revision Date Description Update new board pictures. 16-Sep-2022 Added Appendix A to old version EVK description 28-Mar-2022 Update logo, disclaimer, copyright. Added a description of MROM commands. 24-Jun-2021 Added description to use new SFLASH in Section 5 Removed Section 7.5 Current Measurement with PRO-SB Power...
Page 57
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 58
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.
Need help?
Do you have a question about the DA16200 and is the answer not in the manual?
Questions and answers