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.

MCU-PLUS-SDK-AM243X: Regarding the SYSCFG: TIMER Capability

Part Number: MCU-PLUS-SDK-AM243X

Tool/software:

I wasn't able to find an active TIMER example in the SDK (No projects to import from <SDK>/examples/drivers/timer ).

So I am trying to setup a TIMER / ISR manually.

1) In SYSCFG under the TIMER option I created a timer called "TIMER0"

2) After building I see the TIMER0 setup in "ti_dpl_config.c"

3) In "ti_dpl_config.c", SYSCFG creates the callback ISR as "TimerP_isr0", which is declared in the same "ti_dpl_config.c" file.

Because SYSCFG is creating the ISR routine, whenever I BUILD the project the "ti_dpl_config.c" gets reset to default.

How do I link the TIMER0 ISR to also trigger some ISR I created in my main application code?

  • Sorry, I just realized in SYSCFG in the TIMER setup fields, I needed to fill in the Timer Callback line with the name of the ISR I want (default was NULL)

    Beginner mistake - problem solved!