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.

TMDSCNCD28069MISO: eQEP index event latch problem

Part Number: TMDSCNCD28069MISO
Other Parts Discussed in Thread: CONTROLSUITE

Hi there,

I am running the demo project PM_Sensorless for DRV830x-HC-C2-KIT_v105 in controlSUITE. I am testing the motor's encoder and it is connected to the MCU's eQEP module. It has some wired response regarding index event latch.

Every time when passing index position:
1. QPOSILAT will be different, and it is not either 0 non QPOSMAX
2. On contrary every time in PWM ISR when QFLG[IEL] is setted, QPOSCNT is either 0 or QPOSMAX
3. I am using PWM ISR to check for QFLG[IEL] periodically, but when QFLG[IEL] is set, QEPSTS[QDLF] is not updated sometime
4. QEPSTS[PCEF] will mirror QEPSTS[QDLF] value
5. QFLG[PCE] will be setted whenever passing index position

I am not sure what happened. I didn't change any eQEP setting in f2806xqep_PM.h (found in PM_Sensorless project)

Thanks for reading, any reply is appreciated.

  • You might check if the encoder wires are connected correctly, and refer to the examples in the folder below to set the QEP.