Part Number: TMS320C28346
Other Parts Discussed in Thread: CONTROLSUITE
Hello
I have an interrupt that is called by Timer 2 interrupt.
I need to disable this interrupt temporarily while executing some "atomic" code.
I do this by the following lines:
CpuTimer2.RegsAddr->TCR.bit.TIE = 0;
Some Code
CpuTimer2.RegsAddr->TCR.bit.TIE = 1;
But when I do this, sometimes the interrupt is not called. I assume it is when the timer overflows at exactly the time when the interrupt is disabled/enabled.
Has anybody a clue how to workaround this?
Regards,
Daniel