Datasheet
dsPIC33EPXXXGP50X, dsPIC33EPXXXMC20X/50X AND PIC24EPXXXGP/MC20X
DS70657G-page 20 2011-2013 Microchip Technology Inc.
Table of Contents
1.0 Device Overview ........................................................................................................................................................................ 23
2.0 Guidelines for Getting Started with 16-bit Digital Signal Controllers and Microcontrollers ......................................................... 27
3.0 CPU............................................................................................................................................................................................ 33
4.0 Memory Organization ................................................................................................................................................................. 43
5.0 Flash Program Memory............................................................................................................................................................ 117
6.0 Resets ..................................................................................................................................................................................... 121
7.0 Interrupt Controller ................................................................................................................................................................... 125
8.0 Direct Memory Access (DMA) .................................................................................................................................................. 137
9.0 Oscillator Configuration ............................................................................................................................................................ 151
10.0 Power-Saving Features............................................................................................................................................................ 161
11.0 I/O Ports ................................................................................................................................................................................... 171
12.0 Timer1 ...................................................................................................................................................................................... 201
13.0 Timer2/3 and Timer4/5 ............................................................................................................................................................ 205
14.0 Input Capture............................................................................................................................................................................ 211
15.0 Output Compare....................................................................................................................................................................... 217
16.0 High-Speed PWM Module (dsPIC33EPXXXMC20X/50X and PIC24EPXXXMC20X Devices Only) ....................................... 223
17.0 Quadrature Encoder Interface (QEI) Module (dsPIC33EPXXXMC20X/50X and PIC24EPXXXMC20X Devices Only)........... 247
18.0 Serial Peripheral Interface (SPI)............................................................................................................................................... 263
19.0 Inter-Integrated Circuit™ (I
2
C™).............................................................................................................................................. 271
20.0 Universal Asynchronous Receiver Transmitter (UART) ........................................................................................................... 279
21.0 Enhanced CAN (ECAN™) Module (dsPIC33EPXXXGP/MC50X Devices Only) ..................................................................... 285
22.0 Charge Time Measurement Unit (CTMU) ............................................................................................................................... 313
23.0 10-Bit/12-Bit Analog-to-Digital Converter (ADC) ...................................................................................................................... 319
24.0 Peripheral Trigger Generator (PTG) Module............................................................................................................................ 335
25.0 Op Amp/Comparator Module ................................................................................................................................................... 353
26.0 Programmable Cyclic Redundancy Check (CRC) Generator .................................................................................................. 371
27.0 Special Features ...................................................................................................................................................................... 377
28.0 Instruction Set Summary .......................................................................................................................................................... 385
29.0 Development Support............................................................................................................................................................... 395
30.0 Electrical Characteristics .......................................................................................................................................................... 399
31.0 High-Temperature Electrical Characteristics............................................................................................................................ 465
32.0 DC and AC Device Characteristics Graphs.............................................................................................................................. 473
33.0 Packaging Information.............................................................................................................................................................. 477
Appendix A: Revision History............................................................................................................................................................. 503
Index ................................................................................................................................................................................................. 513
The Microchip Web Site ..................................................................................................................................................................... 521
Customer Change Notification Service .............................................................................................................................................. 521
Customer Support .............................................................................................................................................................................. 521
Reader Response .............................................................................................................................................................................. 522
Product Identification System............................................................................................................................................................. 523