12 Quadrature decoder
Depending on the quadrature encoder used, pull-up resistors may or may not be
needed. Figure 12-1 shows an example of how the quadrature decoder (QDEC) can
be connected to a quadrature encoder using pull-up on the signal wires.
Figure 12-1. Quadrature decoder example schematic.
VDD
VCC
QEPA
10 kꢀ
A
10 kꢀ
QEPB
B
10 kꢀ
I
QEPI
GND
Optional resistors
Table 12-1. Quadrature decoder connection checklist.
Signal name Recommended pin connection
Description
Quadrature encoder output A,
QEPA
QEPB
QEPI
10kꢀ (1) pull-up
Quadrature phase signal A digital input
Quadrature phase signal B digital input
Quadrature index signal digital input
Quadrature encoder output B,
10kꢀ (1) pull-up
Quadrature encoder index output,
10kꢀ (1) pull-up
Note:
1. These values are given only as a typical example
22
AVR32768
32157A-AVR-12/10