Part Number: TMS320F28027F
Tool/software: Code Composer Studio
Hi Folks,
i have been implementing a motor drive that locks to a reference signal based on an additonal phase loop on top of the speed loop mostly based on the lab11b example. It works but there is still some phase jitter left. This is mainly because i sample the reference signal and the phase error with the main_ISR frequency of 15kHz. For optimization i want to implement another ISR that runns maybe at twice or even 4x the speed of the main_ISR. But im not sure if this is even possible. It seems that all three timers are already in use as you can see in the hal.c file. I also have been looking on the CPU timer examples given, but those seem to use somewhat different library files. Is there any easy way to set up a new handle for that?
Thank you upfront,
Fabian