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.

What is the main advantage of using eQEP module over simply using external interrupt

Other Parts Discussed in Thread: TMS320F28027

Hi ,

I wonder for reading quadrature encoder, what is the main advantage of using eQEP module over simply using external interrupt? does eQEP use separate hardware counter and timer interrupt process so it won't disturb the critical controller interrupt?

By my sense, I find it a lot easier to program the external interrupt to read quadrature encoder without any need to understand the register and process behind eQEP module

another point is, I use TMS320F28027 for all my current application, including now motor control. Will it be any different to use external interrupt to read the quadrature encoder compared to eQEP since this uC doesn't have eQEP.

Thanks,

  • Hi,

    Have you atleast read the eQEP user guide? I would insist you to do that first.

    Arief Noor Rahman said:
    does eQEP use separate hardware counter and timer interrupt process so it won't disturb the critical controller interrupt?

    Its an independent peripheral that works on it own :)

    Regards,

    Gautam

  • It being an independent peripheral (and therefore freeing up the CPU for other things) is one aspect.

    Another is that since the eQEP is a counter in hardware, it can better handle quick transitions.  The QEP will be able to handle a faster RPM with high ppr incremental encoders than interrupts will - and without getting overrun and potentially missing pulse transitions.  Sudden loads may create this type of situation as well.

    Depending on your specific application, the QEP may/may not be necessary.