I am developing a GUI Composer interface for my quadrature generation code and I am having issues with it. If I vary the frequency, the phase changes between the 2 channels. I want to know if you are able to figure out why this is happening. I have not attached my GUI Composer files to this message because you can still see my issue by varying any one of the following inputs by adding them to the "Expressions" tab in the Debug Window:
Quad1_frequency,
Quad1A_DutyCycle,
Quad1_phase,
Quad1B_DutyCycle
However, if you want to see my GUI Composer interface then let me know.
This is my Quadrature Generation code and snapshots of my issue below.
5086.TM4C1294_Quadrature_Generation.zip
Starting frequency of 10kHz
Changed frequency to 9kHz
Changed frequency to 11kHz