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.

AM2634: EQEP - position counter latch using strobe signal triggered by SOCA

Part Number: AM2634
Other Parts Discussed in Thread: SYSCONFIG

Hi all,

I am working on the EQEP unit and trying to latch the position counter using the strobe signal triggered by SOCA, which is generated using EPWM0. To do so I configured the example.syscfg as follows:

Strobe Event Latch (SEL):            On rising edge of strobe

Strobe Source:                               Strobe signal is OR'd with ADCSOCA

QEPA Source:                                 Signal comes from Device Pin

QEPB Source:                                Signal comes from Device Pin

Unfortunately the position counter does not get latched. The EQEP_QEPSTROBESEL register (64h) seems to be configured correctly (STROBESEL[1-0] = 0x2). In the EQEP_QEPSRCSEL register (6Ch) the QEPSSEL bits (28-24) are defined as 0x0.

-Am I missing something? What configurations need to be done to latch the position counter using the strobe signal triggered by SOCA?

Thanks!

Best regards,

Jan