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-CC1312R1: Not able to see GPIO status in CCS

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

Tool/software:

My Program has complied successfully and Same has been loaded and Debug in to CC1312R1 LaunchXLsystem.

I have configured my GPIO in .syscfg file.

Problem: I am not able to see live view of my physical IO status in live at CCS.  I tired with view >register , View> Expressions DOUT15_12 or DIN31_0. but no result.

        

   

    

Please Resolve the issue. 

  • Please specify which SDK you are using, and what exact example you are running to see the issue (also state the CCS version).

    Use a default example without any modifications and see if you still see the issue there. you can use the empty example, whis already have code for toggling a LED.

    If not, explain step by step what changes you made to the code to see the behaviour you are seeing, so that we can reproduce it here and figure out what the problem is.

    Siri

  • **** Build of configuration Debug for project RX_empty_CC1312R1_LAUNCHXL_freertos_gcc ****

    "C:\\ccs\\utils\\bin\\gmake" -k -j 8 all -O

    Building file: "../empty.syscfg"
    Invoking: SysConfig
    "C:/ccs/utils/sysconfig_1.18.1/sysconfig_cli.bat" --script "C:/ccs/RX_empty_CC1312R1_LAUNCHXL_freertos_gcc/empty.syscfg" -o "syscfg" -s "C:/ccs/utils/simplelink_cc13xx_cc26xx_sdk_7_41_00_17/.metadata/product.json" --compiler gcc
    Running script...
    Validating...
    Generating Code (empty.syscfg)...
    Writing C:\ccs\RX_empty_CC1312R1_LAUNCHXL_freertos_gcc\Debug\syscfg\ti_devices_config.c...
    Writing C:\ccs\RX_empty_CC1312R1_LAUNCHXL_freertos_gcc\Debug\syscfg\ti_radio_config.c...
    Writing C:\ccs\RX_empty_CC1312R1_LAUNCHXL_freertos_gcc\Debug\syscfg\ti_radio_config.h...
    Writing C:\ccs\RX_empty_CC1312R1_LAUNCHXL_freertos_gcc\Debug\syscfg\ti_drivers_config.c...
    Writing C:\ccs\RX_empty_CC1312R1_LAUNCHXL_freertos_gcc\Debug\syscfg\ti_drivers_config.h...
    Writing C:\ccs\RX_empty_CC1312R1_LAUNCHXL_freertos_gcc\Debug\syscfg\ti_utils_runtime_rov.js.xs...
    Writing C:\ccs\RX_empty_CC1312R1_LAUNCHXL_freertos_gcc\Debug\syscfg\ti_log_config.c...
    Writing C:\ccs\RX_empty_CC1312R1_LAUNCHXL_freertos_gcc\Debug\syscfg\ti_log_config.h...
    Writing C:\ccs\RX_empty_CC1312R1_LAUNCHXL_freertos_gcc\Debug\syscfg\ti_utils_build_linker.cmd.genlibs...
    Writing C:\ccs\RX_empty_CC1312R1_LAUNCHXL_freertos_gcc\Debug\syscfg\ti_utils_build_compiler.opt...
    Writing C:\ccs\RX_empty_CC1312R1_LAUNCHXL_freertos_gcc\Debug\syscfg\syscfg_c.rov.xs...
    Writing C:\ccs\RX_empty_CC1312R1_LAUNCHXL_freertos_gcc\Debug\syscfg\FreeRTOSConfig.h...
    Writing C:\ccs\RX_empty_CC1312R1_LAUNCHXL_freertos_gcc\Debug\syscfg\ti_freertos_config.c...
    Writing C:\ccs\RX_empty_CC1312R1_LAUNCHXL_freertos_gcc\Debug\syscfg\ti_freertos_portable_config.c...
    Finished building: "../empty.syscfg"

    Building file: "syscfg/ti_devices_config.c"
    Invoking: GNU Compiler
    "C:/ccs/utils/gcc_arm_none_eabi_9_2_1/bin/arm-none-eabi-gcc-9.2.1.exe" -c -mcpu=cortex-m4 -march=armv7e-m -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -D_REENT_SMALL -I"C:/ccs/RX_empty_CC1312R1_LAUNCHXL_freertos_gcc" -I"C:/ccs/RX_empty_CC1312R1_LAUNCHXL_freertos_gcc/Debug" -I"C:/ccs/utils/simplelink_cc13xx_cc26xx_sdk_7_41_00_17/source" -I"C:/ccs/utils/simplelink_cc13xx_cc26xx_sdk_7_41_00_17/kernel/freertos" -I"C:/ccs/utils/simplelink_cc13xx_cc26xx_sdk_7_41_00_17/source/ti/posix/gcc" -I"C:/ccs/utils/simplelink_cc13xx_cc26xx_sdk_7_41_00_17/source/third_party/freertos/include" -I"C:/ccs/utils/simplelink_cc13xx_cc26xx_sdk_7_41_00_17/source/third_party/freertos/portable/GCC/ARM_CM4F" -I"C:/ccs/utils/gcc_arm_none_eabi_9_2_1/arm-none-eabi/include/newlib-nano" -I"C:/ccs/utils/gcc_arm_none_eabi_9_2_1/arm-none-eabi/include" -I"C:/ccs/utils/simplelink_audio_plugin_3_30_00_06/examples/rtos/CC1312R1_LAUNCHXL/easylink/rfAudioTx/smartrf_settings" -I"C:/ccs/utils/simplelink_cc13xx_cc26xx_sdk_7_41_00_17/source/ti/drivers" -O0 -ffunction-sections -fdata-sections -g -gdwarf-3 -gstrict-dwarf -Wall -MMD -MP -MF"syscfg/ti_devices_config.d_raw" -MT"syscfg/ti_devices_config.o" -I"C:/ccs/RX_empty_CC1312R1_LAUNCHXL_freertos_gcc/Debug/syscfg" -std=c99 @"syscfg/ti_utils_build_compiler.opt" -o"syscfg/ti_devices_config.o" "syscfg/ti_devices_config.c"
    Finished building: "syscfg/ti_devices_config.c"

    Building file: "syscfg/ti_radio_config.c"
    Invoking: GNU Compiler
    "C:/ccs/utils/gcc_arm_none_eabi_9_2_1/bin/arm-none-eabi-gcc-9.2.1.exe" -c -mcpu=cortex-m4 -march=armv7e-m -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -D_REENT_SMALL -I"C:/ccs/RX_empty_CC1312R1_LAUNCHXL_freertos_gcc" -I"C:/ccs/RX_empty_CC1312R1_LAUNCHXL_freertos_gcc/Debug" -I"C:/ccs/utils/simplelink_cc13xx_cc26xx_sdk_7_41_00_17/source" -I"C:/ccs/utils/simplelink_cc13xx_cc26xx_sdk_7_41_00_17/kernel/freertos" -I"C:/ccs/utils/simplelink_cc13xx_cc26xx_sdk_7_41_00_17/source/ti/posix/gcc" -I"C:/ccs/utils/simplelink_cc13xx_cc26xx_sdk_7_41_00_17/source/third_party/freertos/include" -I"C:/ccs/utils/simplelink_cc13xx_cc26xx_sdk_7_41_00_17/source/third_party/freertos/portable/GCC/ARM_CM4F" -I"C:/ccs/utils/gcc_arm_none_eabi_9_2_1/arm-none-eabi/include/newlib-nano" -I"C:/ccs/utils/gcc_arm_none_eabi_9_2_1/arm-none-eabi/include" -I"C:/ccs/utils/simplelink_audio_plugin_3_30_00_06/examples/rtos/CC1312R1_LAUNCHXL/easylink/rfAudioTx/smartrf_settings" -I"C:/ccs/utils/simplelink_cc13xx_cc26xx_sdk_7_41_00_17/source/ti/drivers" -O0 -ffunction-sections -fdata-sections -g -gdwarf-3 -gstrict-dwarf -Wall -MMD -MP -MF"syscfg/ti_radio_config.d_raw" -MT"syscfg/ti_radio_config.o" -I"C:/ccs/RX_empty_CC1312R1_LAUNCHXL_freertos_gcc/Debug/syscfg" -std=c99 @"syscfg/ti_utils_build_compiler.opt" -o"syscfg/ti_radio_config.o" "syscfg/ti_radio_config.c"
    Finished building: "syscfg/ti_radio_config.c"

    Building file: "../empty.c"
    Invoking: GNU Compiler
    "C:/ccs/utils/gcc_arm_none_eabi_9_2_1/bin/arm-none-eabi-gcc-9.2.1.exe" -c -mcpu=cortex-m4 -march=armv7e-m -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -D_REENT_SMALL -I"C:/ccs/RX_empty_CC1312R1_LAUNCHXL_freertos_gcc" -I"C:/ccs/RX_empty_CC1312R1_LAUNCHXL_freertos_gcc/Debug" -I"C:/ccs/utils/simplelink_cc13xx_cc26xx_sdk_7_41_00_17/source" -I"C:/ccs/utils/simplelink_cc13xx_cc26xx_sdk_7_41_00_17/kernel/freertos" -I"C:/ccs/utils/simplelink_cc13xx_cc26xx_sdk_7_41_00_17/source/ti/posix/gcc" -I"C:/ccs/utils/simplelink_cc13xx_cc26xx_sdk_7_41_00_17/source/third_party/freertos/include" -I"C:/ccs/utils/simplelink_cc13xx_cc26xx_sdk_7_41_00_17/source/third_party/freertos/portable/GCC/ARM_CM4F" -I"C:/ccs/utils/gcc_arm_none_eabi_9_2_1/arm-none-eabi/include/newlib-nano" -I"C:/ccs/utils/gcc_arm_none_eabi_9_2_1/arm-none-eabi/include" -I"C:/ccs/utils/simplelink_audio_plugin_3_30_00_06/examples/rtos/CC1312R1_LAUNCHXL/easylink/rfAudioTx/smartrf_settings" -I"C:/ccs/utils/simplelink_cc13xx_cc26xx_sdk_7_41_00_17/source/ti/drivers" -O0 -ffunction-sections -fdata-sections -g -gdwarf-3 -gstrict-dwarf -Wall -MMD -MP -MF"empty.d_raw" -MT"empty.o" -I"C:/ccs/RX_empty_CC1312R1_LAUNCHXL_freertos_gcc/Debug/syscfg" -std=c99 @"syscfg/ti_utils_build_compiler.opt" -o"empty.o" "../empty.c"
    ../empty.c: In function 'debugGPIO':
    ../empty.c:74:24: warning: implicit declaration of function 'readOutputs'; did you mean 'readInputs'? [-Wimplicit-function-declaration]
    74 | uint16_t outputs = readOutputs();
    | ^~~~~~~~~~~
    | readInputs
    ../empty.c:76:5: warning: implicit declaration of function 'System_printf' [-Wimplicit-function-declaration]
    76 | System_printf("Inputs: ");
    | ^~~~~~~~~~~~~
    ../empty.c:85:5: warning: implicit declaration of function 'System_flush' [-Wimplicit-function-declaration]
    85 | System_flush();
    | ^~~~~~~~~~~~
    Finished building: "../empty.c"

    Building file: "syscfg/ti_log_config.c"
    Invoking: GNU Compiler
    "C:/ccs/utils/gcc_arm_none_eabi_9_2_1/bin/arm-none-eabi-gcc-9.2.1.exe" -c -mcpu=cortex-m4 -march=armv7e-m -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -D_REENT_SMALL -I"C:/ccs/RX_empty_CC1312R1_LAUNCHXL_freertos_gcc" -I"C:/ccs/RX_empty_CC1312R1_LAUNCHXL_freertos_gcc/Debug" -I"C:/ccs/utils/simplelink_cc13xx_cc26xx_sdk_7_41_00_17/source" -I"C:/ccs/utils/simplelink_cc13xx_cc26xx_sdk_7_41_00_17/kernel/freertos" -I"C:/ccs/utils/simplelink_cc13xx_cc26xx_sdk_7_41_00_17/source/ti/posix/gcc" -I"C:/ccs/utils/simplelink_cc13xx_cc26xx_sdk_7_41_00_17/source/third_party/freertos/include" -I"C:/ccs/utils/simplelink_cc13xx_cc26xx_sdk_7_41_00_17/source/third_party/freertos/portable/GCC/ARM_CM4F" -I"C:/ccs/utils/gcc_arm_none_eabi_9_2_1/arm-none-eabi/include/newlib-nano" -I"C:/ccs/utils/gcc_arm_none_eabi_9_2_1/arm-none-eabi/include" -I"C:/ccs/utils/simplelink_audio_plugin_3_30_00_06/examples/rtos/CC1312R1_LAUNCHXL/easylink/rfAudioTx/smartrf_settings" -I"C:/ccs/utils/simplelink_cc13xx_cc26xx_sdk_7_41_00_17/source/ti/drivers" -O0 -ffunction-sections -fdata-sections -g -gdwarf-3 -gstrict-dwarf -Wall -MMD -MP -MF"syscfg/ti_log_config.d_raw" -MT"syscfg/ti_log_config.o" -I"C:/ccs/RX_empty_CC1312R1_LAUNCHXL_freertos_gcc/Debug/syscfg" -std=c99 @"syscfg/ti_utils_build_compiler.opt" -o"syscfg/ti_log_config.o" "syscfg/ti_log_config.c"
    Finished building: "syscfg/ti_log_config.c"

    Building file: "syscfg/ti_drivers_config.c"
    Invoking: GNU Compiler
    "C:/ccs/utils/gcc_arm_none_eabi_9_2_1/bin/arm-none-eabi-gcc-9.2.1.exe" -c -mcpu=cortex-m4 -march=armv7e-m -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -D_REENT_SMALL -I"C:/ccs/RX_empty_CC1312R1_LAUNCHXL_freertos_gcc" -I"C:/ccs/RX_empty_CC1312R1_LAUNCHXL_freertos_gcc/Debug" -I"C:/ccs/utils/simplelink_cc13xx_cc26xx_sdk_7_41_00_17/source" -I"C:/ccs/utils/simplelink_cc13xx_cc26xx_sdk_7_41_00_17/kernel/freertos" -I"C:/ccs/utils/simplelink_cc13xx_cc26xx_sdk_7_41_00_17/source/ti/posix/gcc" -I"C:/ccs/utils/simplelink_cc13xx_cc26xx_sdk_7_41_00_17/source/third_party/freertos/include" -I"C:/ccs/utils/simplelink_cc13xx_cc26xx_sdk_7_41_00_17/source/third_party/freertos/portable/GCC/ARM_CM4F" -I"C:/ccs/utils/gcc_arm_none_eabi_9_2_1/arm-none-eabi/include/newlib-nano" -I"C:/ccs/utils/gcc_arm_none_eabi_9_2_1/arm-none-eabi/include" -I"C:/ccs/utils/simplelink_audio_plugin_3_30_00_06/examples/rtos/CC1312R1_LAUNCHXL/easylink/rfAudioTx/smartrf_settings" -I"C:/ccs/utils/simplelink_cc13xx_cc26xx_sdk_7_41_00_17/source/ti/drivers" -O0 -ffunction-sections -fdata-sections -g -gdwarf-3 -gstrict-dwarf -Wall -MMD -MP -MF"syscfg/ti_drivers_config.d_raw" -MT"syscfg/ti_drivers_config.o" -I"C:/ccs/RX_empty_CC1312R1_LAUNCHXL_freertos_gcc/Debug/syscfg" -std=c99 @"syscfg/ti_utils_build_compiler.opt" -o"syscfg/ti_drivers_config.o" "syscfg/ti_drivers_config.c"
    Finished building: "syscfg/ti_drivers_config.c"

    Building file: "syscfg/ti_freertos_portable_config.c"
    Invoking: GNU Compiler
    "C:/ccs/utils/gcc_arm_none_eabi_9_2_1/bin/arm-none-eabi-gcc-9.2.1.exe" -c -mcpu=cortex-m4 -march=armv7e-m -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -D_REENT_SMALL -I"C:/ccs/RX_empty_CC1312R1_LAUNCHXL_freertos_gcc" -I"C:/ccs/RX_empty_CC1312R1_LAUNCHXL_freertos_gcc/Debug" -I"C:/ccs/utils/simplelink_cc13xx_cc26xx_sdk_7_41_00_17/source" -I"C:/ccs/utils/simplelink_cc13xx_cc26xx_sdk_7_41_00_17/kernel/freertos" -I"C:/ccs/utils/simplelink_cc13xx_cc26xx_sdk_7_41_00_17/source/ti/posix/gcc" -I"C:/ccs/utils/simplelink_cc13xx_cc26xx_sdk_7_41_00_17/source/third_party/freertos/include" -I"C:/ccs/utils/simplelink_cc13xx_cc26xx_sdk_7_41_00_17/source/third_party/freertos/portable/GCC/ARM_CM4F" -I"C:/ccs/utils/gcc_arm_none_eabi_9_2_1/arm-none-eabi/include/newlib-nano" -I"C:/ccs/utils/gcc_arm_none_eabi_9_2_1/arm-none-eabi/include" -I"C:/ccs/utils/simplelink_audio_plugin_3_30_00_06/examples/rtos/CC1312R1_LAUNCHXL/easylink/rfAudioTx/smartrf_settings" -I"C:/ccs/utils/simplelink_cc13xx_cc26xx_sdk_7_41_00_17/source/ti/drivers" -O0 -ffunction-sections -fdata-sections -g -gdwarf-3 -gstrict-dwarf -Wall -MMD -MP -MF"syscfg/ti_freertos_portable_config.d_raw" -MT"syscfg/ti_freertos_portable_config.o" -I"C:/ccs/RX_empty_CC1312R1_LAUNCHXL_freertos_gcc/Debug/syscfg" -std=c99 @"syscfg/ti_utils_build_compiler.opt" -o"syscfg/ti_freertos_portable_config.o" "syscfg/ti_freertos_portable_config.c"
    Finished building: "syscfg/ti_freertos_portable_config.c"

    Building file: "../main_freertos.c"
    Invoking: GNU Compiler
    "C:/ccs/utils/gcc_arm_none_eabi_9_2_1/bin/arm-none-eabi-gcc-9.2.1.exe" -c -mcpu=cortex-m4 -march=armv7e-m -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -D_REENT_SMALL -I"C:/ccs/RX_empty_CC1312R1_LAUNCHXL_freertos_gcc" -I"C:/ccs/RX_empty_CC1312R1_LAUNCHXL_freertos_gcc/Debug" -I"C:/ccs/utils/simplelink_cc13xx_cc26xx_sdk_7_41_00_17/source" -I"C:/ccs/utils/simplelink_cc13xx_cc26xx_sdk_7_41_00_17/kernel/freertos" -I"C:/ccs/utils/simplelink_cc13xx_cc26xx_sdk_7_41_00_17/source/ti/posix/gcc" -I"C:/ccs/utils/simplelink_cc13xx_cc26xx_sdk_7_41_00_17/source/third_party/freertos/include" -I"C:/ccs/utils/simplelink_cc13xx_cc26xx_sdk_7_41_00_17/source/third_party/freertos/portable/GCC/ARM_CM4F" -I"C:/ccs/utils/gcc_arm_none_eabi_9_2_1/arm-none-eabi/include/newlib-nano" -I"C:/ccs/utils/gcc_arm_none_eabi_9_2_1/arm-none-eabi/include" -I"C:/ccs/utils/simplelink_audio_plugin_3_30_00_06/examples/rtos/CC1312R1_LAUNCHXL/easylink/rfAudioTx/smartrf_settings" -I"C:/ccs/utils/simplelink_cc13xx_cc26xx_sdk_7_41_00_17/source/ti/drivers" -O0 -ffunction-sections -fdata-sections -g -gdwarf-3 -gstrict-dwarf -Wall -MMD -MP -MF"main_freertos.d_raw" -MT"main_freertos.o" -I"C:/ccs/RX_empty_CC1312R1_LAUNCHXL_freertos_gcc/Debug/syscfg" -std=c99 @"syscfg/ti_utils_build_compiler.opt" -o"main_freertos.o" "../main_freertos.c"
    Finished building: "../main_freertos.c"

    Building file: "syscfg/ti_freertos_config.c"
    Invoking: GNU Compiler
    "C:/ccs/utils/gcc_arm_none_eabi_9_2_1/bin/arm-none-eabi-gcc-9.2.1.exe" -c -mcpu=cortex-m4 -march=armv7e-m -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -D_REENT_SMALL -I"C:/ccs/RX_empty_CC1312R1_LAUNCHXL_freertos_gcc" -I"C:/ccs/RX_empty_CC1312R1_LAUNCHXL_freertos_gcc/Debug" -I"C:/ccs/utils/simplelink_cc13xx_cc26xx_sdk_7_41_00_17/source" -I"C:/ccs/utils/simplelink_cc13xx_cc26xx_sdk_7_41_00_17/kernel/freertos" -I"C:/ccs/utils/simplelink_cc13xx_cc26xx_sdk_7_41_00_17/source/ti/posix/gcc" -I"C:/ccs/utils/simplelink_cc13xx_cc26xx_sdk_7_41_00_17/source/third_party/freertos/include" -I"C:/ccs/utils/simplelink_cc13xx_cc26xx_sdk_7_41_00_17/source/third_party/freertos/portable/GCC/ARM_CM4F" -I"C:/ccs/utils/gcc_arm_none_eabi_9_2_1/arm-none-eabi/include/newlib-nano" -I"C:/ccs/utils/gcc_arm_none_eabi_9_2_1/arm-none-eabi/include" -I"C:/ccs/utils/simplelink_audio_plugin_3_30_00_06/examples/rtos/CC1312R1_LAUNCHXL/easylink/rfAudioTx/smartrf_settings" -I"C:/ccs/utils/simplelink_cc13xx_cc26xx_sdk_7_41_00_17/source/ti/drivers" -O0 -ffunction-sections -fdata-sections -g -gdwarf-3 -gstrict-dwarf -Wall -MMD -MP -MF"syscfg/ti_freertos_config.d_raw" -MT"syscfg/ti_freertos_config.o" -I"C:/ccs/RX_empty_CC1312R1_LAUNCHXL_freertos_gcc/Debug/syscfg" -std=c99 @"syscfg/ti_utils_build_compiler.opt" -o"syscfg/ti_freertos_config.o" "syscfg/ti_freertos_config.c"
    Finished building: "syscfg/ti_freertos_config.c"

    Building target: "RX_empty_CC1312R1_LAUNCHXL_freertos_gcc.out"
    Invoking: GNU Linker
    "C:/ccs/utils/gcc_arm_none_eabi_9_2_1/bin/arm-none-eabi-gcc-9.2.1.exe" -mfpu=fpv4-sp-d16 -D_REENT_SMALL -O0 -ffunction-sections -fdata-sections -g -gdwarf-3 -gstrict-dwarf -Wall -mcpu=cortex-m4 -Wl,-Map,"RX_empty_CC1312R1_LAUNCHXL_freertos_gcc.map" -nostartfiles -static -Wl,--gc-sections -L"C:/ccs/utils/simplelink_cc13xx_cc26xx_sdk_7_41_00_17/source" -L"C:/ccs/RX_empty_CC1312R1_LAUNCHXL_freertos_gcc/Debug/syscfg" -L"C:/ccs/utils/gcc_arm_none_eabi_9_2_1/arm-none-eabi/lib/thumb/v7e-m/hard" -march=armv7e-m -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 --specs=nano.specs -o"RX_empty_CC1312R1_LAUNCHXL_freertos_gcc.out" "./empty.o" "./syscfg/ti_devices_config.o" "./syscfg/ti_radio_config.o" "./syscfg/ti_drivers_config.o" "./syscfg/ti_log_config.o" "./syscfg/ti_freertos_config.o" "./syscfg/ti_freertos_portable_config.o" "./main_freertos.o" -Wl,-T"../cc13x2_cc26x2_freertos.lds" -l:ti_utils_build_linker.cmd.genlibs -lgcc -lc -lm -lnosys
    Finished building target: "RX_empty_CC1312R1_LAUNCHXL_freertos_gcc.out"

    **** Build Finished ****

    simplelink_cc13xx_cc26xx_sdk_7_41_00_17.sdk

  • Hi Siri,

    I tried with example Program rfEchoRx with LED ON and OFF at GPIO6 & GPIO7. that is working okay. i have done me program build with empty example.

    Program is compiled with CCS.

    I am Not able to see any input or could not command any output (ma be due to encryption). atleast, i shall be able to see live status of GPIO on CCS. 

  • Hi Siri. I am using below code for seeing the status of GPIOs in 

    void debugGPIO() {
    uint16_t inputs = readInputs();
    uint16_t outputs = readOutputs();

    System_printf("Inputs: ");
    for (int i = 11; i >= 0; i--) {
    System_printf("%c", (inputs & (1 << i)) ? '1' : '0');
    }
    System_printf("\nOutputs: ");
    for (int i = 11; i >= 0; i--) {
    System_printf("%c", (outputs & (1 << i)) ? '1' : '0');
    }
    System_printf("\n");
    System_flush();

  • Hi Siri, 

    is it possible to take system online to check the issue.

  • The do not knwo what the code you have posted above is suppose to do, as these are not functions call that I can find in the SDK.

    Please use the GPIO driver to control the GPIO.

    I took the empty_CC1312R1_LAUNCHXL_freertos_gcc example from the latest SDK and added GPIO12 and GPIO15 in sysconfig:

    I then modified the code to set and clear these GPIOs, together with the GPIO already used in the example (CONFIG_GPIO_LED_0).

    I did not havea ny issues debugging the signals using CCS and watching the signals be set and cleared as I stepped through the code.

    Siri

  • Hi Siri,

    i tried one example of GPIO Interrupt, but still facing same issue. i am sharing  code of the sample example program with screen shots of CCS.

    *
    * Copyright (c) 2015-2020, Texas Instruments Incorporated
    * All rights reserved.
    *
    * Redistribution and use in source and binary forms, with or without
    * modification, are permitted provided that the following conditions
    * are met:
    *
    * * Redistributions of source code must retain the above copyright
    * notice, this list of conditions and the following disclaimer.
    *
    * * Redistributions in binary form must reproduce the above copyright
    * notice, this list of conditions and the following disclaimer in the
    * documentation and/or other materials provided with the distribution.
    *
    * * Neither the name of Texas Instruments Incorporated nor the names of
    * its contributors may be used to endorse or promote products derived
    * from this software without specific prior written permission.
    *
    * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
    * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
    * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
    * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
    * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
    * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
    * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
    * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
    * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
    * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
    * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
    */

    /*
    * ======== gpiointerrupt.c ========
    */
    #include <stdint.h>
    #include <stddef.h>

    /* Driver Header files */
    #include <ti/drivers/GPIO.h>

    /* Driver configuration */
    #include "ti_drivers_config.h"

    /*
    * ======== gpioButtonFxn0 ========
    * Callback function for the GPIO interrupt on CONFIG_GPIO_BUTTON_0.
    *
    * Note: GPIO interrupts are cleared prior to invoking callbacks.
    */
    void gpioButtonFxn0(uint_least8_t index)
    {
    /* Toggle an LED */
    GPIO_toggle(CONFIG_GPIO_LED_0);
    }

    /*
    * ======== gpioButtonFxn1 ========
    * Callback function for the GPIO interrupt on CONFIG_GPIO_BUTTON_1.
    * This may not be used for all boards.
    *
    * Note: GPIO interrupts are cleared prior to invoking callbacks.
    */
    void gpioButtonFxn1(uint_least8_t index)
    {
    /* Toggle an LED */
    GPIO_toggle(CONFIG_GPIO_LED_1);
    }

    /*
    * ======== mainThread ========
    */
    void *mainThread(void *arg0)
    {
    /* Call driver init functions */
    GPIO_init();

    /* Configure the LED and button pins */
    GPIO_setConfig(CONFIG_GPIO_LED_0, GPIO_CFG_OUT_STD | GPIO_CFG_OUT_LOW);
    GPIO_setConfig(CONFIG_GPIO_LED_1, GPIO_CFG_OUT_STD | GPIO_CFG_OUT_LOW);
    GPIO_setConfig(CONFIG_GPIO_BUTTON_0, GPIO_CFG_IN_PU | GPIO_CFG_IN_INT_FALLING);

    /* Turn on user LED */
    GPIO_write(CONFIG_GPIO_LED_0, CONFIG_GPIO_LED_ON);

    /* Install Button callback */
    GPIO_setCallback(CONFIG_GPIO_BUTTON_0, gpioButtonFxn0);

    /* Enable interrupts */
    GPIO_enableInt(CONFIG_GPIO_BUTTON_0);

    /*
    * If more than one input pin is available for your device, interrupts
    * will be enabled on CONFIG_GPIO_BUTTON1.
    */
    if (CONFIG_GPIO_BUTTON_0 != CONFIG_GPIO_BUTTON_1)
    {
    /* Configure BUTTON1 pin */
    GPIO_setConfig(CONFIG_GPIO_BUTTON_1, GPIO_CFG_IN_PU | GPIO_CFG_IN_INT_FALLING);

    /* Install Button callback */
    GPIO_setCallback(CONFIG_GPIO_BUTTON_1, gpioButtonFxn1);
    GPIO_enableInt(CONFIG_GPIO_BUTTON_1);
    }

    return (NULL);
    }

    "

    MY Program is executing successfully on CC1312R1 Launch XL Board. but still I am not able to see Live GPIO status in my system. 

    pls advice what to do.

  • You will not be able to read regsiters on the domain before the corresponding power domain has been turned on. If you use the default gpiointerrupt example, that means that the GPIO registers cannot be read before the GPIO_init(); function has run (called from Board_init()).

    Siri