7.2.1 Position Decoder (PDEC)

Some PIC32CM family of devices include a Position Decoder (PDEC) peripheral for precise position and speed measurement in motor control and motion applications. The PDEC integrates a quadrature/ Hall decoder and a counter with two compare channels, supporting multiple modes of operation.

The following are key features of the PDEC:

  • Internal prescaler—Allows input signal frequency scaling for optimal performance and resolution
  • Selectable modes—Quadrature Decoder (QDEC), Hall Sensor Decoder (Hall), Counter
  • Event and interrupt generation