Continue to Site

Reply to thread

Dear Klaus,

This code whole purpose is just to validate If i am able to capture the XOR edges, there is no control loop at this point.

The PWM frequency updating is just a way to get some kind of response that will tell me if the code is suitable for the DSP.


I am willing to feed the XOR with two square wave having a constant phase difference between them.

And to calculate the phase difference between them assuming their frequency does not change and is always 200 kHz.

The PWM should change to 236 kHz and stay that way till the rest of the experiment. 


I will not change the period used in the calculation, even if the PWM frequency changes.


Part and Inventory Search

Back
Top