REN UM-WI-004 DA16200 AT GUI Tool User Manual Rev 1v7 MAT 20210906
REN UM-WI-004 DA16200 AT GUI Tool User Manual Rev 1v7 MAT 20210906
Contents
Contents ............................................................................................................................................... 2
Figures .................................................................................................................................................. 3
1 Terms and Definitions ................................................................................................................... 4
2 References ..................................................................................................................................... 4
3 Introduction.................................................................................................................................... 5
3.1 Certification Mode ................................................................................................................. 5
3.2 Network Mode ....................................................................................................................... 5
3.3 OTP Mode ............................................................................................................................. 5
4 How to Connect ............................................................................................................................. 6
4.1 USB to Serial Driver .............................................................................................................. 6
5 DA16200 SDK or Firmware Selection .......................................................................................... 6
6 How to Run GUI with DA16200 EVK ............................................................................................ 7
6.1 Connection and Running....................................................................................................... 7
6.2 COM Port and Baud Rate Configuration............................................................................... 9
6.3 RF Certification Mode ......................................................................................................... 10
6.4 TX Test Mode ...................................................................................................................... 11
6.5 RX Test Mode ..................................................................................................................... 12
7 Network Mode .............................................................................................................................. 14
7.1 Station Mode ....................................................................................................................... 15
7.2 AP Mode ............................................................................................................................. 17
7.3 Data Transfer (TCP/UDP) ................................................................................................... 18
7.3.1 TCP Server .......................................................................................................... 19
7.3.2 TCP Client ........................................................................................................... 20
7.3.3 UDP Session ....................................................................................................... 20
7.3.4 Data Exchange .................................................................................................... 21
7.3.5 Data Transfer on DPM Mode ............................................................................... 22
7.4 MQTT Client ........................................................................................................................ 23
7.4.1 Configuration ....................................................................................................... 23
7.4.2 Data Exchange .................................................................................................... 24
7.4.3 MQTT on DPM Mode ........................................................................................... 24
7.5 TLS Setting ......................................................................................................................... 25
8 OTP Mode Setup .......................................................................................................................... 26
Revision History ................................................................................................................................ 27
Figures
Figure 1: DA16200 EVK GUI ................................................................................................................. 5
Figure 2: Development Kit Connections ................................................................................................ 7
Figure 3: AT GUI ................................................................................................................................... 8
Figure 4: RS232 Setup – Disconnected ................................................................................................ 9
Figure 5: RS232 Setup – Connected .................................................................................................... 9
Figure 6: Debug Console – Connected ................................................................................................. 9
Figure 7: Certification Mode Configuration .......................................................................................... 10
Figure 8: Tx Test Mode Configuration ................................................................................................. 11
Figure 9: Debug Console – TX Mode .................................................................................................. 11
Figure 10: Start and Stop TX ............................................................................................................... 12
Figure 11: Debug Console – Sart TX .................................................................................................. 12
Figure 12: Debug Console – Stop TX ................................................................................................. 12
Figure 13: Rx Configuration................................................................................................................. 13
Figure 14: Network Mode Configuration.............................................................................................. 14
Figure 15: Setup Window – Station Mode ........................................................................................... 15
Figure 16: Station Mode – SCAN ........................................................................................................ 15
Figure 17: Station Mode – Choose AP and Connect .......................................................................... 16
Figure 18: Debug Console – C onnect to AP ...................................................................................... 16
Figure 19: Setup Window – AP Mode ................................................................................................. 17
Figure 20: AP Configuration ................................................................................................................ 17
Figure 21: Debug Console – AP Configuration ................................................................................... 18
Figure 22: DHCP Configuration ........................................................................................................... 18
Figure 23: Debug Console – DHCP Configuration .............................................................................. 18
Figure 24: Data Transfer Tab .............................................................................................................. 19
Figure 25: TCP Server Open ............................................................................................................... 19
Figure 26: TCP Server Connection with a Client ................................................................................ 19
Figure 27: TCP Client Connection to a Server .................................................................................... 20
Figure 28: UDP Session Open ............................................................................................................ 20
Figure 29: TCP Server Data Transfer ................................................................................................. 21
Figure 30: TCP Client Data Transfer ................................................................................................... 21
Figure 31: UDP Session Data Transfer ............................................................................................... 21
Figure 32: TCP/UDP Data Reception .................................................................................................. 22
Figure 33: DPM Mode Setting ............................................................................................................. 22
Figure 34: MQTT Client Tab ................................................................................................................ 23
Figure 35: MQTT PUBLISH Transfer .................................................................................................. 24
Figure 36: MQTT PUBLISH Reception ............................................................................................... 24
Figure 37: TLS Setting Tab ................................................................................................................. 25
Figure 38: OTP Mode .......................................................................................................................... 26
2 References
[1] DA16200, Datasheet, Dialog Semiconductor
[2] DA16200, SDK Programmer Guide, User Manual, Dialog Semiconductor
[3] DA16200, EVK User Guide, Dialog Semiconductor
[4] DA16200, AT Command User Guide, Dialog Semiconductor
3 Introduction
The DA16200 GUI tool lets users control the DA16200 EVK in a GUI environment. There are three
modes of operation: Certification mode, Network mode, and OTP mode (see Figure 1).
4 How to Connect
// AT-CMD features
#define __SUPPORT_ATCMD__ // Support AT-CMD
NOTE
If there is an error with the message “a DLL file (e.g. vcruntime140.dll or mfc1400u.dll) is missing”, then install
Microsoft Visual Studio redistributable package (https://www.microsoft.com/en-
us/download/details.aspx?id=48145) or copy the .dll file into the Windows system folder
(C:\Windows\System32 or C:\Windows\SysWOW64).
NOTE
See the EVK User Guide [3] to know which port to use.
Figure 3: AT GUI
2. Select a COM port and click the OPEN button and wait for a few seconds. See Figure 5 and
Figure 6.
○ The connection status will soon change to a green color and the Connection Status field
shows “Connected” in a green color. This means that communication is OK
○ In the Debug Console window (in the black box), the message “Echo on” is shown
2. Click the Mode Select button (Figure 8). A confirmation message is shown as in Figure 9. This is
a normal state.
3. Select the Data Rate, Channel, and Power for the purpose of the test.
○ Packet mode: this is the normal test mode with packet generation mode. Offers the
possibility to adjust duty of RF Burst at time domain
○ Cont mode: Continuous TX out mode. This mode is for TX power test and so on. In this
mode, TX packet is generated continuously over 95% duty cycle
○ CW mode: Only single sinewave tone out mode. This mode is for freq err check
○ Data Rate: Choose modulation type to test
○ Power: Select or tune the power level. (“0” step is Maximum). The difference between power
steps is about 0.8~1 dB/1step
○ Size: You can adjust the duty rate with this number. However, the size is not linear as the
number, so to set the exact number you need equipment like a spectrum analyzer to check
the value. (Equipment setting is set to zero span setting or burst mode setting)
To do TX packet generation:
● To start and stop TX packet generation, use the Start TX button and the Stop TX button. If you
want to make changes for another condition, click Stop TX before a new test is started
Start TX Stop TX
For example: there is a test setting with 802.11n MCS7, channel 1, 100 bytes packet and power
grade 0.
● When the Start TX button is clicked, messages as shown in Figure 11 will be shown
● When you click the Stop TX button, messages as shown in Figure 12 will be shown
● RX Packet Rate
○ FCS + PHY + Overflow packet / Total packet = Error rate
7 Network Mode
To enable network mode:
1. Open the Settings tab.
2. Select the Network Mode checkbox. See Figure 14.
3. When scanning is finished, choose one AP in the list. See Figure 17.
4. Click the Connect button.
5. If required by the security mode of the AP, fill in a password or key index.
7.2 AP Mode
1. In the Mode Select field, select AP Mode.
○ The network mode changes, DA16200 reboots and the AP Mode setup window opens. See
Figure 19
2. Set the fields SSID, Password, Country, Channel, and Security mode. See Figure 20.
3. Click the Confirm button.
4. In the DHCP Server area, make the required settings for the IP addresses and click the Confirm
button. See Figure 22.
○ When a client is connected, the MAC address will be shown as in Figure 23
Transfer tab. If DA16200 succeeds to connect to an AP, the IP address will be filled in.
See Figure 24.
The DA16200 provides three kinds of sessions: TCP server, TCP client, and UDP session. The user
can use these three simultaneously.
The user can connect to the DA16200 TCP server with tools for data exchange like the IO Ninja.
When a client connects successfully, its information will be shown as in Figure 26. The DA16200
TCP server can accept up to eight client sessions.
● TCP Client: Select the TCP Client checkbox > Type a message > Click the Send button
(see Figure 30)
● UDP Session: Select the UDP Session checkbox > Enter the destination IP and port number >
Type a message > Click the Send button (see Figure 31)
When a session receives a message from a peer, the message is shown in the message window.
See Figure 32.
7.4.1 Configuration
Before a connection is made to an MQTT broker, set the required fields for the connection
information. See Figure 34.
1. Broker IP address
2. Broker port number
3. Subscriber topics (up to 4)
4. Publisher topic
5. Sending PINGREQ cycle (second)
6. Login ID
7. Login password
8. MQTT QoS (0~2)
9. TLS use (0 or 1)
10. Reset all configuration to default
When the DA16200 MQTT client succeeds to connect, the letter X will change to O. Moreover, the
user can send a PUBLISH message to the broker or receive a message.
When the client receives a message from the broker, the message is displayed in the message
window. See Figure 36.
Power calibration and temperature calibration has been completed for the chipset by Dialog and it
may not need to be done by the customer.
Freq Offset cal: the range of frequency offset calibration is 0x0 ~ 0x7F.
MAC Address Setup
DA16200 has 4 slots to store MAC addresses. The 1st slot is written by Dialog. The user can use 3
slots to write their own MAC address. The MAC address written in the OTP must be an even number.
it is used for WLAN0 MAC address (for STA interface), and the next number is automatically used for
WLAN1 MAC address (for Soft-AP interface).
To write the MAC address, give a MAC address in the first empty slot and click the Write button, then
the new address substitutes for the previous address.
Revision History
Revision Date Description
1.7 28-Mar-2022 Update logo, disclaimer, copyright.
1.6 19-Aug-2021 Applied changes to SDK folder hierarchy
1.5 06-Jan-2021 Revised as the user interface changes of the tool.
1.4 21-Aug-2020 4.3.5 Data Transfer on DPM Mode Modification
4.4.3 MQTT on DPM Mode Modification
Figure 36: MQTT Client Tab Change
Figure 45: Solution Explorer Tab
1.3 06-Apr-2020 TCP/UDP, MQTT, and TLS added, GUI Build added
1.2 31-Oct-2019 Finalized for publication
1.1 15-Oct-2019 Editorial review
1.0 03-Jul-2019 First Release.
Status Definitions
Status Definition
DRAFT The content of this document is under review and subject to formal approval, which may result in modifications or
additions.
APPROVED The content of this document has been approved for publication.
or unmarked
RoHS Compliance
Dialog Semiconductor’s 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.
These resources are intended for developers skilled in the art designing with Renesas products. You are solely responsible for (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. These resources are subject to change without notice. Renesas
grants you permission to use these resources only for development of an application that uses Renesas products. Other reproduction or use of
these resources is strictly prohibited. No license is granted to any other Renesas intellectual property or to any third party intellectual property.
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. No use of any Renesas resources expands or otherwise alters any applicable warranties or warranty
disclaimers for these products.
Corporate Headquarters
TOYOSU FORESIA, 3-2-24 Toyosu Contact Information
Koto-ku, Tokyo 135-0061, Japan For further information on a product, technology, the most
www.renesas.com up-to-date version of a document, or your nearest sales
office, please visit:
https://www.renesas.com/contact/
Trademarks