I am using the motor control board MTRCKTSPS5744P and trying to get the resolver signals input in order to obtain the PMSM speed and position using Simulink with the model based design toolbox.
For resolver excitation signal, I am using the timer0 channel 5 as output with frequency of 10KHz (toggling between on and off).
The problem I am facing now is that I am getting some random value via the input for Resolve Sine (Adc0_AN0) and for Resolve Cosine (Adc1_AN0).
Probably it occurs due to the no sincronization between the output timer and the input ADC.
Regarding that, how to make the synchronization between the excitation signal and the ADC inputs in the MBD toolbox?
Kind Regards, Rafael