GPT12_Timer_Interrupt example doesn't work on TC275

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
User19529
Level 1
Level 1
Hello,

i tried to run GPT12_Timer_Interrupt from AURIX_code_examples found here https://github.com/Infineon/AURIX_code_examples/blob/master/code_examples/GPT12_Timer_Interrupt_1_KI...)
but i didn't get anything (i changed the value of LED to &MODULE_P10,2u to fit with shieldBuddy board ).
I am using HighTec compiler.

Thank you.

Best regards
0 Likes
2 Replies
cwunder
Employee
Employee
5 likes given 50 likes received 50 solutions authored
Can you provide more information as to what your program does (the behavior) to be able to provide more insight to what issue you are seeing.

If you set a breakpoint in the "interruptGpt12" function do you make it there?
If you observe the GPT120_T3 register do you see it incrementing?

If I build this using the HighTec toolchain and the TC27x as the target, the GPT12 interrupt occurs.
0 Likes
teoBits
Employee
Employee
5 sign-ins 100 replies posted 50 replies posted
Hello aMcUm,

did you ported the example for the correct device? you also need to change the .lsl file and the iLLDs.

teoBits
0 Likes