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 OC modules, configurable as timers/counters Core: 16-Bit dsPIC33E/PIC24E CPU - PTG module with two configurable timers/counters - 32-bit Quadrature Encoder Interface (QEI) module, Code Efficient (C and Assembly) Architecture configurable as a timer/counter Two 40-Bit Wide Accumulators Single-Cycle (MAC/MPY) with Dual Data Fetch Four IC modules Single-Cycle Mixed-Sign MUL plus Hardware Divide Peripheral Pin Select (PPS) to allow Function Remap Peripheral Trigger Generator (PTG) for Scheduling 32-bit multiply support Complex Sequences Clock Management Communication Interfaces 1.0% Internal Oscillator Two UART modules (17.5 Mbps) Programmable PLLs and Oscillator Clock Sources - With support for LIN/J2602 protocols and IrDA Fail-Safe Clock Monitor (FSCM) Two 4-Wire SPI modules (15 Mbps) Independent Watchdog Timer (WDT) ECAN module (1 Mbaud) CAN 2.0B Support Fast Wake-up and Start-up 2 Two I C modules (up to 1 Mbaud) with SMBus Power Management Support PPS to allow Function Remap Low-Power Management modes (Sleep, Idle, Doze) Integrated Power-on Reset and Brown-out Reset Programmable Cyclic Redundancy Check (CRC) 0.6 mA/MHz Dynamic Current (typical) Direct Memory Access (DMA) 30 A IPD Current (typical) 4-Channel DMA with User-Selectable Priority Arbitration High-Speed PWM UART, SPI, ADC, ECAN, IC, OC and Timers Up to Three PWM Pairs with Independent Timing Input/Output Dead Time for Rising and Falling Edges Sink/Source 12 mA or 6 mA, Pin-Specific for 7.14 ns PWM Resolution OH/VOL, up to 22 or 14 mA, respectively Standard V PWM Support for: for Non-Standard VOH1 - DC/DC, AC/DC, Inverters, PFC, Lighting 5V Tolerant Pins - BLDC, PMSM, ACIM, SRM Selectable Open-Drain, Pull-ups and Pull-Downs Programmable Fault Inputs Up to 5 mA Overvoltage Clamp Current Flexible Trigger Configurations for ADC Conversions External Interrupts on All I/O Pins Advanced Analog Features Qualification and Class B Support ADC module: AEC-Q100 REVG (Grade 1, -40C to +125C) Planned - Configurable as 10-bit, 1.1 Msps with four S&H or AEC-Q100 REVG (Grade 0, -40C to +150C) Planned 12-bit, 500 ksps with one S&H Class B Safety Library, IEC 60730 - Six analog inputs on 28-pin devices and up to 16 analog inputs on 64-pin devices Debugger Development Support Flexible and Independent ADC Trigger Sources In-Circuit and In-Application Programming Up to Three Op Amp/Comparators with Two Program and Two Complex Data Breakpoints Direct Connection to the ADC module: IEEE 1149.2 Compatible (JTAG) Boundary Scan - Additional dedicated comparator Trace and Run-Time Watch - 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 measurement 2011-2013 Microchip Technology Inc. DS70657G-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 PIC24EP64GP204 1024 64 8 (4) VTLA , PIC24EP128GP204 1024 128 16 54 422 3219 3/4 YesYes 35 44 TQFP, QFN PIC24EP256GP204 1024 256 32 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 dsPIC33EP64GP504 1024 64 8 (4) VTLA , dsPIC33EP128GP504 1024 128 16 54 4221 3219 3/4 YesYes 35 44 TQFP, QFN dsPIC33EP256GP504 1024 256 32 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. DS70657G-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