Hi @phamsa
Here is the feedback of my colleages !
When the TMR runs @24e6 Hz. , since it is a 16 bit timer, it can compensate maximum 2.73 msec.
2.73ms @ 50 Hz => 49 degrees (since there are 50 cycles of 360 degrees of sine waves).
So, 49.12 degrees or 0.857 rads is the maximum the TMR can compensate for phase.
Therefore, 49.12/2^16 degrees or 0.857/2^16 rads.
It yields 0.00075 degrees or 1.33514404296875e-5 rads is the resolution, i.e., per bit phase compensation.
I want to thank you for your great patience, Paddy.
Yours,
Diego