In my design, MCU communicates with AD2S1210 through SPI, in normal mode, position and speed data can be read correctly. And in the configuration mode, the position, speed and fault data can also be read correctly.
But when switching from the normal mode to the configuration mode, serious errors will occur in the data read, and DOS, LOT, A, B, and Z will all flicker abnormally.
In order to prove the phenomenon I encountered, when the resolver was stationary, I constructed a narrow pulse of A0A1 as shown in the figure. The relationship between the A0 pulse and the CLK signal of SPI in the figure is shown in the figure.
Test Results, A0 A1 and Encoder B(A0 and A1 are the same waveform).
Test Result - CLK and SDOs.
In short, it is found from the experimental results that when switching from the normal mode to the configuration mode, the angle and signal inside the AD2S1210 will be wrong.
I don't know how to switch between configuration mode and normal mode without erroneous data. I cannot implement the sequential logic diagram in the manual.
Q: Does this problem really exist? How to avoid this problem and realize flexible switching.