I wrote an interrupt service function HRTIM1_TIMA_IRQHandler() for PID tuning at a frequency of 200kHZ. Is this frequency selection reasonable, after I enabled this IRQHandler, the main program in main.c no longer works, what is the reason?
I need HRTIM to generate PWM to control the switching of MOSFETs, and the switching frequency needs to reach 200kHz. Therefore, the period of HRTIM can only be 200kHz. I initially planned to implement single-cycle PID control, but now it seems less f...