Hi,hi,
The UART, PWM sims part of the program will work OK, but the IDE Sig Gen is not able to generate quadrature pulses, so there is now way of driving the QEA and QEB inputs.
I there was a way to drive the quad inputs I am not sure that the internal POSCNT counter and INDX Intr would be simulated.??
So after sending a UART Azimuth value the program would keep waiting for a match between the POSCNT and required Azimuth, which will not happen as there are no QEA/B pulses.?
If you find a way, let me know.
E
Ok, Ill have a play.
C.