![]() |
Coming soon |
1. Description of STM32 long-range wireless RF test
STM32 long-range wireless RF test flow is used to test the wireless functions of STM32WL. The test flow can be used to:
- display the received signal strength indicator (RSSI)
- transmit a continuous wave signal
- perform a packet error rate (PER) measurement with two devices (Lora and FSK modulation)
- send AT commands to the device
- calculate AirTime for Lora packets
2. How to use the test flow
2.1. Configuration
2.1.1. Board configuration
The software "AT_Slave" must be loaded into the board. This firmware provides a command line interface (CLI) on the serial port. This interface is used to communicate with STM32CubeMonitor. The Nucleo software is available in STM32CubeWL FW Package, in the path Projects\NUCLEO-WL55JC\Applications\LoRaWAN\AT_Slave.
2.1.2. STM32CubeMonitor configuration
- The version 1.1.0 or above of STM32CubeMonitor is required. It can be downloaded on www.st.com/stm32cubemonitor . Detailed instructions are in the wiki.
- Import the Wireless Long range RF test flow. Go in the top right menu, select import, then "select a file to import" and open the WLR_RF_test.json file. (in Projects\NUCLEO-WL55JC\Applications\LoRaWAN\AT_Slave)
- Remove the default flow (Basic_Flow). Double click on the "Basic_Flow" tab to open the properties, and click on "delete" button.
- Click on DEPLOY button
2.1.3. Connection to computer
Connect the devices to the computer. Open the Serial Port A tab. This tab is used to configure the serial port of device A.
Open the « Serial Port A » node, on the top right, and click on the pencil to edit the Serial Port configuration.
Click on the search icon at right of “Serial Port” box to display the list of connected serial ports. Select the board COM port. Set the baud rate to 9600 bps. Other parameters don’t need to be changed.
Click on “Add/Update” button : the Serial-port configuration is ready.
Check the Serial-port configuration node on the bottom left. It should be update automatically because it shares the same configuration.
The serial port A is configured.
Perform the same operation for the second board on Serial Port B tab.
Click on DEPLOY button
2.2. Start the Dashboard
Open the demo with “Dashboard” button. The menu on the top left allows to navigate between the pages.
2.2.1. RF test LORA :
This page is used to perform Rf test with LORA modulation. There are 4 tests mode :
- RSSI test (RX) : Displays the signal reception level measured by the board board.
- CW (TONE) test (TX) : This mode is used to send a CW RF signal (not modulated signal)
- PER test : Performs some reception test like sensitivity test and compute Packet Error Rate. The SNR and RSSI are also visible.
The details on how to use the PER page is available in [[1]]
- TX/RX : This page allow to perform RSSI and Tone test simultaneously with 2 devices. On board is used to send the Tone, and the other measure the RSSI. Details on this page is available on the page [[2]]
2.2.2. RF test FSK :
This page is used to perform RF test with FSK modulation. The mode are the same as Lora tests. Please see description above.
2.2.3. AT CMD :
This page is used to send AT command to the device.
To send a new At command, the command must be typed in the box at the bottom of the screen. The command is sent when user press "enter" or click the "SEND" button. User can use "ATZ" to reset device, or "AT?" to see the list of command. The result are logged in the top box. Lines with Left arrow <- are data sent to the board . Lines with right arrow -> are data coming from the board. The clear button can be used to empty the log windows. It has no effect on the board. The switch will force the log windows to display the last line when new lines are added. It can be disabled to observe the log without being disturbed by new lines.
2.2.4. Lora Air Time :
The Lora Air Time windows is a tool to compute frame characteristics based on user parameters.
The modem settings and Frame configuration must be filled with application characteristics, and then the frame characteristics will be computed and displayed.