Datasheet

2010 Microchip Technology Inc. DS39940D-page 7
PIC24FJ64GB004 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.............................................................................................................................................................. 55
6.0 Resets ........................................................................................................................................................................................ 63
7.0 Interrupt Controller ..................................................................................................................................................................... 69
8.0 Oscillator Configuration ............................................................................................................................................................ 107
9.0 Power-Saving Features............................................................................................................................................................ 117
10.0 I/O Ports ................................................................................................................................................................................... 127
11.0 Timer1 ...................................................................................................................................................................................... 149
12.0 Timer2/3 and Timer4/5 ............................................................................................................................................................ 151
13.0 Input Capture with Dedicated Timers ....................................................................................................................................... 157
14.0 Output Compare with Dedicated Timers .................................................................................................................................. 161
15.0 Serial Peripheral Interface (SPI)............................................................................................................................................... 171
16.0 Inter-Integrated Circuit (I
2
C™) ................................................................................................................................................. 181
17.0 Universal Asynchronous Receiver Transmitter (UART) ........................................................................................................... 189
18.0 Universal Serial Bus with On-The-Go Support (USB OTG) ..................................................................................................... 197
19.0 Parallel Master Port (PMP)....................................................................................................................................................... 231
20.0 Real-Time Clock and Calendar (RTCC) .................................................................................................................................. 241
21.0 32-Bit Programmable Cyclic Redundancy Check (CRC) Generator ........................................................................................ 253
22.0 10-Bit High-Speed A/D Converter ............................................................................................................................................ 259
23.0 Triple Comparator Module........................................................................................................................................................ 269
24.0 Comparator Voltage Reference................................................................................................................................................ 273
25.0 Charge Time Measurement Unit (CTMU) ................................................................................................................................ 275
26.0 Special Features ...................................................................................................................................................................... 279
27.0 Development Support............................................................................................................................................................... 293
28.0 Instruction Set Summary .......................................................................................................................................................... 297
29.0 Electrical Characteristics.......................................................................................................................................................... 305
30.0 Packaging Information.............................................................................................................................................................. 327
Appendix A: Revision History............................................................................................................................................................. 341
The Microchip Web Site..................................................................................................................................................................... 349
Customer Change Notification Service .............................................................................................................................................. 349
Customer Support .............................................................................................................................................................................. 349
Reader Response .............................................................................................................................................................................. 350
Product Identification System ............................................................................................................................................................ 351