Revision as of 14:24, 19 October 2020 by Registered User (→‎Connect the devices to a computer)


Under construction.png 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. Configuring the board

The AT_Slave software 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 within STM32CubeWL MCU Package, under Projects\NUCLEO-WL55JC\Applications\LoRaWAN\AT_Slave.

2.1.2. Configuring STM32CubeMonitor

STM32CubeMonitor version 1.1.0 or higher is required. It can be downloaded from www.st.com/stm32cubemonitor. Detailed instructions are provided in the wiki. To configure STM32CubeMonitor, proceed as follows:

  1. Import the long-range wireless RF test flow.
  2. Select import from the top right menu, then select a file to import and open the WLR_RF_test.json file (located in Projects\NUCLEO-WL55JC\Applications\LoRaWAN\AT_Slave).
  3. Remove the default flow (Basic_Flow). Double click the Basic_Flow tab to open the properties, and click the delete button.
  4. Click the DEPLOY button.

2.1.3. Connect the devices to a computer

To connect the devices to a computer, proceed as follows:

  1. Open the Serial Port A tab. This tab is used to configure the serial port of device A.
    Serial port configuration
  2. Open the « Serial Port A » node on the top right, and click the pencil to edit the Serial Port configuration.
  3. Click the search icon on the right of the “Serial Port” box to display the list of connected serial ports. Select the board COM port and set the baud rate to 9600 bps. Other parameters do not need to be changed.
  4. Click the “Add/Update” button: the Serial-port configuration is ready.
  5. Check the Serial-port configuration node on the bottom left. It must be update automatically since it shares the same configuration.


The serial port A is now configured.
Perform the same operation for the second board on Serial Port B tab.
Once this is done, click the 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.

STM32CubeMonitor WLRFMenu.png

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.

STM32CubeMonitor WLRFATCmd.png

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.

STM32CubeMonitor WLRFLoraAirTime.png

The modem settings and Frame configuration must be filled with application characteristics, and then the frame characteristics will be computed and displayed.