I have implemented the FOC algorithm for PMSM using an encoder that gives A, B, and Z signals. I have tested this code on Typhoon C-HIL employing F28335, results are promising. I would like to replace the encoder with a resolver that outputs sine and cosine waveforms. I have been through example simulations of resolver but looks like it is not compatible with code generation.
Is there a way to make the resolver compatible with the code generation?
The motor drive hardware setup I am going to test works with the resolver.