SWRA750 September   2022

 

  1.   Introduction
  2.   Trademarks
  3. 1Connectionless RF Tests
    1. 1.1 Continuous TX
    2. 1.2 Tester Packet TX RX
    3. 1.3 Continuous RX
    4. 1.4 BER Meter Test
      1. 1.4.1 BER Test - Between Two WiLink Devices
      2. 1.4.2 BER Test - Between WiLink (RX) and Litepoint iQ2010 (TX)
  4. 2Bluetooth SIG RF Test Mode
  5. 3Bluetooth Low Energy Testing
  6. 4Connection Test
  7. 5Conversion of HCI Commands to SS1Tool or hcitool Format
    1. 5.1 Examples of SS1Tool or Enhanced Bluetopia PM Test Format Conversion
      1. 5.1.1 Connectionless RF Tests
        1. 5.1.1.1 Continuous TX
        2. 5.1.1.2 Packet TX RX
        3. 5.1.1.3 Continuous RX
        4. 5.1.1.4 RX BER Meter Test
      2. 5.1.2 Bluetooth SIG RF Test Mode
      3. 5.1.3 Bluetooth Low Energy Testing
  8. 6Revision History

Examples of SS1Tool or Enhanced Bluetopia PM Test Format Conversion

First start by disabling the sleep protocol

HCI Tester command format

Send_HCI_VS_Sleep_Mode_Configurations 0xFD0C, 0, 0, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 100

Bluetopia PM SS1 Tool format

SS1Tool cmd 0x3f 0x10c 0x00 0x00 0xff 0xff 0xff 0xff 0xff 0x64

Connection-less RF tests

The Connection-less RF tests are connection-less RF spectrum tests which uses a spectrum analyzer for verification.

Test that the commands are being sent to the device.

HCI Tester command format

Send_HCI_Inquiry "9E8B33", 0x04, 0x00

Bluetopia PM SS1 Tool format

SS1Tool cmd 0x01 0x001 0x33 0x8b 0x9e 0x04 0x00

Continuous TX

This is a non-packet continuous transmission with either GFSK (BR), π/4-DQPSK (2-EDR) or 8DPSK (3-EDR). It can also be used with BLE and ANT modulations.

The HCI commands to put the device in the Continuous TX mode (after service pack has been loaded) are:

HCI Tester command format

Send_HCI_Write_Scan_Enable 0x00
Send_HCI_VS_DRPb_Enable_RF_Calibration_Enhanced 0xFDFB, 1, 0xFF, 0x00000000, 0x01
Send_HCI_VS_DRPb_Tester_Con_TX 0xFDCA, 2402, 0x1, 0, 7, 0x00000000, 0x00000000

Bluetopia PM SS1 Tool format

SS1Tool cmd 0x03 0x001a 0x00 
SS1Tool cmd 0x3f 0x01fb 0x01 0xff 0x00 0x00 0x00 0x00 0x01
SS1Tool cmd 0x3f 0x01ca 0x62 0x09 0x01 0x00 0x07 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
Note: Having active Page and/or Inquiry scans running in parallel during RF tests, specially during Continuous TX tests, will cause the test signal to appear for a short period of time and the test signal will disappear on the next scan instance. This will appear as a burst rather than the Continuous TX. The BluetopiaPM enables both Page and Inquiry scans by default when the WL18xx device initializes. In order to avoid loosing the test signal after a short burst due to scan instances, the HCI_Write_Scan_Enable command must be issued before running the Continuous TX test using SS1Tool/hcitool

The HCI commands to stop the Continuous TX mode test

HCI Tester command format

Send_HCI_VS_Write_Hardware_Register 0xFF01, 0x20014044, 0x0010 #TX Stop
Send_HCI_VS_Write_Hardware_Register 0xFF01, 0x20014048, 0x0014 #TX Stop
Send_HCI_VS_Write_Hardware_Register 0xFF01, 0x2001900C, 0x0000 #Stop PN Generator

Bluetopia PM SS1 tool format

