Transcription of 16-Bit Microcontrollers and Digital Signal Controllers ...
1 2011-2020 Microchip Technology 1dsPIC33 EPXXXGP50X,dsPIC33 EPXXXMC20X/50X andPIC24 EPXXXGP/MC20 XOperating Conditions to , -40 C to +85 C, DC to 70 MIPS to , -40 C to +125 C, DC to 60 MIPS to , -40 C to +150 C, DC to 40 MIPSCore: 16-Bit dsPIC33E/PIC24E CPU Code Efficient (C and Assembly) Architecture Two 40-Bit Wide Accumulators Single Cycle (MAC/MPY) with Dual Data Fetch Single-Cycle, Mixed-Sign MUL plus Hardware Divide 32-Bit Multiply SupportClock Management Internal Oscillator Programmable PLLs and Oscillator Clock Sources Fail-Safe Clock Monitor (FSCM) Independent Watchdog Timer (WDT) Fast Wake-up and Start-upPower Management Low-Power Management modes (Sleep, Idle, Doze) Integrated Power-on Reset and Brown-out Reset mA/MHz Dynamic Current (typical) 30 A IPD Current (typical)High- speed PWM Up to Three PWM Pairs with Independent Timing Dead Time for Rising and Falling Edges ns PWM Resolution PWM Support for.
2 - DC/DC, AC/DC, Inverters, PFC, Lighting- BLDC, PMSM, ACIM, SRM Programmable Fault Inputs Flexible Trigger Configurations for ADC ConversionsAdvanced Analog Features ADC module:- Configurable as 10-bit, Msps with four S&H or 12-bit, 500 ksps with one S&H- Six analog inputs on 28-pin devices and up to 16 analog inputs on 64-pin devices Flexible and Independent ADC Trigger Sources Up to Three Op Amp/Comparators with Direct Connection to the ADC module:- Additional dedicated comparator- Programmable references with 32 voltage points Charge Time Measurement Unit (CTMU):- Supports mTouch capacitive touch sensing- Provides high-resolution time measurement (1 ns)- On-chip temperature measurementTimers/Output Compare/Input Capture 12 General Purpose Timers:- Five 16-Bit and up to two 32-bit timers/counters- Four Output Compare (OC) modules, configurable as timers/counters- PTG module with two configurable timers/counters- 32-bit Quadrature Encoder Interface (QEI) module, configurable as a timer/counter Four Input Capture (IC) modules Peripheral Pin Select (PPS) to allow Function Remap Peripheral Trigger Generator (PTG) for Scheduling Complex Sequences Communication Interfaces Two UART modules ( Mbps).
3 - With support for LIN/J2602 protocols and IrDA Two Four-Wire SPI modules (15 Mbps) ECAN module (1 Mbaud) CAN Support Two I2C modules (up to 1 Mbaud) with SMBus Support PPS to allow Function Remap Programmable Cyclic Redundancy Check (CRC)Direct Memory Access (DMA) 4-Channel DMA with User-Selectable Priority Arbitration UART, SPI, ADC, ECAN, IC, OC and TimersInput/Output Sink/Source 12 mA or 6 mA, Pin-Specific for Standard VOH/VOL, Up to 22 or 14 mA, respectively for Non-Standard VOH1 5V Tolerant Pins Peripheral Pin Select (PPS) to allow Digital Function Remapping Selectable Open-Drain, Pull-ups and Pull-Downs Up to 5 mA Overvoltage Clamp Current Change Notification Interrupts on All I/O PinsQualification and Class B Support AEC-Q100 REVG (Grade 1, -40 C to +125 C) AEC-Q100 REVG (Grade 0, -40 C to +150 C) Class B Safety Library, IEC 60730 Debugger Development Support In-Circuit and In-Application Programming Two Program and Two Complex Data Breakpoints IEEE Compatible (JTAG) Boundary Scan Trace and Run-Time Watch16-Bit Microcontrollers and Digital Signal Controllers with High- speed PWM, Op Amps and Advanced AnalogdsPIC33 EPXXXGP50X, dsPIC33 EPXXXMC20X/50X AND PIC24 EPXXXGP/MC20 XDS70000657J-page 2 2011-2020 Microchip Technology , dsPIC33 EPXXXMC20X/50X AND PIC24 EPXXXGP/MC20X PRODUCT FAMILIESThe device names, pin counts, memory sizes andperipheral availability of each device are listed inTable 1 (General Purpose Families) and Table 2 (MotorControl Families).
4 Their pinout diagrams appear on thefollowing 1:dsPIC33 EPXXXGP50X and PIC24 EPXXXGP20X GENERAL PURPOSE FAMILIESD evicePage Erase Size (Instructions)Program Flash Memory (Kbytes)RAM (Kbyte)Remappable PeripheralsI2 CCRC Generator10-Bit/12-Bit ADC (Channels)Op Amps/ComparatorsCTMUPTGI/O PinsPinsPackages16-Bit/32-Bit Timers Input CaptureOutput CompareUARTSPI(2)ECAN TechnologyExternal Interrupts(3)PIC24EP32GP20251232454422 32162/3(1)YesYes2128 SPDIP,SOIC, SSOP(4), QFN-SPIC24EP64GP2021024648 PIC24EP128GP202102412816 PIC24EP256GP202102425632 PIC24EP512GP202102451248 PIC24EP32GP20351232454422 32182/4 YesYes2536 VTLA, UQFNPIC24EP64GP2031024648 PIC24EP32GP20451232454422 32193/4 YesYes3544/48 VTLA(4),TQFP, QFN, UQFNPIC24EP64GP2041024648 PIC24EP128GP204102412816 PIC24EP256GP204102425632 PIC24EP512GP204102451248 PIC24EP64GP206102464854422 321163/4 YesYes5364 TQFP,QFNPIC24EP128GP206102412816 PIC24EP256GP206102425632 PIC24EP512GP206102451248dsPIC33EP32GP502 51232454422132162/3(1)YesYes2128 SPDIP,SOIC, SSOP(4), QFN-SdsPIC33EP64GP5021024648dsPIC33EP128 GP502102412816dsPIC33EP256GP502102425632 dsPIC33EP512GP502102451248dsPIC33EP32GP5 0351232454422132182/4 YesYes2536 VTLA, UQFNdsPIC33EP64GP5031024648dsPIC33EP32GP 50451232454422132193/4 YesYes3544/48 VTLA(4),TQFP, QFN, UQFNdsPIC33EP64GP5041024648dsPIC33EP128G P504102412816dsPIC33EP256GP504102425632d sPIC33EP512GP504102451248dsPIC33EP64GP50 61024648544221321163/4 YesYes5364 TQFP,QFNdsPIC33EP128GP506102412816dsPIC3 3EP256GP506102425632dsPIC33EP512GP506102 451248 Note 1.
5 On 28-pin devices, Comparator 4 does not have external connections. Refer to Section Op Amp/Comparator Module for :Only SPI2 is :INT0 is not :The SSOP and VTLA packages are not available for devices with 512 Kbytes of memory. 2011-2020 Microchip Technology 3dsPIC33 EPXXXGP50X, dsPIC33 EPXXXMC20X/50X AND PIC24 EPXXXGP/MC20 XTABLE 2:dsPIC33 EPXXXMC20X/50X and PIC24 EPXXXMC20X MOTOR CONTROL FAMILIESD evicePage Erase Size (Instructions)Program Flash Memory (Kbytes)RAM (Kbytes)Remappable PeripheralsI2 CCRC Generator10-Bit/12-Bit ADC (Channels)Op Amps/ComparatorsCTMUPTGI/O PinsPinsPackages16-Bit/32-Bit Timers Input CaptureOutput CompareMotor Control PWM(4)(Channels)Quadrature Encoder InterfaceUARTSPI(2)ECAN TechnologyExternal Interrupts(3)PIC24EP32MC202512324544 6 122 32162/3(1)Yes Yes2128 SPDIP,SOIC, SSOP(5), QFN-SPIC24EP64MC2021024 648 PIC24EP128MC2021024 128 16 PIC24EP256MC2021024 256 32 PIC24EP512MC2021024 512 48 PIC24EP32MC203512324544 6 122 32182/4 YesYes2536 VTLA, UQFNPIC24EP64MC2031024 648 PIC24EP32MC204512324544 6 122 32193/4 YesYes3544/48 VTLA(5)
6 ,TQFP, QFN, UQFNPIC24EP64MC2041024 648 PIC24EP128MC2041024 128 16 PIC24EP256MC2041024 256 32 PIC24EP512MC2041024 512 48 PIC24EP64MC2061024 648544 6 122 321163/4 YesYes5364 TQFP,QFNPIC24EP128MC2061024 128 16 PIC24EP256MC2061024 256 32 PIC24EP512MC2061024 512 48dsPIC33EP32MC202512324544 6 122 32162/3(1)Yes Yes2128 SPDIP,SOIC, SSOP(5), QFN-SdsPIC33EP64MC2021024 648dsPIC33EP128MC202 1024 128 16dsPIC33EP256MC202 1024 256 32dsPIC33EP512MC202 1024 512 48dsPIC33EP32MC203512324544 6 122 32182/4 YesYes2536 VTLA, UQFNdsPIC33EP64MC2031024 648dsPIC33EP32MC204512324544 6 122 32193/4 YesYes3544/48 VTLA(5),TQFP, QFN, UQFNdsPIC33EP64MC2041024 648dsPIC33EP128MC204 1024 128 16dsPIC33EP256MC204 1024 256 32dsPIC33EP512MC204 1024 512 48dsPIC33EP64MC2061024 648544 6 122 321163/4 YesYes5364 TQFP,QFNdsPIC33EP128MC206 1024 128 16dsPIC33EP256MC206 1024 256 32dsPIC33EP512MC206 1024 512 48dsPIC33EP32MC502512324544 6 122132162/3(1)Yes Yes2128 SPDIP,SOIC, SSOP(5), QFN-SdsPIC33EP64MC5021024 648dsPIC33EP128MC502 1024 128 16dsPIC33EP256MC502 1024 256 32dsPIC33EP512MC502 1024 512 48dsPIC33EP32MC503512324544 6 122132182/4 YesYes2536 VTLA, UQFNdsPIC33EP64MC5031024 648 Note 1:On 28-pin devices, Comparator 4 does not have external connections.
7 Refer to Section Op Amp/Comparator Module for :Only SPI2 is :INT0 is not :Only the PWM Faults are :The SSOP and VTLA packages are not available for devices with 512 Kbytes of , dsPIC33 EPXXXMC20X/50X AND PIC24 EPXXXGP/MC20 XDS70000657J-page 4 2011-2020 Microchip Technology 6 122132193/4 YesYes3544/48 VTLA(5),TQFP, QFN, UQFNdsPIC33EP64MC5041024 648dsPIC33EP128MC504 1024 128 16dsPIC33EP256MC504 1024 256 32dsPIC33EP512MC504 1024 512 48dsPIC33EP64MC5061024 648544 6 1221321163/4 YesYes5364 TQFP,QFNdsPIC33EP128MC506 1024 128 16dsPIC33EP256MC506 1024 256 32dsPIC33EP512MC506 1024 512 48 TABLE 2:dsPIC33 EPXXXMC20X/50X and PIC24 EPXXXMC20X MOTOR CONTROL FAMILIES (CONTINUED)DevicePage Erase Size (Instructions)Program Flash Memory (Kbytes)RAM (Kbytes)Remappable PeripheralsI2 CCRC Generator10-Bit/12-Bit ADC (Channels)Op Amps/ComparatorsCTMUPTGI/O PinsPinsPackages16-Bit/32-Bit Timers Input CaptureOutput CompareMotor Control PWM(4)(Channels)Quadrature Encoder InterfaceUARTSPI(2)ECAN TechnologyExternal Interrupts(3)Note 1:On 28-pin devices, Comparator 4 does not have external connections.
8 Refer to Section Op Amp/Comparator Module for :Only SPI2 is :INT0 is not :Only the PWM Faults are :The SSOP and VTLA packages are not available for devices with 512 Kbytes of memory. 2011-2020 Microchip Technology 5dsPIC33 EPXXXGP50X, dsPIC33 EPXXXMC20X/50X AND PIC24 EPXXXGP/MC20 XPin DiagramsNote 1:The RPn/RPIn pins can be used by any remappable peripheral with some limitation. See Section Peripheral Pin Select (PPS) for available peripherals and for information on :Every I/O port pin (RAx-RGx) can be used as a Change Notification pin (CNAx-CNGx). See Section I/O Ports for more :There is an internal pull-up resistor connected to the TMS pin when the JTAG interface is active. See the JTAGEN bit field in Table Pins are up to 5V tolerant MCLRAVDDAN0/OA2 OUT/RA0 AVSSAN1/C2IN1+/RA1 RPI47/T5CK/RB15 PGED3/VREF-/AN2/C2IN1-/SS1/RPI32/CTED2/R B0 RPI46/T3CK/RB14 PGEC3/VREF+/AN3/OA1 OUT/RPI33/CTED1/RB1 RPI45/CTPLS/RB13 PGEC1/AN4/C1IN1+/RPI34/RB2 RPI44/RB12 PGED1/AN5/C1IN1-/RP35/RB3 TDI/RP43/RB11 TDO/RP42/RB10 OSC1/CLKI/RA2 VCAPOSC2/CLKO/RA3 VSSRP36/RB4 TMS/ASDA1/SDI1/RP41/RB9(3)
9 CVREF2O/RP20/T1CK/RA4 TCK/CVREF1O/ASCL1/SDO1/RP40/T4CK/RB8 VDDSCK1/RP39/INT0/RB7 PGED2/ASDA2/RP37/RB5 PGEC2/ASCL2/RP38/RB6 VSSMCLRAVDDAN0/OA2 OUT/RA0 AVSSAN1/C2IN1+/RA1 RPI47/PWM1L/T5CK/RB15 PGED3/VREF-/AN2/C2IN1-/SS1/RPI32/CTED2/R B0 RPI46/PWM1H/T3CK/RB14 PGEC3/VREF+/AN3/OA1 OUT/RPI33/CTED1/RB1 RPI45/PWM2L/CTPLS/RB13 PGEC1/AN4/C1IN1+/RPI34/RB2 RPI44/PWM2H/RB12 PGED1/AN5/C1IN1-/RP35/RB3 TDI/RP43/PWM3L/RB11 TDO/RP42/PWM3H/RB10 OSC1/CLKI/RA2 VCAPOSC2/CLKO/RA3 VSSFLT32/RP36/RB4 TMS/ASDA1/SDI1/RP41/RB9(3)CVREF2O/RP20/T 1CK/RA4 TCK/CVREF1O/ASCL1/SDO1/RP40/T4CK/RB8 VDDSCK1/RP39/INT0/RB7 PGED2/ASDA2/RP37/RB5 PGEC2/ASCL2/RP38/RB6 VSS1282273264255246237228219201019111812 1713161415 PIC24 EPXXXGP202dsPIC33 EPXXXGP502128227326425524623722821920101 9111 8121713161415 PIC24 EPXXXMC202dsPIC33 EPXXXMC202/50228-Pin SPDIP/SOIC/SSOP(1,2)dsPIC33 EPXXXGP50X, dsPIC33 EPXXXMC20X/50X AND PIC24 EPXXXGP/MC20 XDS70000657J-page 6 2011-2020 Microchip Technology Diagrams (Continued)= Pins are up to 5V tolerant 2827262524232289101112131431817161545712 2019621 PIC24 EPXXXGP202dsPIC33 EPXXXGP502 TCK/CVREF1O/ASCL1/SDO1/RP40/T4CK/RB8 SCK1/RP39/INT0/RB7 PGEC2/ASCL2/RP38/RB6 PGED2/ASDA2/RP37/RB5 VDDCVREF2O/RP20/T1CK/RA4RP36/RB4 RPI45/CTPLS/RB13 RPI44/RB12 TDI/RP43/RB11 TDO/RP42/RB10 VCAPVSSTMS/ASDA1/SDI1/RP41/RB9(4)RPI46/T 3CK/RB14 RPI47/T5CK/RB15 AVSSAVDDMCLRAN0/OA2 OUT/RA0AN1/C2IN1+/RA1 PGED3/VREF-/AN2/C2IN1-/SS1/RPI32/CTED2/R B0 PGEC3/VREF+/AN3/OA1 OUT/RPI33/CTED1/RB1 VSSOSC1/CLKI/RA2 OSC2/CLKO/RA3 PGEC1/AN4/C1IN1+/RPI34/RB2 PGED1/AN5/C1IN1-/RP35/RB3 Note 1:The RPn/RPIn pins can be used by any remappable peripheral with some limitation.
10 See Section Peripheral Pin Select (PPS) for available peripherals and for information on :Every I/O port pin (RAx-RGx) can be used as a Change Notification pin (CNAx-CNGx). See Section I/O Ports for more :The metal pad at the bottom of the device is not connected to any pins and is recommended to be connected to VSS :There is an internal pull-up resistor connected to the TMS pin when the JTAG interface is active. See the JTAGEN bit field in Table QFN-S(1,2,3) 2011-2020 Microchip Technology 7dsPIC33 EPXXXGP50X, dsPIC33 EPXXXMC20X/50X AND PIC24 EPXXXGP/MC20 XPin Diagrams (Continued)= Pins are up to 5V tolerant 2827262524232289101112131431817161545712 2019621 PIC24 EPXXXMC202dsPIC33 EPXXXMC202/502 TCK/CVREF1O/ASCL1/SDO1/RP40/T4CK/RB8 SCK1/RP39/INT0/RB7 PGEC2/ASCL2/RP38/RB6 PGED2/ASDA2/RP37/RB5 VDDCVREF2O/RP20/T1CK/RA4 FLT32/RP36/RB4 RPI45/PWM2L/CTPLS/RB13 RPI44/PWM2H/RB12 TDI/RP43/PWM3L/RB11 TDO/RP42/PWM3H/RB10 VCAPVSSTMS/ASDA1/SDI1/RP41/RB9(4)RPI46/P WM1H/T3CK/RB14 RPI47/PWM1L/T5CK/RB15 AVSSAVDDMCLRAN0/OA2 OUT/RA0AN1/C2IN1+/RA1 PGED3/VREF-/AN2/C2IN1