I am adjusting the resolver of the etpu on MPC5777C,and i found the resolver_states.state is always 1,sometimes it shows 4,i know maybe when it shows 4 it will indicates that it works properly.I has initited the resolver function of the etpu in the begining flow of the code,but it shows the resolver do not work correctly.I want to know how to adjust the resolver to make resolver_states.state to be 4.and how to know where the trouble of the resolver is.i has checked the signal of wires and keep them be correct.
Difficult to say what is wrong, but stuck in a state of 1 indicates the feedback signals being processed by the SDADC do not appear to be valid. The eTPU code checks sampled data feedback data from the SDADC for a steady valid signal before moving to state 2.