Hi,
I ported the HVPM_sensored code to use in my custom board with F28035 and DRV8302 for a 24V PMSM motor with 1024 pulses encoder. (4096 counts/rev.)
I did set up the code for BUILDLEVEL 4 and lsw = 0;
park1.Angle = 0;
pid1_iq.Ref = 0;
pid1_id.Ref = _IQ(0.1);
When the rotor locked, I did reset the the EQep1Regs.QPOSCNT = 0;
Is that correct?
What should be the state of the Hall sensors of the phases A, B and C?
Ari.