PIC24FJ64GA104 FAMILY
Table of Contents
1.0 Device Overview .......................................................................................................................................................................... 9
2.0 Guidelines for Getting Started with 16-bit Microcontrollers ........................................................................................................ 19
3.0 CPU ........................................................................................................................................................................................... 25
4.0 Memory Organization................................................................................................................................................................. 31
5.0 Flash Program Memory.............................................................................................................................................................. 51
6.0 Resets ........................................................................................................................................................................................ 59
7.0 Interrupt Controller ..................................................................................................................................................................... 65
8.0 Oscillator Configuration............................................................................................................................................................ 101
9.0 Power-Saving Features............................................................................................................................................................ 111
10.0 I/O Ports ................................................................................................................................................................................... 121
11.0 Timer1 ...................................................................................................................................................................................... 143
12.0 Timer2/3 and Timer4/5 ............................................................................................................................................................ 145
13.0 Input Capture with Dedicated Timers....................................................................................................................................... 151
14.0 Output Compare with Dedicated Timers .................................................................................................................................. 155
15.0 Serial Peripheral Interface (SPI)............................................................................................................................................... 165
2
16.0 Inter-Integrated Circuit (I C™) ................................................................................................................................................. 175
17.0 Universal Asynchronous Receiver Transmitter (UART)........................................................................................................... 183
18.0 Parallel Master Port (PMP)....................................................................................................................................................... 191
19.0 Real-Time Clock and Calendar (RTCC) .................................................................................................................................. 201
20.0 32-Bit Programmable Cyclic Redundancy Check (CRC) Generator........................................................................................ 213
21.0 10-Bit High-Speed A/D Converter ............................................................................................................................................ 219
22.0 Triple Comparator Module........................................................................................................................................................ 229
23.0 Comparator Voltage Reference................................................................................................................................................ 233
24.0 Charge Time Measurement Unit (CTMU) ................................................................................................................................ 235
25.0 Special Features ...................................................................................................................................................................... 239
26.0 Development Support............................................................................................................................................................... 251
27.0 Instruction Set Summary.......................................................................................................................................................... 255
28.0 Electrical Characteristics.......................................................................................................................................................... 263
29.0 Packaging Information.............................................................................................................................................................. 283
Appendix A: Revision History............................................................................................................................................................. 297
Index ................................................................................................................................................................................................. 299
The Microchip Web Site..................................................................................................................................................................... 305
Customer Change Notification Service .............................................................................................................................................. 305
Customer Support.............................................................................................................................................................................. 305
Reader Response.............................................................................................................................................................................. 306
Product Identification System ............................................................................................................................................................ 307
2010 Microchip Technology Inc.
DS39951C-page 7