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.

TMS320F28234: eQEP - First Index Marker (FIMF) Only Set after Device Reset

Part Number: TMS320F28234


Hello,

This is related to the thread "eQEP - Position Counter Reset on the First Index Event not available after SW reset".  I find that the "Position Counter Reset on the first Index Event" mode of the PCCU in the eQEP module works as described, but only after a device reset.  If, after the First Index Event has be acquired and the FIMF has been set, the eQEP peripheral is reset (QEPCTL.QPEN = 0) and/or the First Index Marker Flag has been cleared (EQep1Regs.QEPSTS.bit.FIMF = 1), the device will not reacquire the First Index Event.

Has this issue been confirmed as a bug and is there a workaround other than resetting the device?

Thanks in advance.

  • Otto,

    Yes, this is a known issue. As seen in the linked thread:
    On F2807x, F2837xS, F2837xD, and F28004x devices, the SOFTPRESx bit will allow the eQEP to be fully reset without affecting other functions of your system, but the eQEP will need to be reinitialized after. On older devices, the only path to reset the FIMF functionality will be to reset the device, as you have seen.


    Regards,
    Mark