Tool/software: Code Composer Studio
Hello,
we are using the resolver interface software library like in the TI/IDDK_PM_Servo_F2837x example and have a problem with the timing of the library function resolver_algo_Float().
We are running with 200 MHz CPU clock frequency.
We call the resolver ISR with 160 kHz (6.25 µs) and thus also the resolver_algo_Float(), we have measured the timing of the ISR and have seen that it usually needs 1.6 µs, but every 16th is longer. Which means it needs up to 7 µs and this is longer than the timing from the ISR!
We also measured the timing from the functions:
resolver_algo_Float() ( 15x 500 ns and the 16th 5945 ns )
resolver_PostProcess() ( 700 ns which is also only every 16th active )