Robots are revolutionizing our lives in many ways. Join our webinar to learn about Infineon’s broad portfolio of robot building blocks.
Click here to register.

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

AURIX™ Forum Discussions

Level 1
Level 1

I am trying to disable interrupt by using the tasking compiler attribute(__disable() and __enable()). But this does not seem to disable the interrupt. Is there a way through which I can disable interrupt by setting some registers?
I already looked into the target specification of TC3xx , and found that the register address for ICR is 1FE2C. But I did not find the full register layout of this register. I read in some paragraph that , to disable all the interrupts globally,
I should set the ICR.IE bit to '0'. But I did not find the register layout in the specification. Can someone please help me with this?

2 Replies
Level 6
Level 6
10 likes received 10 solutions authored 5 solutions authored
The ICR register is documented in the TriCore Architecture Manual.

Enable and disable interrupts is very straightforward though. Are you sure you're not getting a trap instead of an interrupt? Traps can't be disabled.
Level 1
Level 1
5 sign-ins First question asked First reply posted

Thank you, it was informative.

This widget could not be displayed.