HRTIM update using LL is too slow
Hi Everyone,
I am trying to run HRTIM Master unit with repetition interrupt and the repetition counter is 1. Now, when I am in interrupt I have to update compare and period registers and using LL to do so. But, within interrupt merely updating registers using
LL_HRTIM_TIM_SetPeriod(HRTIM1, LL_HRTIM_TIMER_MASTER, PRD);
LL_HRTIM_TIM_SetCompare1(HRTIM1, LL_HRTIM_TIMER_MASTER, (0.5)*PRD);
takes around 2usec, which is a lot for my application. Any way to do it quicker?
