PIC24EP64MC204-E/PT Microchip Technology, PIC24EP64MC204-E/PT Datasheet - Page 174

no-image

PIC24EP64MC204-E/PT

Manufacturer Part Number
PIC24EP64MC204-E/PT
Description
16 Bit MCU, 64KB Flash, 8KB RAM, 60 MHz, 44 Pin, MCPWM,QEI, 3 OpAmp, 4 Comp, PTG
Manufacturer
Microchip Technology
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC24EP64MC204-E/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
dsPIC33EPXXXGP50X, dsPIC33EPXXXMC20X/50X, AND PIC24EPXXXGP/MC20X
11.4.4.1
dsPIC33EPXXXGP50X, dsPIC33EPXXXMC20X/50X,
and PIC24EPXXXGP/MC20X devices support virtual
(internal) connections to the output of the Op amp/
Comparator module (see
“Op amp/Comparator
module (see
Generator (PTG)
In
PIC24EPXXXMC20X devices support virtual connec-
tions to the filtered QEI module inputs FINDX1,
FHOME1, FINDX2 and FHOME2 (see
Section 17.0 “Quadrature Encoder Interface (QEI)
Module
PIC24EPXXXMC20X Devices
EXAMPLE 11-2:
TABLE 11-1:
DS70657F-page 174
External Interrupt 1
External Interrupt 2
Timer2 External Clock
Input Capture 1
Input Capture 2
Input Capture 3
Input Capture 4
Output Compare Fault A
PWM Fault 1
PWM Fault 2
QEI1 Phase A
QEI1 Phase B
QEI1 Index
QEI1 Home
UART1 Receive
UART2 Receive
SPI2 Data Input
SPI2 Clock Input
SPI2 Slave Select
CAN1 Receive
PWM Synch Input 1
PWM Dead Time Compensation 1
PWM Dead Time Compensation 2
PWM Dead Time Compensation 3
Note 1:
RPINR15 = 0x2500;
RPINR7 = 0x009;
QEI1IOC = 0x4000;
QEI1CON = 0x8000;
addition,
2:
3:
Unless otherwise noted, all inputs use the Schmitt input buffers.
This input source is available on dsPIC33EPXXXGP/MC50X devices only.
This input source is available on dsPIC33EPXXXMC20X/50X and PIC24EPXXXMC20X devices only.
Input Name
(3)
(3)
Virtual Connections
(3)
(3)
(dsPIC33EPXXXMC20X/50X
(3)
(3)
(2)
Section 24.0 “Peripheral Trigger
SELECTABLE INPUT SOURCES (MAPS INPUT TO FUNCTION)
Module”).
dsPIC33EPXXXMC20X/50X
(3)
CONNECTING IC1 TO THE HOME1 QEI1 DIGITAL FILTER INPUT ON PIN 43 OF
THE dsPIC33EPXXXMC206 DEVICE
(1)
Figure 25-1
Module”) and the PTG
/* Connect the QEI1 HOME1 input to RP37 (pin 43) */
/* Connect the IC1 input to the digital filter on the FHOME1 input */
/* Enable the QEI digital filter */
/* Enable the QEI module */
Only)”.
(3)
(3)
(3)
in
Figure 17-1
Section 25.0
Function Name
DTCMP1
DTCMP2
DTCMP3
SYNCI1
HOME1
INDX1
U1RX
U2RX
SCK2
C1RX
T2CK
OCFA
QEA1
QEB1
SDI2
INT1
INT2
FLT1
FLT2
SS2
IC1
IC2
IC3
IC4
and
and
in
Virtual connections provide a simple way of inter-
peripheral connection without utilizing a physical pin.
For example, by setting the FLT1R<6:0> bits of the
RPINR12 register to the value of ‘b0000001, the
output of the Analog Comparator C1OUT will be
connected to the PWM Fault 1 input, which allows the
Analog Comparator to trigger PWM faults without the
use of an actual physical pin on the device.
Virtual
peripherals to be connected to the QEI digital filter
input. To utilize this filter, the QEI module must be
enabled, and its inputs must be connected to a physical
RPn pin.
capture module can be connected to the QEI digital
filter.
connection
RPINR12
RPINR12
RPINR14
RPINR14
RPINR15
RPINR15
RPINR18
RPINR19
RPINR22
RPINR22
RPINR23
RPINR26
RPINR37
RPINR38
RPINR39
RPINR39
RPINR11
Register
RPINR0
RPINR1
RPINR7
RPINR7
RPINR8
RPINR8
RPINR3
Example 11-2
 2011-2012 Microchip Technology Inc.
to
the
illustrates how the input
Configuration Bits
QEI
DTCMP1R<6:0>
DTCMP2R<6:0>
DTCMP3R<6:0>
SYNCI1R<6:0>
INDX1R<6:0>
HOM1R<6:0>
OCFAR<6:0>
QEA1R<6:0>
QEB1R<6:0>
U1RXR<6:0>
U2RXR<6:0>
C1RXR<6:0>
T2CKR<6:0>
SCK2R<6:0>
FLT1R<6:0>
FLT2R<6:0>
INT1R<6:0>
INT2R<6:0>
SDI2R<6:0>
SS2R<6:0>
IC1R<6:0>
IC2R<6:0>
IC3R<6:0>
IC4R<6:0>
module
allows

Related parts for PIC24EP64MC204-E/PT