dsPIC33EPXXXGP50X, dsPIC33EPXXXMC20X/50X and PIC24EPXXXGP/MC20X 16-Bit Microcontrollers and Digital Signal Controllers with High-Speed PWM, Op Amps and Advanced Analog Operating Conditions Timers/Output Compare/Input Capture 3.0V to 3.6V, -40C to +85C, DC to 70 MIPS 12 General Purpose Timers: 3.0V to 3.6V, -40C to +125C, DC to 60 MIPS - Five 16-bit and up to two 32-bit timers/counters - Four Output Compare (OC) modules, configurable Core: 16-Bit dsPIC33E/PIC24E CPU as timers/counters Code Efficient (C and Assembly) Architecture - PTG module with two configurable timers/counters Two 40-Bit-Wide Accumulators - 32-bit Quadrature Encoder Interface (QEI) module, Single Cycle (MAC/MPY) with Dual Data Fetch configurable as a timer/counter Single-Cycle, Mixed-Sign MUL plus Hardware Divide Four Input Capture (IC) modules 32-Bit Multiply Support Peripheral Pin Select (PPS) to allow Function Remap Peripheral Trigger Generator (PTG) for Scheduling Clock Management Complex Sequences 1.0% Internal Oscillator Communication Interfaces Programmable PLLs and Oscillator Clock Sources Fail-Safe Clock Monitor (FSCM) Two UART modules (17.5 Mbps): Independent Watchdog Timer (WDT) - With support for LIN/J2602 protocols and IrDA Fast Wake-up and Start-up Two 4-Wire SPI modules (15 Mbps) ECAN module (1 Mbaud) CAN 2.0B Support Power Management 2 Two I C modules (up to 1 Mbaud) with SMBus Low-Power Management modes (Sleep, Idle, Doze) Support Integrated Power-on Reset and Brown-out Reset PPS to allow Function Remap 0.6 mA/MHz Dynamic Current (typical) Programmable Cyclic Redundancy Check (CRC) 30 A IPD Current (typical) Direct Memory Access (DMA) High-Speed PWM 4-Channel DMA with User-Selectable Priority Arbitration Up to Three PWM Pairs with Independent Timing UART, SPI, ADC, ECAN, IC, OC and Timers Dead Time for Rising and Falling Edges Input/Output 7.14 ns PWM Resolution PWM Support for: Sink/Source 12 mA or 6 mA, Pin-Specific for - DC/DC, AC/DC, Inverters, PFC, Lighting Standard VOH/VOL, up to 22 or 14 mA, respectively - BLDC, PMSM, ACIM, SRM for Non-Standard VOH1 Programmable Fault Inputs 5V Tolerant Pins Flexible Trigger Configurations for ADC Conversions Peripheral Pin Select (PPS) to allow Digital Function Remapping Advanced Analog Features Selectable Open-Drain, Pull-ups and Pull-Downs ADC module: Up to 5 mA Overvoltage Clamp Current - Configurable as 10-bit, 1.1 Msps with four S&H or Change Notification Interrupts on All I/O Pins 12-bit, 500 ksps with one S&H - Six analog inputs on 28-pin devices and up to Qualification and Class B Support 16 analog inputs on 64-pin devices AEC-Q100 REVG (Grade 1, -40C to +125C) Planned Flexible and Independent ADC Trigger Sources AEC-Q100 REVG (Grade 0, -40C to +150C) Planned Up to Three Op Amp/Comparators with Class B Safety Library, IEC 60730 Direct Connection to the ADC module: - Additional dedicated comparator Debugger Development Support - Programmable references with 32 voltage points In-Circuit and In-Application Programming Charge Time Measurement Unit (CTMU): Two Program and Two Complex Data Breakpoints - Supports mTouch capacitive touch sensing IEEE 1149.2 Compatible (JTAG) Boundary Scan - Provides high-resolution time measurement (1 ns) Trace and Run-Time Watch - On-chip temperature measurement 2011-2013 Microchip Technology Inc. DS70000657H-page 1dsPIC33EPXXXGP50X, dsPIC33EPXXXMC20X/50X AND PIC24EPXXXGP/MC20X dsPIC33EPXXXGP50X, dsPIC33EPXXXMC20X/50X AND PIC24EPXXXGP/MC20X PRODUCT FAMILIES The device names, pin counts, memory sizes and peripheral availability of each device are listed in Table 1 (General Purpose Families) and Table 2 (Motor Control Families). Their pinout diagrams appear on the following pages. TABLE 1: dsPIC33EPXXXGP50X and PIC24EPXXXGP20X GENERAL PURPOSE FAMILIES Remappable Peripherals Device PIC24EP32GP202 512 32 4 SPDIP, PIC24EP64GP202 1024 64 8 SOIC, (1) PIC24EP128GP202 1024 128 16 54 422 3216 2/3 Yes Yes 21 28 (4) SSOP , PIC24EP256GP202 1024 256 32 QFN-S PIC24EP512GP202 1024 512 48 PIC24EP32GP203 512 32 4 54 422 3218 3/4 YesYes 25 36 VTLA PIC24EP64GP203 1024 64 8 PIC24EP32GP204 512 32 4 (4) VTLA , PIC24EP64GP204 1024 64 8 44/ TQFP, PIC24EP128GP204 1024 128 16 54 422 3219 3/4 YesYes 35 48 QFN, PIC24EP256GP204 1024 256 32 UQFN PIC24EP512GP204 1024 512 48 PIC24EP64GP206 1024 64 8 PIC24EP128GP206 1024 128 16 TQFP, 54 422 321 16 3/4 YesYes 53 64 QFN PIC24EP256GP206 1024 256 32 PIC24EP512GP206 1024 512 48 dsPIC33EP32GP502 512 32 4 SPDIP, dsPIC33EP64GP502 1024 64 8 SOIC, (1) dsPIC33EP128GP502 1024 128 16 54 4221 3216 2/3 Yes Yes 21 28 (4) SSOP , dsPIC33EP256GP502 1024 256 32 QFN-S dsPIC33EP512GP502 1024 512 48 dsPIC33EP32GP503 512 32 4 54 4221 3218 3/4 YesYes 25 36 VTLA dsPIC33EP64GP503 1024 64 8 dsPIC33EP32GP504 512 32 4 (4) VTLA , dsPIC33EP64GP504 1024 64 8 44/ TQFP, dsPIC33EP128GP504 1024 128 16 54 4221 3219 3/4 YesYes 35 48 QFN, dsPIC33EP256GP504 1024 256 32 UQFN dsPIC33EP512GP504 1024 512 48 dsPIC33EP64GP506 1024 64 8 dsPIC33EP128GP506 1024 128 16 TQFP, 54 4221 321 16 3/4 YesYes 53 64 QFN dsPIC33EP256GP506 1024 256 32 dsPIC33EP512GP506 1024 512 48 Note 1: On 28-pin devices, Comparator 4 does not have external connections. Refer to Section 25.0 Op Amp/Comparator Module for details. 2: Only SPI2 is remappable. 3: INT0 is not remappable. 4: The SSOP and VTLA packages are not available for devices with 512 Kbytes of memory. DS70000657H-page 2 2011-2013 Microchip Technology Inc. Page Erase Size (Instructions) Program Flash Memory (Kbytes) RAM (Kbyte) 16-Bit/32-Bit Timers Input Capture Output Compare UART (2) SPI ECAN Technology (3) External Interrupts 2 I C CRC Generator 10-Bit/12-Bit ADC (Channels) Op Amps/Comparators CTMU PTG I/O Pins Pins Packages