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: SysConfig Basics Tutorial fails to work with the latest SysConfig GUI

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

Tool/software:

Dear TI Engineers,

I am following the SysConfig Basics Tutorial.  My board in the question is a CC1352R1 Launchpad:

https://dev.ti.com/tirex4-desktop/content/simplelink_academy_cc13xx_cc26xxsdk_6_40_00_00/modules/tools/sysconfig_basics/sysconfig_basics.html

I can follow the procedures until

  • Task 7 - Add a button

There, the callback function entry is missing in the latest SysConfig GUI.

Please suggest how to make the example work in the latest SysConfig.

Yours faithfully,
Timmy

  • Hi Tim,

    Thanks for reporting! I'll make a ticket to fix it.

    I'm not sure if it's possible to set this with GPIO in sysconfig. I think you need to set the callback in your application code:

        /* Setup callback for btn int */
        GPIO_setCallback(CONFIG_GPIO_BTN1, btn_interrupt_handler);
        GPIO_enableInt(CONFIG_GPIO_BTN1);
        GPIO_setCallback(CONFIG_GPIO_BTN2, btn_interrupt_handler);
        GPIO_enableInt(CONFIG_GPIO_BTN2);

    Alternatively you can use the button driver.

    Cheers,

    Marie H