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.

LAUNCHXL-CC1352P: Wrong easylink configurations for long range mode

Part Number: LAUNCHXL-CC1352P
Other Parts Discussed in Thread: CC1352P

Hi,

When building an app for this board, I added the build option to enable support for "Sub1G 625bps data rate, Long Range Mode", by adding -DSUPPORT_PHY_625BPSLRM.

On the easylink_config.c (this is common to all the CC1352Pxx variants in the SDK examples) there is this 

#if defined(SUPPORT_PHY_625BPSLRM)
    {.EasyLink_phyType = EasyLink_Phy_625bpsLrm,
     .RF_pProp = &RF_prop_lrm,
     .RF_uCmdPropRadio.RF_pCmdPropRadioDivSetup = &RF_cmdPropRadioDivSetup_lrm,
     .RF_pCmdFs = &RF_cmdFs_preDef,
     .RF_pCmdPropTx = &RF_cmdPropTx,
     .RF_pCmdPropTxAdv = NULL,
     .RF_pCmdPropRxAdv = &RF_cmdPropRxAdv_preDef,
     .RF_pTxPowerTable = RF_TX_POWER_TABLE,
     .RF_txPowerTableSize = RF_TX_POWER_TABLE_SIZE
    },
#endif //defined(SUPPORT_PHY_625BPSLRM)

on which there are a couple of missing variables: RF_prop_lrm & RF_cmdPropRadioDivSetup_lrm.

I couldn't find them anywhere, so I've replaced those with  RF_prop_sl_lr &  RF_cmdPropRadioDivSetup_sl_lr. Doesn't seem to be working.

Can someone from the SimpleLink team please check this and possibly fix it for a future SDK release?

Thanks!

  • Hi Jose,

    which SDK are you using here?

    Thanks,

  • cc13x2_26x2_sdk_3_20_00_68
  • I have to correct the part that I've stated it's working. After further testing it IS NOT working with the settings I reused.

  • Hi,

    From smartrf_settings_predefiend.c file it looks like only 5, 2.5 and 1.25 kbps modes are supported.

    They can be set by un-commenting the respective HW_REG_OVERRIDEs:

    // Overrides for CMD_PROP_RADIO_DIV_SETUP_PA SIMPLELINK LONGRANGE
    uint32_t pOverrides_sl_lr[] =
    {
    // override_phy_simplelink_long_range_dsss2.xml
    // PHY: Configure DSSS SF=2 for payload data
    HW_REG_OVERRIDE(0x5068,0x0100), //DSSSx2 5kbps
    //HW_REG_OVERRIDE(0x5068,0x030C), // DSSSx4 2.5kbps
    //HW_REG_OVERRIDE(0x5068,0x073C), // DSSSx8 1.25kbps
    // override_tc880_tc881_tc882.xml
    // Tx: Configure PA ramp time, PACTL2.RC=0x3 (in ADI0, set PACTL2[4:3]=0x3)

    ...

    ...

    }

     

     

  • Hi,

    Thank you for looking into this.

    A couple of follow-up questions, please, so I can understand this better:

    1. I should choose from one of the 3 options above (5, 2.5 and 1.25 kbps) and uncomment the respective line. Correct?

    2. If the above is correct, then the enum EasyLink_PhyType is missing the "derivatives" of EasyLink_Phy_5kbpsSlLr which would be something like EasyLink_Phy_2_5kbpsSlLr and EasyLink_Phy_1_25kbpsSlLr. Correct?

    3. The EasyLink_Phy_625bpsLrm shouldn't be there (or is invalid for this configuration) because there are no SmartRF settings to support it. Correct?

    Thanks!

     

  • Hi,

    1. Yes, that is the case.

    2. In SL_LR modes the particular override (in item 1) takes care of the coding/decoding that occurs in the modem. See www.tij.co.jp/.../swra642.pdf.

    If you have two launchpads, you can program one as TX from Easylink SDK and use the other launchpad via SmartRF stuido to receive the LRM packets of various spreading factors i.e. DSSS. Ofcourse, the TX and RX DSSS should be the same.

    3. This seems to be the case. 625bps is a legacy long range mode and is not supported in CC1352P. See dev.ti.com/.../node

    Thanks