This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

How to change power of BLE for wilink1835

Other Parts Discussed in Thread: WL1835

Hi,


We uses wl1835(wifi+bt)and in our use case BLE used.

For certification, we need to change power of BLE but I did not find any option to change power of BLE device in below link.

"processors.wiki.ti.com/.../WL18xx_Bluetopia_PM_Bluetooth_RF_Testing"


So is it possible to change power of BLE for wl1835 or is it fix for BLE of WL1835??

  • hi , we have assigned post to BT expert.
    Saurabh
  • Hi,

    The WL18xx devices use Power Vector to set output power level for various BT classic modulations (GFSK/EDR2/EDR3) and the BT LE(BLE) modulation. Please see the section 5.1.3.2 in the following document regarding how to change the output power for BLE.

    www.ti.com/.../swru442a.pdf

    Best regards,
    Vihang
  • Hi Vihang,

    I referred above pdf that you have suggest and fired below sequence to change the power level and start continuous TX test for BLE.

    1) hcitool cmd 0x3f 0x182 0x00 0x9c 0x4 0xd2 0xd2 0xd2 0xd2 0xd2 0xd2 0xd2 0xdc 0xe6 0xf0 0xfa 0x04 0x0e 0x18 0xff 0x00 0x00
    Here I have set BLE power to 0x04(2 dbm) for GFSK (0x00) also checked with BLE(0x03)
    2) hcitool cmd 0x3f 0x177 0x01 0x00 0x00 0x00 0x00 0x29 0x76 0x71 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
    After 1st command I have apply this command to continuous TX power.
    3) hcitool cmd 0x08 0x001e 0x02 0x10 0x00
    After above two commands I started continuous transmission by executing this command
    Here I have used channel -2 (0x02)

    I have executed above sequence many time by changing BLE power level value in 1st command but every times devices transmit with same power level (-29 dbm). We have checked using spectrum analyzer.

    I have also used below command to change BLE power level.
    hcitool cmd 0x3f 0x1dd 0x03
    But it did not create any effect of power level and got same power level (-29dbm).

    Could I fired correct commands??
    Please help, I want to start continuous TX test of BLE for different power level.
    BLE device used is WL1835.
  • Hi,

    Do you have any solution?? I need your help to change BLT power level for WL1835.

    I tried many commands but it still maintain constant power (-29dbm) and not changed. So is it possible to change BLE power for wl1835??

    I am executing commands that listed on previous post.

  • Ankit,

    As mentioned in the procedure of the section 5.1.3.2, the RF calibration command is needed after setting the desired power vector. 

    5. Execute transmit power control (TPC) calibration, configuring Initialization calibration mode and
       override temp changes condition:
       
       # Run TPC calibration to update the ACW (Amplitude Control Word) to the PA
       Send_HCI_VS_DRPb_Enable_RF_Calibration_Enhanced 0xFDFB, 0x00, 0x00000800, 0x01
       Wait_HCI_Command_Complete_VS_DRPb_Enable_RF_Calibration_Enhanced_Event 5000, any,
       HCI_VS_DRPb_Enable_RF_Calibration_Enhanced, 0x00

    The new power vector will not be effective until this calibration is performed.

    Best regards,

    Vihang

  • Hi Vihang,

    I tried the step that you have suggest but still getting same power (-29dbm) and could not be changed for BLE.

    I am follow below command sequence for changing power level 1 (BLE level) and start continuous TX test for BLE


    hcitool cmd 0x3f 0x01fb 0x01 0xff 0x00 0x00 0x00 0x80 0x00 (disable RF Calibration)

    hcitool cmd 0x3f 0x182 0x00 0x9c 0x4 0xd2 0xd2 0xd2 0xd2 0xd2 0xd2 0xd2 0xdc 0xe6 0xf0 0xfa 0x04 0x0e 0x18 0xff 0x00 0x00 (set BLE power to 0x04)

    hcitool cmd 0x3f 0x01fb 0x01 0x00 0x08 0x00 0x00 0x00 0x01 (Executed TPC calibration)

    hcitool cmd 0x3f 0x177 0x01 0x00 0x00 0x00 0x00 0x29 0x76 0x71 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 (Set to transmit packets continuously and use power level 1 which used for BLE)

    hcitool cmd 0x08 0x001e 0x02 0x10 0x00 (Set channel 2 and start TX test)

    I have executed above sequence many times by changing power level 1 value in 2nd command which is currently 0x04 but I am getting constant power (-29 dbm). I could not be changed power of BLE.

    Your feedback is more important for me. The sequence i have followed which is correct??

  • Hi Vihang,

    I have used below link for set power of BLE and continuous TX for BLE

    "www.processors.wiki.ti.com/.../WL18xx_Bluetopia_PM_Bluetooth_RF_Testing

    Referred section : 2.1


    As per above mentioned section number, I have changed TxMode = 0x04 for BLE. The Commands i have used are mentioned below.

    =======================================================================================

    Continuous TX

    =======================================================================================

    This is a non-packet continuous transmission with either GFSK (BR), π/4-DQPSK (2-EDR) or 8DPSK (3-EDR).

    Steps and the HCI commands to put the device in the constant TX mode are:

    Step 1:

    run init script.

    Step 2:

    #set TxMode: 0x0 = un-modulated Single carrier, 0x1 = GFSK, 0x2 = EDR2, 0x3 = EDR3, 0x4 = BLE, 0x5 = ANT
    TxMode = 1

    Step 3:

    Send_HCI_VS_DRPb_Enable_RF_Calibration_Enhanced 0xFDFB, 0x1, 0xFF, 0x00000000, 0x01
    Wait_HCI_Command_Complete_VS_DRPb_Enable_RF_Calibration_Enhanced_Event 5000, any,HCI_VS_DRPb_Enable_RF_Calibration_Enhanced, 0x00

    Step 4:

    Send_HCI_VS_DRPb_Tester_Con_TX 0xFDCA, 2402, 0x04, 0, 7, 0x00000000, 0x00000000 // For TxMode relevant value please see step2
    Wait_HCI_Command_Complete_VS_DRPb_Tester_Con_TX_Event 5000, any, HCI_VS_DRPb_Tester_Con_TX, 0x00

    ==================================================================================================================

    For certification testing of BLE:

    I followed the above mentioned steps in order to test continuous transmission on different power level for BLE.

    Now when I  changed TxMode to 0x04 and executed above commands, I was able to changed the power level.

    But my question is that by changing TxMode to 0x04 (BLE) and executing above commands, is the device is consider as BLE ?

    And Is this test (continuous Tx test) valid for BLE certification ?

  • Hi Ankit,

    But my question is that by changing TxMode to 0x04 (BLE) and executing above commands, is the device is consider as BLE ?
    -> Not sure what do you mean by "consider as BLE". The device is still dual-mode (BT+BLE). This test mode that you have with Con. TX is set with the BLE mode meaning the Con. TX will have the data-stream BLE modulation and format. So you can use this test mode during certification when testing BLE modulation.

    And Is this test (continuous Tx test) valid for BLE certification ?
    -> Yes. The first answer covers this.

    BR,
    Vihang
  • Thanks Vihang. Your response is really helpful.