SWRA749 September   2022

 

  1.   Abstract
  2.   Trademarks
  3. 1Device Power Up
    1. 1.1 Required Voltage Rail and Signal Sequence
    2. 1.2 nSHUTDOWN and HCI_RTS
  4. 2UART Communication
  5. 3Device Initialization Procedure
  6. 4Basic Bluetooth Operations
  7. 5Bluetooth RF FCC Modes
    1. 5.1 Continuous TX
    2. 5.2 Packet RX TX
    3. 5.3 Continuous RX
  8. 6Bluetooth RF SIG Mode
  9. 7Bluetooth Low Energy Testing
    1. 7.1 Transmitter Test
    2. 7.2 Receiver Test
  10. 8Revision History

Transmitter Test

The Bluetooth device will transmit to the Bluetooth tester which will analyze the power spectrum of the received data.

GUID-20220726-SS0I-QXTF-DW8N-XWNFT0F5LXSC-low.jpg Figure 7-2 Transmitter Test, Source: Code V4.0
  1. Initialize CC2564 device
    Load Core BT Service Pack (BT SP)to the CC2564 device Download Core BT SP
  2. Enable BLE mode
    Note: If the CC256x Service Pack (SP) version contains a BLE add-on SP, then the HCI_VS_LE_Enable 0xFD5B command is embedded inside the BLE add-on SP and must not be sent again.
    If the CC256x Service Pack (SP) version contains a BLE add-on SP:
    Load BLE Add-On SP Download BLE Add-On SP

    Otherwise,

    Execute the ''HCI_VS_LE_Enable 0xFD5B, 1, 1'' command
  3. Set the BLE Test Parameters
    Note: Power Level 1 is used for BLE. For more information on this command, refer to the CC256x_VS_HCI_Commands wiki
    HCI_VS_Set_LE_Test_Mode_Parameters 0xFD77, 0x01, 0x0, Packets to transmit, Access Code, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00000000
    Table 7-1 BLE Test Parameters
    Command Parameter Size (bytes) Value Description
    Packets to transmit 2

    0x0000

    N

    Unlimited - Continuous TX

    N number of packets to transmit (1)

    Access code 4 0xXXXXXXXX

    An access code to sync and transmitDefault = 0x71764129 (TestMode AC)

    If the Packets to transmit is a specific value (i.e. Non-continuous), then the HCI_BLE_Transmitter_Test 0x201E must be sent twice. For more information, refer to the following E2E post
  4. Start TX test
    HCI_BLE_Transmitter_Test 0x201E, TX_Channel , Data_Length, Payload_Type
    Table 7-2 Start TX Test
    Command Parameter Size (bytes) Value Description
    TX_Channel 1 0 - 39

    TX Frequency: 2402 + 2*k,where k is the channel (max val is 39)

    Data_Length 1 0 - 37 (0x025)

    Packet payload length up to 37 (0x25) bytes

    Payload_Type 1 0 - 7

    0 - PRBS9

    1 - FOFO

    2 - ZOZO

    3 - PRBS15

    4 - All Ones

    5 - All Zeros

    6 - OFOF

    7 - OZOZ

  5. Take measurements
    Look at the Bluetooth tester results.
  6. End BLE TX Test
    HCI_BLE_Test_End 0x201F
    Note: To re-start transmission, go back to steps 3 (optional) and 4.