Tool/software: TI-RTOS
Hi there
I am using the timer 1 with the following configuration in the cfg-file:
var timer0Params = new Timer.Params();
timer0Params.instance.name = "TIMER1_HWI";
timer0Params.period = 200;
timer0Params.startMode = xdc.module("ti.sysbios.interfaces.ITimer").StartMode_USER;
Program.global.TIMER1_HWI = Timer.create(1, "&TIMER1INT_ISR", timer0Params);
Unfortunately, a call of
Uint16 key = Hwi_disable(); Timer_start(TIMER1_HWI); // clears counters, clears any pending interrupts, and enables the timer interrupt before starting the timer. Hwi_restore(key);
sometimes does not lead to the expected interrupt. I can say, that the problem occurs approximately in 7 out of 1000. Any ideas on this?
I've read in another https://e2e.ti.com/support/embedded/tirtos/f/355/p/262151/917974 that the interrupt was simply not enabled as it should by Timer_start(), so maybe a bug?
Using SYS/BIOS V6.51.0.15
Cheers Benjo



