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.

CC1312R: SmartRF Studio 7 Version + SimpleLink SDK Version Compatibility

Part Number: CC1312R
Other Parts Discussed in Thread: CC1352R, CC1352P

I'm trying to understand how to ensure compatibility between what Smart RF Studio produces in its code export and a given version of the SimpleLink SDK.

I'm working with a customer that is using the CC1312 Rev 1.1 with SimpleLink SDK 1.60.  Eventually, they will move to the CC1312 Rev 2.1 with SimpleLink SDK 2.40 (or greater).  How do I know what version(s) of Smart RF Studio can be used with which versions of the SimpleLink SDK?

I've looked through the SDK release notes as well as the SmartRF Studio release notes and have found no indication on this.  I decided to see what Smart RF Studio actually generated and have observed the following:

"CC1312R Open RF Device in Offline Mode"

"Code Export"

Template: "simpleLink_SDK_template_v3.cet.xml" (default)

// Generated by SmartRF Studio version 2.12.1 (build#160)

// The applied template is compatible with CC13x2 SDK 2.40.xx.xx

// Device: CC1312R Rev. 2.1

"CC1312R Open RF Device in Offline Mode" (SDK 1.60 is not supposed to be valid combination with CC1312R Rev 2.1)

"Code Export"

Template: "simpleLink_SDK_template_v2.cet.xml"

// Generated by SmartRF Studio version 2.12.1 (build#160)

// The applied template is compatible with CC13x2 SDK 1.60.xx.xx

// Device: CC1312R Rev. 2.1

"CC1312R Open RF Device in Offline Mode - REV C Version"

"Code Export"

Template: "simpleLink_SDK_template_v2.cet.xml" (default)

// Generated by SmartRF Studio version 2.12.1 (build#160)

// The applied template is compatible with CC13x2 SDK 2.60.xx.xx

// Device: CC1312R Rev. 1.1

"CC1312R Open RF Device in Offline Mode - REV C Version(SDK 2.40 is not supposed to be valid combination with CC1312R Rev 1.1)

"Code Export"

Template: "simpleLink_SDK_template_v3.cet.xml"

// Generated by SmartRF Studio version 2.12.1 (build#160)

// The applied template is compatible with CC13x2 SDK 2.40.xx.xx

// Device: CC1312R Rev. 1.1

In addition to invalid combinations of SDK and silicon rev being possible, and lack of documentation, there seems to be no possibility to specify code export for other SDK versions that are not SDK 1.60 or SDK 2.40.  What if for instance I am using SDK 2.30?

Thanks,

Stuart

  • Hi Stuart

    The only SmartRF Studio version that supports Rev. E is Version 2.12.0.

    From the revision history:

    "Release date: January 9, 2019

    New Features and Enhancements

    [CC13x2/CC26x2] Radio settings (Preview): All settings updated for revision E devices"

    Simplelink_cc13x2_26x2_sdk_2_40_00_81 is the only SDK that supports rev. E:

    From the release note:

    "This SDK supports the following SimpleLink CC13x2 and CC26x2 wireless MCUs with silicon revision E (PG 2.1):

    CC1312R

    CC1352R

    CC1352P

    CC2652

    CC2642"

    BR

    Siri

     

     

     

  • Siri,

    Thank you for the attempt, but you haven't really answered my questions and concerns.

    First off, it looks like SmartRF Studio 7 (v2.12.1) will gladly allow me to export code with an invalid match between silicon rev and SDK version.  For example, it allows me to export code for SDK1.60 and Rev 2.1 as well as SDK2.40 and Rev 1.1 (as documented by the inline comments).  These are supposed to be totally invalid combinations, whey does the tool allow it?

    Second, you haven't given me an answer for the proper way to export code for SDK versions other than 2.40 and 1.60, which we have customers using.  For example, how do I know if what I'm exporting is compatible with Rev 1.1 and SDK 2.30 when the comments state state Rev 1.1 and SDK 1.60?  Is it compatible?  I seriously have no idea.

    I've read the SDK release notes.  It does not seem to be clearly documented anywhere on how I can get a code export that is compatible with SDK 2.30 (for example).  The inline comments only state either SDK 1.60 or SDK 2.40, and seems to also allow invalid combinations.

    Thanks,

    Stuart

  • Some input:

    You can hover over the different templates to see which one you should use for a given SDK. The difference between the old SDKs (up to v2.3) and 2.4 is the drivers, not the format of the SmartRF files.

  • TER,

    I must say, this is extremely confusing, and I'm not sure how anyone is supposed to figure this out without directly asking someone in the TI product team.  I'm also questioning the results I'm getting using this method.  For example:

    I'm open in Rev C offline mode.  I hover over simpleLink_SDK_template_v3.cet.xml.  The comment says - CC13x2 SDK version 2.10.00 and newer.  If I choose this option, the inline code comments state:

    //*********************************************************************************

    // Generated by SmartRF Studio version 2.12.1 (build#160)

    // The applied template is compatible with CC13x2 SDK 2.40.xx.xx

    // Device: CC1312R Rev. 1.1

    This seems incredibly dubious to me.  The inline comments are stating to me that the generated code is for Rev 1.1 and for SDK 2.40.xx.xx (not 2.10.00 and newer).  I, and the customer, have many doubts on if we are generating the correct code for Rev 1.1 and CC13x2 SDK 2.30.

    Do you really think that this is clear?  If so, I cannot agree with that.  I'm still not sure what the correct choice is.

    Thanks,

    Stuart

  • "How do I know what version(s) of Smart RF Studio can be used with which versions of the SimpleLink SDK?": The version you are using supports all SDK versions.

    The text in the line starting with "The applied template" could be a bit misleading. Basically this line show which SDK the given version of SmartRF Studio is tested with. I have placed a ticket to make this line clearer.

    So: To be sure you are using the correct template, hover over it. Disregard the "The applied template" line in the generated code