Datasheet

Table Of Contents
53. PDEC – Position Decoder
53.1 Overview
The PDEC consists of a Quadrature / Hall decoder, following by a counter, with two compare channels.
The counter can be split into two parts to report the angular position and the number of revolutions. If the
quadrature decoder feature is not suitable for specific applications, the PDEC module can be used as an
additional time base.
53.2 Features
Internal prescaler
Selectable mode of operation:
QDEC, HALL or COUNTER
QDEC
Angular and revolution counts
Synchronous and asynchronous velocity measurements
Direction change detection
Check valid quadrature transitions
Check index position versus angular position
Auto correction mode
HALL
Window validation of Hall transitions
Hall code detection
Direction change detection
Check valid Hall transitions
Programmable event generation delay after a Hall transition
COUNTER
16-bit counter with two compare channels
One of the compare channels can be configured with period settings
Counter overflow interrupt and event generation option
Compare match interrupt and event generation option
SAM D5x/E5x Family Data Sheet
PDEC – Position Decoder
© 2019 Microchip Technology Inc.
Datasheet
DS60001507E-page 1946