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.

LP-EM-CC1354P10: Sensor Controller code not running when compiled with CCS

Part Number: LP-EM-CC1354P10
Other Parts Discussed in Thread: CC1354P10

Tool/software:

Hi,

I have a simple code to blink a LED using GPIO made with SCS. I tested it with the Task Testing and it is workin as expected.

I followed the Training Section "Sensor Controller Project from Scratch": I imported the "empty" project from Resource Explorer and saved the SC code to this project as it is said. Then, on empty.c, I include scif.h and  initialize the SC:

    /* Sensor controller */
    scifOsalInit();
    scifOsalRegisterCtrlReadyCallback(scCtrlReadyCallback);
    scifOsalRegisterTaskAlertCallback(scTaskAlertCallback);
    SCIF_RESULT_T success = scifInit(&scifDriverSetup);
    if (success != SCIF_SUCCESS) {
        while (1) {}
    }
    // Set the Sensor Controller task tick interval to 1 second
    uint32_t rtc_Hz = 1;  // 1Hz RTC
    scifStartRtcTicksNow(0x00010000 / rtc_Hz);
    // Start Sensor Controller task
    // success = scifStartTasksNbl(BV(SCIF_LED_BLINK_TASK_ID));
    success = scifStartTasksNbl(BV(SCIF_LED_BLINKER_TASK_ID));
    if (success != SCIF_SUCCESS) {
        while (1) {}
    }

The project successfully builds, but when I flash the code only the LP LED blinks (as expected fom the empty project code), but the GPIO that I configured to blink an external LED does not toggle and the LED does not blink.

The code does not return any error when initializing the SC, so what could be the issue here? Do you have any suggestions?

Thank you,
Eduardo.