SWRU602 September   2023 CC3300 , CC3301

 

  1.   1
  2.   Abstract
  3.   Trademarks
  4. 1Acronyms
  5. 2Prerequisites
  6. 3Calibrator Tool Commands
    1. 3.1 Enable PLT Mode
    2. 3.2 Tune Channel
    3. 3.3 Transmit Chain Parameters
      1. 3.3.1 TX Parameters
      2. 3.3.2 TX Trigger-Based Parameters
      3. 3.3.3 TX Tone Start and Stop
      4. 3.3.4 Example TX Commands
    4. 3.4 Receive Chain Parameters
      1. 3.4.1 Enable/Start RX Statistics Test
      2. 3.4.2 Disable/Stop RX Statistics Test
  7.   A Set_TX Default Parameters

Enable/Start RX Statistics Test

Similar to TX commands there are RX commands that can be used to receive the packets and obtain statistics on the same. The CC33xx device's firmware is able to capture packets from the air and report RF statistics. This feature can be used to enure the calibration, antennas, and radio on the device are working properly. This section shows how to use the RX statistics command for receiver (RX) testing.

Use the start_rx command to start the receive RF chain:

calibrator wlan0 cc33xx_plt start_rx -source_mac <SRC_ADDR> -ack_enable <ACK_ENABLE>

To print out the received statistics, use the get_rx_stats command:

calibrator wlan0 cc33xx_plt get_rx_stats

After receiving packets, this command will print statistics of the received packets to the command in a format similar to the following:

Total Received Packets:	0
FCS Errors:		0
MAC Mismatch:		0
Good Packets:		0
Average RSSI (SOC):	45
Average RSSI (ANT):	0
status: 19
PER:			N/A     # PER = Total Bad / Total Received

The following is an example sequence of how to start collecting packets with the receiver:

calibrator wlan0 plt power_mode on
calibrator wlan0 cc33xx_plt tune_channel 6 0 0
calibrator wlan0 cc33xx_plt start_rx -source_mac 04:05:05:05:05:04  -ack_enable 1
calibrator wlan0 cc33xx_plt get_rx_stats