Quadrature Decode

The Quadrature Decode uses two eTPU pins to decode a signal from an incremental rotary encoder:

Quadrature encoder and generated signals

How does quadrature decode work?

The OpenECU platform provides two blocks:

These blocks will automatically decode the input and report the number of edges sensed. A positive number indicating forward rotation and a negative number indicating reverse rotation. The Latter block also senses the frequency of the input waveform.

If you are having difficulties, see our page on troubleshooting PWM and frequency inputs.