SS1Tool cmd 0x3f 0x0301 0x44 0x40 0x01 0x20 0x10 0x00
SS1Tool cmd 0x3f 0x0301 0x48 0x40 0x01 0x20 0x14 0x00
SS1Tool cmd 0x3f 0x0301 0x0c 0x90 0x01 0x20 0x00 0x00

Packet TX/RX

To enable the continuous packet transmission/receive the following commands need to be sent after the loading of the service pack:

HCI Tester command format

Send_HCI_VS_DRPb_Enable_RF_Calibration_Enhanced 0xFDFB, 0x1, 0xFF, 0x00000000, 0x01
Send_HCI_VS_DRPb_Tester_Packet_TX_RX 0xFDCC, 0, 3, 2402, 0xFFFF, 5, 0, 27, 7, 1, 0x01FF

Bluetopia PM SS1 tool format

SS1Tool cmd 0x3f 0x01fb 0x01 0xff 0x00 0x00 0x00 0x00 0x01
SS1Tool cmd 0x3f 0x01cc 0x00 0x03 0x62 0x09 0xff 0xff 0x05 0x00 0x1b 0x00 0x07 0x01 0xff 0x01

Continuous RX

To turn on the receiver portion of the chip the following command needs to be sent after the loading of the service pack:

HCI Tester command format

Send_HCI_VS_DRPb_Enable_RF_Calibration_Enhanced 0xFDFB, 0x1, 0xFF, 0x00000000, 0x01
Send_HCI_VS_DRPb_Tester_Con_RX 0xFDCB, 2402, 0x01, 0x01

Bluetopia PM SS1 tool format

SS1Tool cmd 0x3f 0x01fb 0x01 0xff 0x00 0x00 0x00 0x00 0x01
SS1Tool cmd 0x3f 0x01cb 0x62 0x09 0x01 0x01

RX BER meter test

A bit error rate (BER) meter test of the DUT is designed primarily for testing of BT sensitivity by the BT sig spec (- 70dBm per BT standard).

HCI Tester command format

Send_HCI_VS_DRPb_BER_Meter_Start 0xFD8B, 0x00, 0x00, 0x341278563412, 0x01, 0x01, 0x001b, 0x03e8, 0x01ff, 0x01

Bluetopia PM SS1 tool format

SS1Tool cmd 0x3f 0x18B 0x00 0x00 0x12 0x34 0x56 0x78 0x12 0x34 0x01 0x01 0x1b 0x00 0xe8 0x03 0xff 0x01 0x01

Delay 5000 (ms)

HCI Tester command format

Send_HCI_VS_DRP_Read_BER_Meter_Result 0xFD13

Bluetopia PM SS1 tool format

SS1Tool cmd 0x3f 0x113

The procedure is to send the first VS HCI command (HCI_VS_DRPb_BER_Meter_Start) which starts the BER function in the Wilink_X device.

A delay equal to or longer than the time it takes to read the number of packets specified is needed before the second VS HCI command (HCI_VS_DRP_Read_BER_Meter_Result is sent to read back (event) the BER test result.

The frequency channel, BD address, packet type and #bytes/packet must match that of the transmitter.

If another Wilink_X unit is used for the BT transmitter in the PLT BER test, then the following two commands needs to be sent after the successful loading of the BT service pack:

HCI Tester command format

Send_HCI_VS_Write_BD_ADDR 0xFC06, "123456781234"
Send_HCI_VS_DRPb_Tester_Packet_TX_RX 0xFDCC, 0x01, 0x03, 0x0962, 0xffff, 0x05, 0x00, 0x001b, 0x07, 0x01, 0x01ff

Bluetopia PM SS1 tool format

SS1Tool cmd 0x3f 0x006 0x34 0x12 0x78 0x56 0x34 0x12
SS1Tool cmd 0x3f 0x1CC 0x01 0x03 0x62 0x09 0xff 0xff 0x05 0x00 0x1b 0x00 0x07 0x01 0xff 0x01

Where the first VS HCI command sets the BD address of the TX device, as the DUT device needs to know the specific BD address of the transmitter. This command HCI_VS_DRPb_Tester_Packet_TX_RX sets the transmitter characteristics.