Datasheet
Figure 50-17. Predefined Connection of the Quadrature Decoder with Timer Counters
Timer Counter
Channel 0
1
XC0
TIOA
TIOB
Timer Counter
Channel 1
1
XC0
TIOB
QDEN
Timer Counter
Channel 2
1
TIOB0
XC0
1
1
SPEEDEN
1
XC0
Quadrature
Decoder
(Filter + Edge
Detect + QD)
PHA
PHB
IDX
TIOA0
TIOB0
TIOB1
TIOB1
TIOA0
Index
Speed/Position
Rotation
Speed Time Base
Reset pulse
Direction
PHEdges
QDEN
50.6.16.2 Input Preprocessing
Input preprocessing consists of capabilities to take into account rotary sensor factors such as polarities and phase
definition followed by configurable digital filtering.
Each input can be negated and swapping PHA, PHB is also configurable.
TC_BMR. MAXFIL
T is used to configure a minimum duration for which the pulse is stated as valid. When the filter is
active, pulses with a duration lower than (MAXFILT +1) × t
peripheral clock
are not passed to downstream logic.
The value of (MAXFILT +1) × t
peripheral clock
must not be greater than 10% of the minimum pulse on PHA, PHB or
index when the rotary encoder speed is at its maximum. This speed depends on the application.
SAM E70/S70/V70/V71 Family
T
imer Counter (TC)
© 2019 Microchip T
echnology Inc.
Datasheet
DS60001527D-page 1506










