TDGL007 Microchip Technology, TDGL007 Datasheet - Page 193

no-image

TDGL007

Manufacturer Part Number
TDGL007
Description
Development Boards & Kits - PIC / DSPIC DIGILENT CEREBOT MC7 MOTOR CONTROL BRD
Manufacturer
Microchip Technology
Datasheet

Specifications of TDGL007

Product
Development Boards
Interface Type
CAN, I2C
Operating Supply Voltage
5 V
17.0
FIGURE 17-1:
© 2011 Microchip Technology Inc.
Note 1: This data sheet summarizes the features
UPDNx
INDXx
QEAx
QEBx
2: Some registers and associated bits
QUADRATURE ENCODER
INTERFACE (QEI) MODULE
Synchronize
of the dsPIC33FJXXXMCX06A/X08A/
X10A family of devices. However, it is not
intended to be a comprehensive refer-
ence source. To complement the infor-
mation in this data sheet, refer to Section
15. “Quadrature Encoder Interface
(QEI)” (DS70208) in the “dsPIC33F/
described in this section may not be
available on all devices. Refer to
Section 4.0 “Memory Organization”
this data sheet for device-specific register
and bit information.
Sleep Input
PIC24H Family Reference Manual”,
which is available from the Microchip
web site (www.microchip.com).
Det
PCDOUT
UPDN_SRC
QUADRATURE ENCODER INTERFACE BLOCK DIAGRAM
Programmable
Programmable
0
1
Programmable
1
0
Digital Filter
Digital Filter
Digital Filter
dsPIC33FJXXXMCX06A/X08A/X10A
QEIxCON<11>
Existing Pin Logic
Up/Down
3
QEIM<2:0>
T
CY
Interface Logic
Quadrature
TQCS
Encoder
1
0
Mode Select
QEIM<2:0>
3
in
TQGATE
1
0
2
This section describes the Quadrature Encoder Inter-
face (QEI) module and associated operational modes.
The QEI module provides the interface to incremental
encoders for obtaining mechanical position data.
The operational features of the QEI include the
following:
• Three input channels for two phase signals and
• 16-bit up/down position counter
• Count direction status
• Position Measurement (x2 and x4) mode
• Programmable digital noise filters on inputs
• Alternate 16-Bit Timer/Counter mode
• Quadrature Encoder Interface interrupts
The QEI module’s operating mode is determined by set-
ting the appropriate bits, QEIM<2:0> (QEIxCON<10:8>).
Figure 17-1
block diagram.
an index pulse
16-Bit Up/Down Counter
Max Count Register
D
CK
Comparator/
Zero Detect
(POSCNT)
(MAXCNT)
TQCKPS<1:0>
depicts the Quadrature Encoder Interface
Q
Q
1, 8, 64, 256
Prescaler
2
Reset
Equal
DS70594C-page 193
QExIF
Event
Flag

Related parts for TDGL007