kak111
Advanced Member level 4
The AVR XMEGA includes hardware support for reading position from Quadrature Encoders.
A combination of peripheral modules is used to decode the Quadrature Encoder signals:
IO pins are used as input to the Event System’s Quadrature Decoder (QDEC),
which connects to a Timer/Counter.
The XMEGA hardware supports incremental encoders (Quadrature Encoders).
The Quadrature Encoder also supports encoders with index signal for absolute positioning.
This application note describes the basic functionality of the XMEGA QDECs with
code example.
http://www.atmel.com/dyn/resources/prod_documents/doc8109.pdf
Software download: look here
Atmel Corporation - Motor Control - Documents
A combination of peripheral modules is used to decode the Quadrature Encoder signals:
IO pins are used as input to the Event System’s Quadrature Decoder (QDEC),
which connects to a Timer/Counter.
The XMEGA hardware supports incremental encoders (Quadrature Encoders).
The Quadrature Encoder also supports encoders with index signal for absolute positioning.
This application note describes the basic functionality of the XMEGA QDECs with
code example.
http://www.atmel.com/dyn/resources/prod_documents/doc8109.pdf
Software download: look here
Atmel Corporation - Motor Control - Documents