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-CC1352R1: Project from scratch - Sensor Controller Studio - Simplelink Academy doubt

Part Number: LAUNCHXL-CC1352R1
Other Parts Discussed in Thread: SYSCONFIG

Hi! I´m learning how to use Sensor Controller Studio with SimpleLink Academy tutorials with CC1352R1 LACUNHXL and CC1352-LPSTK. I am doing "Project from Scratch" tutorial and i have two doubts.

1) In I/O Configuration it says I have to comment on code lines from the file "CC1352R1_LAUNCHXL.c" but either I can't find the file or it's missing for some reason. I attached two images, the first one is a screenshot of my project and the second one is the example the tutorial provides.

2)I followed every step of the tutorial without having configured the file mentioned in point 1. When I build the project I get an error which is shown in the third image. It says the "Board_GPIO_RLED" variable is undefined so I don't know if I  missed a step from the tutorial in which I had to define this variable or if this problem is related to the file from point 1. 

Image 1:

Image 2:

Image 3:


Best Regards,
William

  • Hi William

    It seems like the SLA is not updated for the latest SDKs.

    First of all, when you are using the CC13x2 devices and not CC13x0, the examples uses sysConfig to get up the GPIOS etc, sothe files and steps explained under I/O configuration is not valid.

    The empty project for the CC13x2 devices do not use the green LED, so there are no conflict here, and no steps needs to be done.

    The example uses only the red LED, but this is not called Board_GPIO_RLED, as referred to in the code snippets you are suppose to copy, but rather CONFIG_GPIO_LED_0

    I will report this as a bug to have the SLA being updated.

    BR

    Siri