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.

CC2652P: HCIExt_EnhancedModemHopTestCmd using Btool

Genius 5840 points
Part Number: LAUNCHXL-CC1352P
Other Parts Discussed in Thread: CC2652P, CC1352P, CC2652R

Hello,

I made custom board using CC2652P.

I would like to prepare for test, so I'm using Btool.

In CC2652P, does the Btool and host test project supports HCIExt_EnhancedModemHopTestCmd?

Can I change the output power when using HCIExt_EnhancedModemHopTestCmd?

I tested HCIExt_EnhancedModemTestCmd, then, Radio waves are output with the specified power by setting HCIExt_SetTxPowerCmd.

(When setting 5dBm, the radio are output at the 5dBm)

But when I tested HCIExt_EnhancedModemHopTestCmd, output is still only -16dBm no matter what value set by HCIExt_SetTxPowerCmd.

Then, I modified host_test_app.c as below.

static void HostTestApp_taskFxn(UArg a0, UArg a1)
{
  // Initialize application
  HostTestApp_init();
  HCI_EXT_SetTxPowerCmd(TX_POWER_20_DBM);    //edited 

After that, when I tested HCIExt_EnhancedModemTestCmd, the output is properly +20dBm.

But when I tested HCIExt_EnhancedModemHopTestCmd, the output is still -16dBm.

I tested following SDK both.

simplelink_cc13x2_26x2_sdk_3_40_00_02\examples\rtos\CC1352P_2_LAUNCHXL\ble5stack\host_test
simplelink_cc13x2_26x2_sdk_4_10_00_78\examples\rtos\CC1352P_2_LAUNCHXL\ble5stack\host_test

I have only CC2652R Launchpad, It works well also using HCIExt_EnhancedModemHopTestCmd.

Regards,

U-SK

  • Hi,

    How did you create the board with a CC2652P device? (Did you solder it on a CC1352P-2 LaunchPad?)

    I don't understand the difference between the success case and the fail case above. Can you please elaborate?

  • Hi Marie H,

    Thank you for your reply.

    >How did you create the board with a CC2652P device? (Did you solder it on a CC1352P-2 LaunchPad?)

    I made a schematics with CC2652P and made a custom board with CC2652P device mounted.

    I don't have CC1352P-2 LaunchPad and not used.

    >I don't understand the difference between the success case and the fail case above. Can you please elaborate?

    In my custom board, HCIExt_EnhancedModemTestCmd seems to works well, but HCIExt_EnhancedModemHopTestCmd doesn't work properly.

    Because output power of HCIExt_EnhancedModemHopTestCmd is not varied at the -16dBm when changing HCIExt_SetTxPowerCmd.

    In CC2652R launchpad, it is possible to change output power of HCIExt_EnhancedModemHopTestCmd by changing HCIExt_SetTxPowerCmd.

    So I wonder CC2652P does not supports adjusting output power of HCIExt_EnhancedModemHopTestCmd.

    If CC1352P-2 LaunchPad is used, is it possible?

    Regards,

    U-SK

  • Hi,

    Do you have any updates?

    Regards,

    U-SK

  • Part Number: LAUNCHXL-CC1352P

    Hello,

    If I use LAUNCHXL-CC1352P-2 loaded the host test project and use BTool, could you tell me how to change the output power of HCIExt_EnhancedModemHopTestCmd?

    If it is possible, what is the output power range that can be set in CC2652P?

    RF output port I am using in CC2652P is +20dBm port.

    Regards,

    U-SK

  • Hi,

    I am assigning an expert to comment on this for you. 

    Regards,
    Michael

  • Hi,

    Please use the HCI_EXT_SetTxPowerCmd():

     

    The available settings for Tx Power vary between SDKs, so be sure the check the API guide for your SDK. For SimpleLink CC13x2/CC26x2 SDK 4.10 the availeble settings are found here:

     

  • Hi Marie H,

    Thank you for your reply.

    At the HCIExt_EnhancedModemHopTestCmd ,does your CC2652P board works fine and change the output power by changing HCI_EXT_SetTxPowerCmd ()?


    At the only HCIExt_EnhancedModemHopTestCmd, my custom board implemented CC2652P doesn't change output power by changing HCI_EXT_SetTxPowerCmd ().


    HCIExt_EnhancedModemTestCmd works well and changes output power by changing HCI_EXT_SetTxPowerCmd ().
    Regards,

    U-SK

  • Hi U-SK,

    Did you follow the guidelines in this app note when designing the custom board?

    When developing the application, it is recommended to use the LaunchPad first to verify that the device gets the expected behavior.

    You can read more about HCI_EXT_EnhancedModemHopTestTxCmd() in the API guide. It should work the same for the CC2652P and CC1352P devices.

    Thanks, 
    Elin