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.

CC2340R5: CC2340R5 : LP_EM_CC2340 : Tx Power is not supporting

Part Number: CC2340R5

Hi , I'am working on CC2340R5 . It looks like the function HCI_EXT_SetTxPowerCmd( uint8 txPower ); is not working . Im using the latest version of SDK , "simplelink_lowpower_f3_sdk_7_10_00_11_eng". Can I get help to resolve this issue. 

  • Hello Krishna,

    Thanks for reaching out, I am sending this to the appropriate expert.

    Kind Regards,

    Rogelio

  • HI Krishna, 

    First, your sdk is not the the latest one, you have a pre-release one, please download this one as a lot of bug were fix since your version:

    SIMPLELINK-LOWPOWER-F3-SDK Software development kit (SDK) | TI.com

    Concerning the TxPower, can you detail a bit more what's means "is not working"?

    Did you try this command on Btool? Did you check the current?

    regards,

  • Now that I have changed the sdk, and I'm trying to send HCI_EXT_SetTxPowerCmd(); function from app_main.c in Basic_BLE_project. The command is not taking .

  • /**
     * @defgroup TX_Power_Index TX Power Index
     * @{
     */
    #ifndef CC23X0
    #if defined( CC26XX ) || defined( CC13XX ) || defined ( CC33xx )
    #define HCI_EXT_TX_POWER_MINUS_20_DBM                   LL_EXT_TX_POWER_MINUS_20_DBM            //!< -20 dBm
    #define HCI_EXT_TX_POWER_MINUS_18_DBM                   LL_EXT_TX_POWER_MINUS_18_DBM            //!< -18 dBm
    #define HCI_EXT_TX_POWER_MINUS_15_DBM                   LL_EXT_TX_POWER_MINUS_15_DBM            //!< -15 dBm
    #define HCI_EXT_TX_POWER_MINUS_12_DBM                   LL_EXT_TX_POWER_MINUS_12_DBM            //!< -12 dBm
    #define HCI_EXT_TX_POWER_MINUS_10_DBM                   LL_EXT_TX_POWER_MINUS_10_DBM            //!< -10 dBm
    #define HCI_EXT_TX_POWER_MINUS_9_DBM                    LL_EXT_TX_POWER_MINUS_9_DBM             //!< -9 dBm
    #define HCI_EXT_TX_POWER_MINUS_6_DBM                    LL_EXT_TX_POWER_MINUS_6_DBM             //!< -6 dBm
    #define HCI_EXT_TX_POWER_MINUS_5_DBM                    LL_EXT_TX_POWER_MINUS_5_DBM             //!< -5 dBm
    #define HCI_EXT_TX_POWER_MINUS_3_DBM                    LL_EXT_TX_POWER_MINUS_3_DBM             //!< -3 dBm
    #define HCI_EXT_TX_POWER_0_DBM                          LL_EXT_TX_POWER_0_DBM                   //!< 0 dBm
    #define HCI_EXT_TX_POWER_1_DBM                          LL_EXT_TX_POWER_1_DBM                   //!< 1 dBm
    #define HCI_EXT_TX_POWER_2_DBM                          LL_EXT_TX_POWER_2_DBM                   //!< 2 dBm
    #define HCI_EXT_TX_POWER_3_DBM                          LL_EXT_TX_POWER_3_DBM                   //!< 3 dBm
    #define HCI_EXT_TX_POWER_4_DBM                          LL_EXT_TX_POWER_4_DBM                   //!< 4 dBm
    #define HCI_EXT_TX_POWER_5_DBM                          LL_EXT_TX_POWER_5_DBM                   //!< 5 dBm
    #if defined( CC13X2P ) || defined( CC33xx )
    #define HCI_EXT_TX_POWER_P2_14_DBM_P4_6_DBM             LL_EXT_TX_POWER_P2_14_DBM_P4_6_DBM      //!< P2: 14 dBm P4: 6 dBm
    #define HCI_EXT_TX_POWER_P2_15_DBM_P4_7_DBM             LL_EXT_TX_POWER_P2_15_DBM_P4_7_DBM      //!< P2: 15 dBm P4: 7 dBm
    #define HCI_EXT_TX_POWER_P2_16_DBM_P4_8_DBM             LL_EXT_TX_POWER_P2_16_DBM_P4_8_DBM      //!< P2: 16 dBm P4: 8 dBm
    #define HCI_EXT_TX_POWER_P2_17_DBM_P4_9_DBM             LL_EXT_TX_POWER_P2_17_DBM_P4_9_DBM      //!< P2: 17 dBm P4: 9 dBm
    #define HCI_EXT_TX_POWER_P2_18_DBM_P4_10_DBM            LL_EXT_TX_POWER_P2_18_DBM_P4_10_DBM     //!< P2: 18 dBm P4: 10 dBm
    #define HCI_EXT_TX_POWER_P2_19_DBM                      LL_EXT_TX_POWER_P2_19_DBM               //!< P2: 19 dBm
    #define HCI_EXT_TX_POWER_P2_20_DBM                      LL_EXT_TX_POWER_P2_20_DBM               //!< P2: 20 dBm
    #endif // CC13X2P || CC33xx
    #else // CC254x
    #define HCI_EXT_TX_POWER_MINUS_23_DBM                  LL_EXT_TX_POWER_MINUS_23_DBM //!< -23 dBm
    #define HCI_EXT_TX_POWER_MINUS_6_DBM                   LL_EXT_TX_POWER_MINUS_6_DBM  //!< -6 dBm
    #define HCI_EXT_TX_POWER_0_DBM                         LL_EXT_TX_POWER_0_DBM        //!< 0 dBm
    #define HCI_EXT_TX_POWER_4_DBM                         LL_EXT_TX_POWER_4_DBM        //!< 4 dBm
    #endif // CC26XX/CC13XX
    #endif //CC23X0
    /** @} End TX_Power_Index */
    
    

    SDK : simplelink_lowpower_f3_sdk_7_10_00_35

    TX power is disabled for 2340?

    I tried "HCI_EXT_SetTxPowerCmd(HCI_EXT_TX_POWER_0_DBM);"

    Module is going in unknown state. No advetisement.

  • Hello Krishna,

    The HCI commands isn't supported, as far as I see you can to try to call HCI_EXT_SetTxPowerDbmCmd(int8 txPower, uint8 fraction) directly from the application level. (The command isn't yet available in Btool). The parameters aren't defines now but real inputs.

    hope this help you a little,

    Regards,

  • Hi,

    My apologies. we have also troubles with this command. The issue is now in good hands and our R&D is working on this to provide a workaround ASAP.

    From my side I'm searching for a patch, from your side is this a production-stop level issue?

    regards,