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.

CC1352R: LPSTK Bluetooth Mesh Support / Project

Part Number: CC1352R
Other Parts Discussed in Thread: SYSCONFIG

Hi!

I currently can't find the "simple_mesh_node" project or any bluetooth mesh project inside any SDK for the CC1352R / LPSTK. I did find another post, where TI stated, that it's inside the SDK and supported on the CC1352R?

https://e2e.ti.com/support/wireless-connectivity/bluetooth-group/bluetooth/f/bluetooth-forum/967982/cc1352r-cc1352r-bluetooth-mesh-capability-support/3593551#3593551

Maybe I'm blind, but could somebody please tell me where it's located? 

Best Regards,

SPEEDBIRD

  • Hey Speedbird,

    Please see the following related post: https://e2e.ti.com/support/wireless-connectivity/bluetooth-group/bluetooth/f/bluetooth-forum/997262/cc1352p-confusion-about-bluetooth-mesh 

    Put short, there is no SDK example for the CC1352R, but it should be fairly easy to create one (with no device limitations as stated in the linked e2e thread). If you need any help creating this, please let me know.

    EDIT: I will attempt this task and try to follow up by the end of the week so that I may provide you detailed instructions.

  • Thank you, please keep me up to date on the detailed instructions and if you have any successRelaxed

  • To be clear, I will try to provide instructions on creating a project for your device variant, however you may need to take it a step further and add the extra code for the LPSTK sensors. Will follow up soon.

  • Hi,

    I tried it out and was able to successfully build a CC1352R1 variant by simply changing the device variant in project settings. In addition, I changed the SysConfig file to pull in the correct device. Details below:

    1. Import the simple_mesh_node project from the CC13x2P_2_LAUNCHXL variant to your CCS workspace.
    2. Navigate to Project>Properties.
    3. Select the General Tab on the left hand menu and select the Project tab, change the Device Variant to your board (in this case "CC1352R1F3".
      1. Selecting a new variant, in my testing, reset the Linker command file in the project. Make sure you have " cc13x2_cc26x2_app.cmd " in the linker command file section.
    4. Change from the Project Tab to the Products Tab. Under Platform, modify this to your platform ("ti.platforms.simplelink:CC1352R1F3" in your case).
    5. Right click on the simple_mesh_node.syscfg and open it as a text file. Change line 32 to your board type, as shown below.
      1. // @cliArgs --board /ti/boards/CC1352R1_LAUNCHXL
    6. Build the project.

    These steps will apply to other device variants. Please note that I was only able to do a quick build and minor functional test to verify basic functionality. As these other project variants are not included in the SDK, newly created variants are not tested in the same manner the other projects are tested.

    Hope this helps.

    P.S. You can also change the project name by right clicking on the project and hitting "Rename" or hitting F2 with the project selected.

  • Thank you very much for the quick reply. I actually did not expected you to be that fast with the answer!

    Sadly, I'm not able to change the Device Variant - it's says me to change it in sysconfig and I can't find the field where I can change / select a different device / board.

    Do you maybe have an idea?

    Best Regards,


    SPEEDBIRD

  • Hey Speedbird,

    You will have to open the .syscfg file as a text file and edit it that way. Opening the GUI will not expose the line of code you need to change.

    You can do so by right clicking on the .syscfg file>Open With>Generic Text Editor. If you are unable to do this, can you provide a screenshot of what you are attempting so I can understand where you are at more clearly?

  • Hey Ammar,

    You beat my expectations again! Joy

    It worked out like a charm and I got to learn a few tricks in ccs & sysconfig! I actually did not know I could edit sysconfig like that.

    Thank you for the detailed description.

    But in general, maybe it would make sense if TI adds the bluetooth mesh to the CC1352R1F3 inside the SDK, because I think a lot of people use the LPSTK for general development & evaluations.

    Thank you and enjoy your weekend!


    Best Regards,

    SPEEDBIRD

  • Of course. I've started these discussions internally and we'll work to include them soon!