This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

HVPM_sensored: Alignment of the rotor to the encoder.

Other Parts Discussed in Thread: DRV8302

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.