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.

CC2564C: CC2564C - How to change TX output power

Part Number: CC2564C

Hello,

I have a question regarding TI bluetooth chip CC2564C. I'm using it in combination with STM3240G-eval board (CC256x STM32 Bluetopia SDK v4.2.1.0)

I've tried to change output power within HFP_AG sample demo: HCI_VS_DRPb_Set_Class2_Single_Power.

However, with the spectrum analyzer I cannot see any difference between standard settings and custom settings (-50 dBm).

I added the following code :

int InitializeApplication(HCI_DriverInformation_t *HCI_DriverInformation, BTPS_Initialization_t *BTPS_Initialization)
{
   int ret_val = APPLICATION_ERROR_UNABLE_TO_OPEN_STACK;

   /* Next, makes sure that the Driver Information passed appears to be */
   /* semi-valid.                                                       */
   if((HCI_DriverInformation) && (BTPS_Initialization))
   {
      /* Try to Open the stack and check if it was successful.          */
      if(!OpenStack(HCI_DriverInformation, BTPS_Initialization))
      {
        
           /* Lower Output Power */
          ret_val = VS_Set_Max_Output_Power(BluetoothStackID, 0);
          if(!ret_val)
          {
             Display(("\r\n   VS_Set_Max_Output_Power success \r\n"));
          }
          else
          {
             Display(("\r\n   VS_Set_Max_Output_Power fail %d \r\n", ret_val));
          }
          /*... rest of the InitializeApplication */

....

}

I can see the command executed with TI HCI Logger:

Default settings for TX output power (limited in software to 10 dBm):

 Set TX output power to -50 dBm - no impact on TX output power (measured with spectrum analyzer)

Does anybody have an idea why I see no difference with the spectrum analyzer regarding the TX output power?

Thanks and Regards

Tim

  • Please check this thread, asking similar question -

    e2e.ti.com/.../618549

    Thanks
  • Hi,

    thanks for your answer.

    Unfortunately, your link to a referred question/thread doesn't answer my question (I already configured HCI_VS_DRPB_SetPower_Vector and HCI_VS_DRPb_Set_Class2_Single_Power --> no impact on TX output power).

    I don't understand why the TX output power always stays at default power even if i change it through HCI commands (see figures in previous post).

    Any help would be greatly appreciated.

    Best Regards

    Tim

  • Tim, could you please share the Bluetooth logger files for both default and changed settings? In general, the HCI_VS_DRPb_SetPower_Vector decides the power vector values and the HCI_VS_DRPb_Set_Class2_Single_Power just specifies the value out of that table that would be used as class2 power only when the remote device does not support enhanced power configuration settings.

    Please also try a realistic value like 0dBm for your power settings instead of -50dBm.

    Best regards,
    Vihang