CEL MeshConnect ZICM35x Test Tool User Guide

Transcription

CEL MeshConnect ZICM35x Test Tool User Guide
User Guide
0011-00-17-02-000
CEL MeshConnect ZICM35x Test Tool User Guide
CEL MeshConnect ZICM35x Test Tool User Guide
Introduction
CEL’s MeshConnect™ EM357 Mini Modules combine high performance RF solutions with the market’s premier
ZigBee® stack. These modules can accommodate variable range and performance requirements.
The MeshConnect EM357 Modules are certified and qualified, enabling customers to accelerate time to market by
greatly reducing the design and certification phases of development.
The CEL ZICM35x module in conjunction with the CEL MeshConnect ZICM35x Test Tool can be used to
evaluate and test the modules. This document describes how to install and use the CEL MeshConnect ZICM35x
Test Tool.
For more information on MeshConnect modules, contact CEL at www.cel.com.
CEL MeshConnect ZICM35x Test Tool User Guide
CEL MeshConnect ZICM35x Test Tool User Guide
Table of Contents
1
Introduction1
1.1
Supported Hardware3
1.2
Referenced Documents/Prerequisites3
2
Quickstart Demonstration3
3
Installation4
3.1 Installing the CEL MeshConnect ZICM35x Test Tool
4
3.2
Installing the USB-to-RS232 Driver6
3.3 Connecting the CEL ZICM35x Module to the PC
6
4
The CEL MeshConnect ZICM35x Program6
4.1
Top-Level Window6
4.2
Auto Detect6
4.3
Communication Settings Window7
4.4
Operation Mode Selection Window7
4.5
Zigbee Configuration Window7
4.5.1
Coordinator Configuration Method8
4.5.2
End Node Configuration Method10
4.6 CEL MeshConnect ZICM35x Window: ZigBee Mode
11
4.6.1
Menu13
4.6.2
CEL Logo14
4.6.3
Communication Status14
4.6.4
MeshConnect Radio15
4.6.5
Data Log17
4.6.6
Hyper Terminal18
4.6.7
Tab Controls18
4.7 Demonstration Using Test Tools26
4.7.1 Required Hardware & Software26
4.7.2 Mode A: One PC, Two Boards Connected
26
4.7.2.1 Mode B: Two PC’s, Two Boards Connected
26
4.7.2.2 Mode C: One PC, One Board Connected – One Standalone
27
4.7.3 Range Test27
4.7.4 PER Test (Packet Error Rate Test)
30
5
Entering Hardware Evaluation Mode32
5.1 CEL MeshConnect ZICM35x Window: Hardware Evaluation Mode
33
5.2 Tab Controls34
6
Advanced Features41
6.1 Manually Identifying the COM Port (UEVB Only)
41
6.2
Flash Programming41
6.3 CEL MeshConnect ZICM35x Operating Mode Switcher
42
CEL MeshConnect ZICM35x Test Tool User Guide
2
CEL MeshConnect ZICM35x Test Tool User Guide
1.1 Supported Hardware
The CEL MeshConnect ZICM35x Test Tool supports two hardware platforms.
The CEL Universal Evaluation Board (UEVB) fitted with the ZICM357P2 module,
and Silicon Labs’ EM35x Development Kit fitted with either the ZICM357P2,
ZICM357SP0 or ZICM357SP2 modules. The pictures to the right can be used to
assist in identifying the target platform in use.
CEL Universal Evaluation Board
1.2 Referenced Documents/Prerequisites
Category
Document Code
Document Name
User Guide 0000-01-08-00-000
Universal Evaluation Board User Guide
(Available on CEL website)
User Guide 120-4030-000D
EM35x Development Kit User Guide
(Available on Silicon Labs website)
Silicon Labs EM35x Development Kit
Prior to running the CEL MeshConnect ZICM35x Test Tool the following should be performed:
• Software: The CEL MeshConnect ZICM35x application should be installed on a Windows 7 Professional PC.
• Hardware: A CEL ZICM35x module mounted on an Evaluation Board should be connected to the PC with
the USB cable.
2. Quickstart Demonstration
Within five seconds the user can quick-configure the target to become one of two types below:
• Coordinator
• End Node
The user can execute a PER test or Range test after successfully forming a network.
Note: This demonstration guide applies to CEL’s Universal Evaluation Board only. It has five buttons: SW0, SW1,
SW2, SW3, RESET and five LEDs.
2.1 Configure the ZigBee Network
2.1.1 Configure a Coordinator
To enable a Coordinator in ZigBee Mode, within five seconds from Board start-up, press the SW0 button. This
turns “LED0” ON and plays an audible tone. Press the RESET button and try again if the audible tone is not heard.
2.1.2 Configure an End Node
Precondition: Ensure a Coordinator exists. To enable an End Node in ZigBee Mode, within five seconds from
Board start-up, press the SW1 button, it turns “LED1” ON and plays an audible tone. By default the End Node
CEL MeshConnect ZICM35x Test Tool User Guide
3
CEL MeshConnect ZICM35x Test Tool User Guide
automatically joins to the network. Press the RESET button and try again if the audible tone is not heard.
2.1.3 Do PER Test
Complete 2.1.1 and 2.1.2, ensure LED0 of the Coordinator board and LED1 of the End Node are both illuminated.
Press SW0 to start transmitting PER packets, the user can use either the Coordinator or the End Node to commence
the testing. Observe the Coordinator: LED0 will blink to indicate a packet has been transmitted. Observe the End
Node: LED1 will blink, indicating a packet has been received. The test will continue until 100 packets have been
transmitted or the user presses SW0 again to stop the test.
2.1.4 Do Range Test
Complete Sections 2.1.1 and 2.1.2 to ensure that LED0 of the Coordinator and LED1 of the End Node are both
illuminated. Press SW1 to start transmitting RANGE packets, the user could use either the Coordinator or the End
Node to commence the testing. Observe the Coordinator: LED0 will blink to indicate a packet has been transmitted.
Observe the End Node: LED1 will blink, indicating a packet has been received. The packet transmission will
continue indefinitely until the user presses SW1 again to stop the test.
3. Installation
The CEL MeshConnect ZICM35x Test Tool application has been
tested under the Windows 7 Professional operating system.
3.1 Installing the CEL MeshConnect ZICM35x Test Tool
The installation archive for the CEL MeshConnect ZICM35x Test
Tool can be found on the CEL website (www.cel.com/meshconnect),
under the Software Downloads section. The procedure below details
the CEL MeshConnect ZICM35x Test Tool installation.
Figure 1
1. Double click “CEL_CEL ZICM35x module.Setup.exe”. The screen in Figure 1 will be displayed.
2. Click “Next” to start installation progress.
3. Select the installation path and click “Next” (see Figure 2). By default, the installation path is set to C:\ProgramFiles\California Eastern Laboratories\CEL MeshConnect Test Tool.
Figure 2
CEL MeshConnect ZICM35x Test Tool User Guide
4
CEL MeshConnect ZICM35x Test Tool User Guide
4. Upon clicking “Next”, the confirmation window will be displayed
(see Figure 3).
Figure 3
5. Click “Install” to begin the installation.
6. While the software is being installed, the screen in Figure 4 will be
displayed.
Figure 4
7. When the installation is completed, Figure 5 will be displayed. Click “Finish”.
The CEL MeshConnect ZICM35x Test Tool has been successfully installed. The CEL icon should now be displayed on the desktop.
Figure 5
CEL MeshConnect ZICM35x Test Tool User Guide
5
CEL MeshConnect ZICM35x Test Tool User Guide
3.2 Installing the USB-to-RS232 Driver
In order to connect the Evaluation Board to the PC through the USB port, it is necessary to install the USB-toRS232 drivers (if it has not already been installed). Please refer to the aforementioned referenced User Guide in
Section 1.2 for complete installation instructions.
3.3 Connecting the CEL ZICM35x Module to the PC
After finishing the installation of the CEL MeshConnect ZICM35x Test Tool and loading any necessary drivers,
connect the CEL ZICM35x module to a PC via a USB port.
4. The CEL MeshConnect ZICM35x Program
The CEL ZICM35x Test Tool starts with the Top-Level Window, which supports the connection of the CEL
ZICM35x module to the PC via serial port. Next is the Operation Mode Selection Window, as the Test Tool
supports two types of testing: Hardware Evaluation and ZigBee® Network. The program then proceeds to the Main
Window where user-interactions occur.
4.1 Top-Level Window
The Top-Level Window allows the user to manually specify the connection parameters or lets the application
automatically choose the suitable target. This application supports CEL ZICM35x modules only and it will not
return a response if another device is connected. The user can also use Flash programming to download a new
firmware image to the internal Flash of the target (see Section 6.2).
Features:
•Connect to the specified target via the Communications Settings or Auto Detect options.
•Download a new firmware image to the target via the Flash
Programming Window.
4.2 Auto Detect
The MeshConnect Test Tool can automatically connect to a target
which is connected to the PC, as shown in Figure 6. It starts from
the first COM Port and stops when it reaches the first valid target or
the last COM Port. Within each COM Port, the application detects the
baud rate from 7,200 ~ 128,000 baud. While running auto detect, the
CEL MeshConnect ZICM35x Test Tool User Guide
Figure 6
6
CEL MeshConnect ZICM35x Test Tool User Guide
progress bar will be displayed to show the status of detection. If
the application detection is successful, the program will show the
Mode Selection window. Otherwise, the application detection has
failed and an error message will appear.
The user must wait five seconds after powering up or resetting
before attempting to communicate with the MeshConnect Test Tool.
4.3 Communication Settings Window
If auto detection of the COM port is not desired, the COM port can
Figure 7
be manually selected. First, select “Communication Settings” in the menu bar.
After selecting “Communication Settings” in the Top-Level Window the Communication Window shown in
Figure 7 is displayed. In this window, use the COM port identified in Section 6.1 and baud rate to connect to
the target. The default baud rate is 115200 bps.
4.4 Operation Mode Selection Window
After successful target detection, the user can select one
of two operation modes as shown in Figure 8:
ZigBee Mode or Hardware Evaluation Mode.
ZigBee Mode
In this mode, a ZigBee network with two nodes is formed
to test the RF performance of the modules. Modules can
either be configured as the Coordinator of the ZigBee
network (shown by the illumination of LED0), or the End
Node (shown by the illumination of LED1). For more
details on ZigBee Mode, please see Section 4.5.
Figure 8
Hardware Evaluation Mode
This mode is used to evaluate the features of the module, such as: RF performance, Packet Error Rate Test
(PER), Range, ADC, etc. LED3 is illuminated on the evaluation board to indicate the successful entry into this
operation mode. For more details on Hardware Evaluation Mode, please see Section 5.1.
4.5 ZigBee Configuration Window
If the user selects ZigBee Mode as the Operation Mode in Figure 8, the user can form a ZigBee network by
choosing the Coordinator option, or join an available network by choosing the End Node option.
CEL MeshConnect ZICM35x Test Tool User Guide
7
CEL MeshConnect ZICM35x Test Tool User Guide
Prior to creating or joining a ZigBee network, the user must
provide network information (see Figure 9); the user can choose
the “Use Default Settings” option to use the default values. When
configuring an End Node, please remember to provide the same
PANID and Channel as the Coordinator before clicking “Submit”.
PAN ID: Personal Area Network Identification Number (valid range
0000 ~ FFFE).
RF Power: Power level in network communication (valid range
Figure 9
Power Step -43 ~ Power Step +8).
RF Channel: The channel for network communication (valid range: 2405 ~ 2480 MHz).
Use Default Settings: Takes effect when the user checks the “Use Default Value” check box. The default mode
values will be set as follows:
PAN ID
RF Power
RF Channel
01FF
Power Step +8 (+20 dBm)
Channel 15 (2425 MHz)
NOTE: If the target is being changed from END NODE to COORDINATOR or vice-versa, the target should be
detected again. Otherwise the user can use the “Switch Operation Mode” button in Main Window. In some cases,
the user has to press the reset button on target and repeat the previous step.
The following sections detail how one would create a ZigBee network using the MeshConnect Test Tool.
4.5.1 Coordinator Configuration Method
Step
From Menu
1
Figure 10
CEL MeshConnect ZICM35x Test Tool User Guide
8
CEL MeshConnect ZICM35x Test Tool User Guide
Figure 10 (continued)
2
3
4
Result
CEL MeshConnect ZICM35x Test Tool User Guide
9
CEL MeshConnect ZICM35x Test Tool User Guide
4.5.2 End Node Configuration Method
Step
From Menu
1
2
3
Figure 11
CEL MeshConnect ZICM35x Test Tool User Guide
10
CEL MeshConnect ZICM35x Test Tool User Guide
Figure 11 (continued)
4
Result
4.6 CEL MeshConnect ZICM35x Window:
ZigBee Mode
The CEL MeshConnect ZICM35x window includes the
panes listed below when in ZigBee mode (see Figure 12):
• Menu: Allows for the saving of log files and configuration of communication ports.
• CEL Logo: Specifies the CEL ZICM35x module series.
• Communication Status: Displays general information of CEL ZICM35x module target.
• MeshConnect Radio: Displays detailed network information of CEL ZICM35x module target.
• Tab Controls: CEL ZICM35x test features.
• Enter Hardware Evaluation Mode/Enter ZigBee Mode Button: To switch Operation Mode.
• Data Log: Logs all incoming and outgoing data.
• Terminal: To communicate with target via console-like window.
CEL MeshConnect ZICM35x Test Tool User Guide
Figure 12
11
CEL MeshConnect ZICM35x Test Tool User Guide
Zigbee Mode – Main Window
(Consult the section number inside the circles for more information)
4.6.1
4.6.2
4.6.7
4.6.3
6.3
4.6.6
4.6.5
4.6.4
Figure 13
CEL MeshConnect ZICM35x Test Tool User Guide
12
CEL MeshConnect ZICM35x Test Tool User Guide
4.6.1 Menu
• File Menu:
• New: Create new Log File
• Open and Save: Open the specified Log File
• Exit
• Settings Menu:
• Communication: Show the Communication Window
• Flash Programming Menu:
• CEL ZICM35x module Flash Programming: Open the Flash Programmer Application (see Section 6.2)
• Help Menu:
• About: Show the version, note information in About Window
CEL MeshConnect ZICM35x Test Tool User Guide
13
CEL MeshConnect ZICM35x Test Tool User Guide
4.6.2 CEL Logo
The Logo of CEL’s ZICM35x module will be displayed
for the CEL ZICM35x module series (Figure 14).
4.6.3 Communication Status
Figure 14
Communication Status (shown in Figure 15) shows the details of connection between PC and Target. This includes
Status: “Found” or “Not Found”, the COM port, the “Baud Rate” and the module and platform details.
Figure 15
CEL MeshConnect ZICM35x Test Tool User Guide
14
CEL MeshConnect ZICM35x Test Tool User Guide
Communication Status
After detection is successful, the following information
is displayed in the Main Window (see Figure 16):
Status: Shows details of connected target.
Comport: The allocated port for target.
Baud Rate: Data rate between target and PC.
Module Type: The target code name.
Figure 16
4.6.4 MeshConnect Radio
The MeshConnect Radio window is at the bottom-left of the CEL MeshConnect ZICM35x Main Window (see Figure 17).
Figure 17
Information displayed will vary for each type of target, and features may vary as detailed in Figures 18 and 19:
CEL MeshConnect ZICM35x Test Tool User Guide
15
CEL MeshConnect ZICM35x Test Tool User Guide
ZigBee Coordinator Mode
PAN ID:
Source ID:
RF Channel: RF Power: MAC ID: ID of the network which module will operate.
Displays the Node’s 16-bit source ID – 0000 when it is a Coordinator.
RF Channel where module will operate.
RF Power where module will operate.
MAC address of board.
Figure 18
ZigBee End Node Mode
PAN ID:
Source ID:
RF Channel: RF Power: MAC ID: ID of the network which module will operate.
Displays the Node’s 16-bit source ID.
RF Channel where module will operate.
RF Power where module will operate.
MAC address of board.
Figure 19
CEL MeshConnect ZICM35x Test Tool User Guide
16
CEL MeshConnect ZICM35x Test Tool User Guide
4.6.5 Data Log
The user can observe packet data while communication is occurring between the CEL MeshConnect ZICM35x Test
Tool and CEL ZICM35x module.
• Messages are listed with the most recent on the top.
• Clicking “Clear” will clear all messages in the log.
• Checking the “Save to Log File” file will open a new save window as illustrated in Figure 20. To save the log file, choose the desired target directory and click “Save”.
Figure 20
CEL MeshConnect ZICM35x Test Tool User Guide
17
CEL MeshConnect ZICM35x Test Tool User Guide
4.6.6 Hyper Terminal
The Hyper Terminal window shown in Figure 21 provides the ability to receive data in hexadecimal and ASCII
formats after checking the “Print DEBUG message” check box.
Figure 21
4.6.7 Tab Controls
There are two distinct Tab Controls: one for the
Hardware Evaluation Mode and one for the ZigBee
Mode. Pictured in Figure 22 below is the Tab Control
displayed while in Zigbee Mode.
ZigBee Mode Tab Control
Figure 22
CEL MeshConnect ZICM35x Test Tool User Guide
18
CEL MeshConnect ZICM35x Test Tool User Guide
4.6.7.1 PERT Tab
The Packet Error Rate Test tab shown in Figure 23 allows the user to perform the Packet Error Rate Test. The test
is conducted on at least two evaluation boards, one configured as a Coordinator and the other as an End Node.
The Coordinator sends a defined number of packets which consist of payload data, packet size and packet space.
The End Node counts the number of packets received with the same message code and displays the statistics. A
demonstration of this function is given in Section 4.7.4 of this document.
Figure 23
• Payload Data: The message to be sent (minimum one byte, each byte is represented in hexidecimal).
• Destination Address: Address of the End Node board.
• # of Packets: The number of packets that the Coordinator board will send. The number of packets is
limited from 1 to 65535 packets.
• Packet Size: The size of the packet in bytes (1 - 50).
• Packet Space: Interval time between two transmissions in miliseconds (supports 250 ms).
• Data Payload Source: Defines the message in the data fields.
o
Predefined: Fills the Data fields with predefined data, which was generated automatically by the board.
o
Random: Fills the Data fields with random data, which was generated randomly by the board.
o
User Defined: Allows the user to change any of the data values (0x00 ~ 0xFF) in the ‘Payload’ field.
• Start PERT Tx: Starts transmitting the specified number of packets. The Coordinator board LED SW0 will blink.
• PERT Result Packets Sent: Displays the number of packets sent.
• PERT Result Packets Received: Displays the number of packets received.
• PERT Result ACKs Received: Displays the number of ACK packets received.
• PERT Result % Success: Displays the percentage of successful packets.
o TX % Success = (ACK Received / Packet Sent) x 100%.
o RX does not support calculation % success.
• Get Stats: Displays the information from target.
• Clear Stats: Clear information in target.
CEL MeshConnect ZICM35x Test Tool User Guide
19
CEL MeshConnect ZICM35x Test Tool User Guide
4.6.7.2 Range Tab
The test under this tab (shown in Figure 24) will set up a transmission (single or continuous) between two
evaluation boards and measure the Link Quality Indication parameter for their communications link.
Figure 24
• Payload Data: The message to be sent (maximum 55 bytes, each byte is represented in hexidecimal).
• Payload Data Source: Defines the message in the data fields.
oPredefined: Fills the Data fields with predefined data, which was generated automatically by the board.
oRandom: Generates random payload data by the board.
oUser Defined: Allows the user to change any of the data values (0x00 ~ 0xFF) in the “Payload Data” textbox (minimum: 6 bytes and maximum 55 bytes).
• Rate: Defines the transmission rate as continuous or single.
oSingle: Transmits a single packet and then stops.
oContinuous: Transmits packets repeatedly until stopped manually.
• Destination Address: Address of End Node board.
• Packet Size: Size of the packet in bytes (1 – 50).
• Packet Space: Interval time between two transmitions in miliseconds (support 250).
• Transmit: Starts the transmission of packets.
• RX LQI: The Link Quality Indicator as measured by the End Node (with indicator “light”).
• Receive button: Updates the Data log and the statistics of the receiving board’s link quality reception.
CEL MeshConnect ZICM35x Test Tool User Guide
20
CEL MeshConnect ZICM35x Test Tool User Guide
4.6.7.3 Low Power Tab
This tab (see Figure 25) has the ability to put the device into deep sleep mode.
Figure 25
•
Sleep w/alarm wakeup: This mode puts the device to sleep until it reaches the set limit time, at which point it will automatically wake up.
Note: After clicking “Sleep w/alarm wakeup” , its appearance changes to “Timer wakeup” while the device is in deep sleep. The user can press SW0 at any time prior to the set time elapsing to wake up the device.
• Sleep w/push button wakeup: This mode puts the device into a deep sleep mode. Once “Sleep w/push button wakeup” is pressed, press SW0 on the board to wake up the device (as shown in Figure 26).
Figure 26
CEL MeshConnect ZICM35x Test Tool User Guide
21
CEL MeshConnect ZICM35x Test Tool User Guide
4.6.7.4 Version Tab The software version can be obtained from this tab by pressing the “Get Version” button, as shown in Figure 27.
Figure 27
•
•
•
•
•
Stack Version: Displays the stack version.
Firmware Version: Displays the firmware version.
Module Version: Low Power/High Power module.
Mode: The operating mode (Hardware Evaluation Mode/ZigBee Mode).
Get Version: This button will allow the user to retrieve the current software version.
4.6.7.5 ADC Tab
The current voltage and temperature can be obtained from this tab by pressing “Get Voltage” or “Get Temp” (see
Figure 28).
Figure 28
•
•
“Get Voltage” button: The “Get Voltage” button returns the voltage present at the PB5 ADC input on the Universal Evaluation Board. On the Silicon Labs Evaluation Board it returns the value from the output of the temperature sensor.
“Get Temp” button: Retrieves the temperature of the target and displays in Celsius (°C).
CEL MeshConnect ZICM35x Test Tool User Guide
22
CEL MeshConnect ZICM35x Test Tool User Guide
4.6.7.6 External Flash Tab
The flash memory is included for program code and non-volatile data storage (see Figure 29).
Figure 29
• Hex address: The start offset address of the external flash memory, which allows the write/read operation. This value is in hexidecimal, range from 0 to 0xFFFFFF. (Note: Max address the user should set is 0x200000).
• Length (in decimal): The number of bytes that the user wants to read or write from/to the external flash memory.
Note: The minimum value of the length field is 1, the max value is 256.
• Hex Data to Fill (in hex number): The value that the user wants to program.
o If the length is larger than 1, for example: length=10
o Hex data = 0A
o Then 10 bytes “0A” will be written to the external flash memory from the start valid hex address.
• Read External Flash: This button allows the user to read the data from the start address. The length of the
External Flash is filled in the GUI. The payload (read bytes) are shown in the hyper-terminal, as in Figure 21.
• Write External Flash: This button allows the user to write the hex data with the information specified in the following fields: hex address, length and hex data. If the hex address is larger than 0x200000 or the sum of hex address (in hexidecimal) + the length (in hex) > 0x200000, the write operation will not be successful.
• Read ID: The ”Read ID” button allows the user to read the device identification data:
o Manufacture identification (one byte)
o Device identification (2 bytes)
o A Unique ID code (UID) (1 bytes)
• Erase: The page program instruction allows bits to be reset from 1 to 0. Before this can be applied, the bytes of memory need to have been erased to all 1s (FF h).
o Chip Erase: This function will erase all data on the chip (all values are reset to 1s).
o Sector Erase: With this option, the user can choose the sector number to erase. There are 15 sectors to choose.
CEL MeshConnect ZICM35x Test Tool User Guide
23
CEL MeshConnect ZICM35x Test Tool User Guide
• Power:
o
Up: At power-up, the device is in Standby mode (not the Deep Sleep mode). The device is active and will return to its normal state.
o
Down: This function puts the device in the lowest consumption mode (the Deep Sleep mode). In this mode, the device ignores all Write, Program and Erase instructions.
NOTE: The “Ext Flash” tab will be disabled if the target board does not support non-volatile memory flashing.
4.6.7.7 Network Tab
The Network display includes both the Coordinator and End Nodes in a network. Looking at the screen allows the
user to easily view the whole network with the Coordinator, End Nodes, and activity between them. There are two
types of views: Coordinator view and End Node view.
The Coordinator screen (shown in Figure 30) shows all nodes.
The End node screen (shown in Figure 31) shows itself in green and coordinator at center of screen in blue.
Coordinator Screen
End Node Screen
Figure 30
Figure 31
CEL MeshConnect ZICM35x Test Tool User Guide
24
CEL MeshConnect ZICM35x Test Tool User Guide
Coordinator symbol
Statement Table
End Node Symbol
Coordinator – Alone
End Node - Alone
Coordinator – 2 Nodes (max 15 nodes)
Join succeed
Coordinator sends data
End Node sends data
Figure 32
CEL MeshConnect ZICM35x Test Tool User Guide
25
CEL MeshConnect ZICM35x Test Tool User Guide
4.7 Demonstration Using Test Tools
4.7.1 Required Hardware & Software
•
•
•
•
Two CEL ZICM35x modules and Evaluation Boards.
One USB cable.
Two Type AA Batteries (per board).
The MeshConnect Test Tool application installed on a PC.
4.7.2 Mode A: One PC, Two Boards Connected
1. Open two sessions of the MeshConnect Test Tool on the same computer, as illustrated in Figure 33.
Figure 33
2. Configure the Coordinator in one session and the End Node in the other session.
4.7.2.1 Mode B: Two PC’s, Two Boards Connected
1. Open one session of the MeshConnect Test Tool on each computer, as illustrated in Figure 34.
Figure 34
2. Configure the End Node on one computer and the Coordinator on the other computer.
CEL MeshConnect ZICM35x Test Tool User Guide
26
CEL MeshConnect ZICM35x Test Tool User Guide
4.7.2.2 Mode C: One PC, One Board Connected – One Standalone
1. Open a single session of the MeshConnect Test Tool on the computer, as illustrated in Figure 35.
Figure 35
2. For the “Range” Test, the board connected to the computer can be configured either as the Coordinator or as the
End Node. For the “PER” Test, the board connected to the computer should be configured as the End Node. See the
details in Sections 4.7.3 and 4.7.4 for each of these demonstration tests (shown below).
4.7.3 Range Test
The Range Tab (shown in Figure 36) can be used to measure the communication range of the two evaluation
boards. For this demonstration, Mode B configuration (described in Section 4.7.2.1) is used in order to separate
the Coordinator evaluation board from the End Node evaluation board. The test will demonstrate the Link Quality
Indication (LQI) of the communications link under less-than-ideal circumstances and as a function of range.
Figure 36
CEL MeshConnect ZICM35x Test Tool User Guide
27
CEL MeshConnect ZICM35x Test Tool User Guide
Figure 37
The Coordinator Connected to the PC
1) Connect one of the evaluation boards to the PC through a USB cable and power up the board.
2) Open the MeshConnect Test Tool application by double-clicking on the icon [ ] on the user’s
desktop.
3) Follow connection procedures given in Section 4 until the Status is “Found MeshConnect Module”. “Select Mode” screen appears. Select the Coordinator mode:
In the “Radio Settings” Section of the screen (shown above in Figure 37):
o “RF Channel”: “CH11 : 2405 MHz”
o “RF Power”: “Power Step +8”
4) Click “Save Settings” to write the settings to the connected evaluation board.
In the “Range – Coordinator” Section of the screen:
5) Click “Predefined” in the “Message Source” area.
6) Set “Packet Size” = 125
7) Set “Packet Space” = 50
8) Select “Continuous” in the “Rate” area.
9) Start the Transmit Range test by clicking “Transmit”. LED1 will blink.
On the Coordinator board, LED0 will blink. On the PC, a screen (such as that in Figure 38) will be displayed which will
show packet messages in the “Data Log” window.
CEL MeshConnect ZICM35x Test Tool User Guide
28
CEL MeshConnect ZICM35x Test Tool User Guide
Figure 38
The End Node Connected to the PC
In the “Radio Settings” Section of the screen:
1) Connect the other evaluation board to the PC through a USB cable and power up the board.
2) Open the MeshConnect Test Tool application by double-clicking on the icon [
] on the user’s desktop.
Follow connection procedures given in Section 4 until the Status is “Found MeshConnect Module”. “Select Mode”
screen appears. Select the End Node mode:
In the “Radio Settings” Section of the screen in:
o “RF Channel”: “CH11 : 2405 MHz”
o “RF Power”: “Power Step +8”
3) Click “Save Settings” to write the settings to the connected evaluation board.
In the “Range - Receiver” Section:
4) Start the Receive test by clicking “Receive”.
On the End Node board LED1 will blink. On the Coordinator board, LED0 will blink. On the PC, a screen will be displayed which will show:
o Packet messages in the “Data Log” window (shown above in Figure 38).
o “RX’s LQI” numbers (that will fluctuate) ranging from 0 to 125 (shown on next page in Figure 39).
Again, the user can cause the LQI measurements to change by varying the separation distance between the two
evaluation boards or changing the obstructions in the transmission path.
CEL MeshConnect ZICM35x Test Tool User Guide
29
CEL MeshConnect ZICM35x Test Tool User Guide
Figure 39
4.7.4 PER Test (Packet Error Rate Test)
The “PER” Test (Packet Error Rate Test) Tab (shown in Figure 40) can be used to evaluate RF performance in the
user’s own environment. For this demonstration, the Mode C configuration (described in Section 4.7.2.2) is used
in order to allow the separation of the Coordinator evaluation board from the End Node evaluation board. This
makes it possible to measure the Packet Error Rate of the communications link in less-than-ideal circumstances. To
simplify this demo, default settings in the firmware are used. This procedure explains how to configure the board
connected to the PC as the End Node, how to configure the standalone board as the Coordinator, and how to send
a number of packets (from 1 to 65535) from the Coordinator to the End Node. Statistics are then provided showing
the number of “error-free” packets received. From that the Packet Error Rate (PER) can be computed.
Figure 40
CEL MeshConnect ZICM35x Test Tool User Guide
30
CEL MeshConnect ZICM35x Test Tool User Guide
The End Node Connected to the PC
Figure 41
In the “PERT Setup” Section:
1) Connect one of the evaluation boards to the PC through a USB cable and power up the board.
In the “Radio Settings” window (shown in Figure 41), click “Get Settings” to ensure the settings are:
Default settings:
o “RF Channel”: “CH11: 2405 MHz
o “RF Power”:
“Power Step +8”
2) Follow connection procedures given in Section 4 until the “Select Mode” screen appears.
Select the End Node mode:
In the “Radio Settings” window, click “Get Settings” to ensure the settings are:
Default settings:
o “RF Channel”: “CH11 : 2405 MHz”
o “RF Power”:
“Power Step +8”
3) Prepare data to do PER Test
o # Packets: 20
oPacket Size: 6
oPacket Space: 120
4) Observe the Coordinator:
o The transmitting board will transmit 20 PER messages.
o The “Predefined Message Source” as the “Payload”.
oLED0 on the Coordinator board will blink once for each packet sent until all 20 packets have been transmitted.
5) Observe the results on the End Node.
o Each packet can be seen in the “Communications Log” as it is received.
o In the PERT area, “Packets Received” shows the number of successful packet transfers.
o LED1 on the End Node board will blink once for each packet sent until all 20 packets have been transmitted.
CEL MeshConnect ZICM35x Test Tool User Guide
31
CEL MeshConnect ZICM35x Test Tool User Guide
5. Entering Hardware Evaluation Mode
Step
From Menu
From Main Menu
1
2
Result
CEL MeshConnect ZICM35x Test Tool User Guide
32
CEL MeshConnect ZICM35x Test Tool User Guide
5.1 CEL MeshConnect ZICM35x Window:
Hardware Evaluation Mode
Hardware Evaluation Mode
After successful target detection, the user can select
Hardware Evaluation Mode. Refer to Section 4.4 for an
overview of the Operation Mode Selection Window.
The CEL MeshConnect ZICM35x window in the Hardware
Evaluation Mode (Figure 42) appears the same as it does
in the Zigbee Mode, with a few differences noted below
(refer to Section 4.6):
Figure 42
MeshConnect Radio
RF Channel:
RF Power: MAC ID: Save Settings Get Settings: Set Default: RF Channel where module will operate.
RF Power where module will operate.
MAC address of board.
Save all MeshConnect Radio Setting to NVRam.
Get all MeshConnect Radio Setting from NVRam.
Set default value of MeshConnect Radio Setting to NVRam.
Figure 43
Hardware Evaluation Mode Tab Control
Figure 44
CEL MeshConnect ZICM35x Test Tool User Guide
33
CEL MeshConnect ZICM35x Test Tool User Guide
5.2 Tab Controls
This is the main section of the CEL MeshConnect ZICM35x Test Tool. It includes the ability to evaluate and test most
of the features of the CEL ZICM35x module. The user can verify all features via Tab Control. The tab control is split
into eight sections, such as RF Evaluation, PER Test, Range, Low Power, Version, ADC, etc.
5.2.1 RF Evaluation Tab
The RF Evaluation Tab (see Figure 45) is used to set the module into different RF operation modes. These modes
are typically used for FCC certification or other RF evaluation.
Figure 45
•
•
•
•
•
Tx Unmodulated: Performs an unmodulated carrier wave (“tone”) transmission on the current channel.
Tx Continuous Stream: Transmits continuously a stream of random characters on the current channel.
Tx Modulated: Performs a modulated carrier wave transmission on the current channel.
Idle: This is the default mode. In this mode the target is ready for testing.
“Set Radio Mode” button: Sets/saves the radio in the one of the above modes.
When starting the MeshConnect CEL ZICM35x Test Tool, the text displayed in the drop-down box in the RF
Evaluation tab will reflect the actual mode of the evaluation board.
CEL MeshConnect ZICM35x Test Tool User Guide
34
CEL MeshConnect ZICM35x Test Tool User Guide
5.2.2 PERT Tab
The Packet Error Rate Test tab shown in Figure 46 allows the user to perform the Packet Error Rate Test. The Packet
Error Rate Test is conducted using two evaluation boards, one configured as a Coordinator and the other as the End
Node. The Coordinator sends a defined number of packets with payload data, packet size and packet space. The End
Node counts the number of packets received with the same message code and displays the statistics.
Figure 46
• Payload Data: The message to be sent (minimum 06 bytes, each byte is represented in hexidecimal).
• # of Packets: The number of packets will be transmitted, limited from 1 to 65535 packets.
• Data Payload Source: Defines the message in the data fields.
oPredefined: Fills the Data fields with predefined data, which was generated automatically by the board.
oRandom: Fills the Data fields with random data, which was generated randomly by the board.
oUser Defined: Allows the user to change any of the data values (0x00 ~ 0xFF) in the “Payload” field (minimum: 06 bytes & maximum 121 bytes).
• Start PERT TX: Starts the broadcasting of the specified number of packets. At the target, LED0 will blink.
• PERT Receiver: Number of successfully received packets (data received matches the criteria).
• Clear Stats: Clear the information in target.
CEL MeshConnect ZICM35x Test Tool User Guide
35
CEL MeshConnect ZICM35x Test Tool User Guide
5.2.3 Range Tab
The test under this tab (see Figure 47) will set up a transmission (single or continuous) between two evaluation
boards and measure the Link Quality Indication parameter for their communications link.
Figure 47
• Payload Data: The message to be sent (maximum 55 bytes, each byte is represented in hexidecimal).
• Payload Data Source: Defines the message in the data fields.
o
Predefined: Fills the Data fields with predefined data, which was generated automatically by the board.
o
Random: Generates random payload data by the board.
o
User Defined: Allows the user to change any of the data values (0x00 ~ 0xFF) in the “Payload Data” textbox (minimum: 6 bytes and maximum 55 bytes).
• Rate: Defines the transmission rate as continuous or single.
o Single: Transmits a single packet and then stops.
o Continuous: Transmits the packet repeatedly until stopped manually.
• Destination Address: Address of End Node board.
• Packet Size: Size of the packet in bytes (6 – 123).
• Packet Space: Interval time between two transmitions in miliseconds (max 250).
• Transmit: Starts the transmission of packets.
• RX LQI: The Link Quality Indicator as measured by the End Node (with indicator “light”).
• Receive button: Updates the Data log and the statistics of the receiving board’s link quality reception.
CEL MeshConnect ZICM35x Test Tool User Guide
36
CEL MeshConnect ZICM35x Test Tool User Guide
5.2.4 Low Power Tab
This tab (see Figure 48) has the ability to put the device into deep sleep mode.
Figure 48
• Sleep w/alarm wakeup: This mode puts the device to sleep until it reaches the set limit time, at which point it will automatically wake up.
Note: After clicking “Sleep w/alarm wakeup” , its appearance changes to “Timer wakeup” while the device is in
deep sleep. The user can press SW0 at any time prior to the set time elapsing to wake up the device.
• Sleep w/push button wakeup: This mode (see Figure 49) puts the device into a deep sleep mode. Once the “Sleep w/push button wakeup” button is pressed, press SW0 on board to wake up the device.
Figure 49
CEL MeshConnect ZICM35x Test Tool User Guide
37
CEL MeshConnect ZICM35x Test Tool User Guide
5.2.5 Version Tab The software version can be obtained from this tab by pressing the “Get Version” button (see Figure 50).
Figure 50
•
•
•
•
•
Stack Version: Displays the Software version.
Firmware Version: Displays the Firmware version.
Module Version: Low Power/High Power module.
Mode: The operating mode (Hardware Evaluation Mode/ ZigBee Mode).
Get Version: This button will allow the user to retrieve the software version.
5.2.6 ADC Tab
Supports transmit data between target and PC (see Figure 51).
Figure 51
•
•
“Get Voltage” button: The “Get Voltage” button returns the voltage present at the PB5 ADC input on the Universal Evaluation Board.On the Silicon Labs Evaluation Board it returns the value from the output of the temperature sensor.
“Get Temperature” button: Will retrieve and display the temperature in Celsius (°C) in the respective box of the GUI.
CEL MeshConnect ZICM35x Test Tool User Guide
38
CEL MeshConnect ZICM35x Test Tool User Guide
5.2.7 External Flash Tab
The flash memory is included for non-volatile data storage (see Figure 52).
Figure 52
• Hex Address: the start offset address of the external flash memory, which allows the write/read operation. This value is in hexidecimal, range from 0 to 0xFFFFFF. (Note: Max address the user should set is 0x200000).
• Length (in decimal): the number of bytes that the user wants to read or write from/to the external flash memory.
(Note: the Min value of the length field is 1, the max value is 256).
• Hex Data to Fill (in hexidecimal): The value that the user wants to program starts from the address which the user specified in the hex address field. This field is represented in 1 byte each.
o If the length is larger than 1, for example: length=10.
o Hex data = 0A.
o Then 10 bytes “0A” will be written to the external flash memory from the start valid hex address.
• Read External Flash: This button allows the user to read the data from the start address. The length of the External Flash is filled in the GUI. The payload (read bytes) are shown in the hyper-
terminal (see Figure 19).
• Write External Flash: This button allows the user to write the hex data with the information specified in the following fields: hex address, length and hex data. If the hex address is larger than 0x200000 or the sum of hex address (in hex) + the length (in hex) > 0x200000, the write operation should not be successful.
• Read ID: The ”Read ID” button allows the user to read the device identification data:
o Manufacture identification (one bytes).
o Device identification (2 bytes).
o A Unique ID code (UID) (1 bytes).
• Erase: The page program instruction allows bits to be reset from 1 to 0. Before this can be applied, the bytes of memory need to have been erased to all 1s (FF h).
o Chip Erase: This function will erase all data on the chip (all values are reset to 1s).
o Sector Erase: With this option, the user can choose the sector number to erase. There are 15
sectors to choose.
CEL MeshConnect ZICM35x Test Tool User Guide
39
CEL MeshConnect ZICM35x Test Tool User Guide
• Power:
oUp: At power-up, the device is in the Standby mode (not the Deep Sleep mode). The device is active and will return to normal state.
oDown: This function puts the device in the lowest consumption mode (the Deep Sleep mode). In this mode, the device ignores all Write, Program and Erase instructions.
NOTE: The “Ext Flash” tab will be disabled if the target board does not support non-volatile memory flashing.
5.2.8 Board Diag. Tab
This tab tests the LEDs on the evaluation board (see Figure 53).
Figure 53
LED control: The user can set ON/OFF to any LED by selecting the LEDx from drop-down box, choosing ON or OFF
and clicking “Set LED”. The corresponding LED will turn ON/OFF.
Evaluation Board Button Test: Click “Start” and then press SW0 ~ SW3 buttons on the board. The corresponding
button will display a Status textbox.
Buzzer Test: Click “Test Buzzer”. The user will hear an audible tone.
CEL MeshConnect ZICM35x Test Tool User Guide
40
CEL MeshConnect ZICM35x Test Tool User Guide
6. Advanced Features
6.1 Manually Identifying the COM Port (UEVB Only)
It is necessary to determine the COM port number assigned to the evaluation board so one can
communicate with the module. Using Windows Device Manager on the PC, check that the hardware and
associated drivers have been properly installed (see Figure 54).
Under the “Ports (COM & LPT)” heading a “Silicon Labs
(CP210x USB to UART Bridge (COMx)” entry will be listed.
Take note of the COM port that has been assigned, as it
may be needed later.
Figure 54
6.2 Flash Programming
This window (shown in Figure 55) allows users to download a new firmware image to the modules. Users must
have the Silicon Labs ISA3 connected to the board.
A) Browse to the target firmware image file (*.s37).
B) Click “Download” to start the process.
The results will be updated in the status bar including download progress
and final status.
Download: Will download the file specified by the Download Filename.
Full directory path must be specified.
Verify: Will verify the downloaded file.
Go: Will start execution of the downloaded image.
Disable Dialogues on Download: Will suppress messages during download.
Erase all Code Space before Download: Will erase the entire flash memory
contents.
Cancel: Will close the window.
CEL MeshConnect ZICM35x Test Tool User Guide
Figure 55
41
CEL MeshConnect ZICM35x Test Tool User Guide
6.3 CEL MeshConnect ZICM35x Operating Mode Switcher
Figure 56
To switch Operating Mode, click the button in the middle of Test Tool screen (see Figure 56). This will enable
either Zigbee Mode or Hardware Evaluation Mode.
When the target is in Hardware Evaluation mode, the title of mode switch button is “Enter ZigBee Mode” and
vice versa.
When the target is in ZigBee Mode:
Figure 57
Figure 58
CEL MeshConnect ZICM35x Test Tool User Guide
42
CEL MeshConnect ZICM35x Test Tool User Guide
Revision History
Revision
Date
Description
Page(s)
A
0011-00-17-02-000
7/26/12
Initial Release.
N/A
B
0011-00-17-02-000
8/22/13
Removed About CEL section and added For More
Information and Technical Assistance.
45
For More Information
For more information about CEL MeshConnect products and solutions, visit our website at:
www.cel.com/MeshConnect.
Technical Assistance
For Technical Assistance, visit: www.cel.com/MeshConnectHelp.
Professional Grade Wireless Radio Solutions
www.cel.com/MeshConnect
California Eastern Laboratories
4590 Patrick Henry Drive
Santa Clara, CA 95054
(408) 919-2500
8.22.13