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-CC1312R1: Missing RF Patches on exported SmartRF Settings

Part Number: LAUNCHXL-CC1312R1
Other Parts Discussed in Thread: CC1350, CC1310

Hi,

In the past, I've exported SmartRF studio settings for CC1310 and CC1350 LaunchPads. I am now trying to do the same with CC1312 LaunchPad.

First, I get the error that rf_mailbox.h cannot be found:

#include DEVICE_FAMILY_PATH(driverlib/rf_mailbox.h)

I then manually set the DEVICE_FAMILY_PATH and it successfully finds rf_mailbox.h.

I then get errors finding:

#include DEVICE_FAMILY_PATH(rf_patches/rf_patch_cpe_genfsk.h)
#include DEVICE_FAMILY_PATH(rf_patches/rf_patch_rfe_genfsk.h)

Looking around the directory, I see that these patches don't exist in the CC1312 environment.

I have tried both:

ti/simplelink_cc13x2_sdk_2_10_00_48/source/ti/devices/cc13x2_cc26x2_v1/

and:

ti/simplelink_cc13x2_sdk_2_10_00_48/source/ti/devices/cc13x2_cc26x2_v2/

What is the appropriate way to resolve this? Is there a different way to export SmartRF settings, or should we wait until the code base is more stable?

Thank you.

  • Please make sure that you use the newest SmartRF Studio. You exported include paths will then look like this:

    #include <ti/devices/DeviceFamily.h>
    #include DeviceFamily_constructPath(driverlib/rf_mailbox.h)
    #include DeviceFamily_constructPath(driverlib/rf_common_cmd.h)
    #include DeviceFamily_constructPath(driverlib/rf_prop_cmd.h)
    #include <ti/drivers/rf/RF.h>
    #include DeviceFamily_constructPath(rf_patches/rf_patch_cpe_prop.h)
    #include DeviceFamily_constructPath(rf_patches/rf_patch_rfe_genfsk.h)
    #include DeviceFamily_constructPath(rf_patches/rf_patch_mce_genfsk.h)
    #include "smartrf_settings.h"
    
    
    // TI-RTOS RF Mode Object
    RF_Mode RF_prop =
    {
        .rfMode = RF_MODE_AUTO,
        .cpePatchFxn = &rf_patch_cpe_prop,
        .mcePatchFxn = &rf_patch_mce_genfsk,
        .rfePatchFxn = &rf_patch_rfe_genfsk,
    };

    BR

    Siri