English
Language : 

PIC18F2331_07 Datasheet, PDF (8/400 Pages) Microchip Technology – 28/40/44-Pin Enhanced Flash Microcontrollers with nanoWatt Technology, High Performance PWM and A/D
PIC18F2331/2431/4331/4431
Table of Contents
1.0 Device Overview .......................................................................................................................................................................... 9
2.0 Oscillator Configurations ............................................................................................................................................................ 23
3.0 Power-Managed Modes ............................................................................................................................................................. 33
4.0 Reset .......................................................................................................................................................................................... 47
5.0 Memory Organization ................................................................................................................................................................. 59
6.0 Flash Program Memory .............................................................................................................................................................. 77
7.0 Data EEPROM Memory ............................................................................................................................................................. 87
8.0 8 x 8 Hardware Multiplier............................................................................................................................................................ 91
9.0 Interrupts .................................................................................................................................................................................... 93
10.0 I/O Ports ................................................................................................................................................................................... 109
11.0 Timer0 Module ......................................................................................................................................................................... 135
12.0 Timer1 Module ......................................................................................................................................................................... 139
13.0 Timer2 Module ......................................................................................................................................................................... 145
14.0 Timer5 Module ......................................................................................................................................................................... 147
15.0 Capture/Compare/PWM (CCP) Modules ................................................................................................................................. 153
16.0 Motion Feedback Module ......................................................................................................................................................... 159
17.0 Power Control PWM Module .................................................................................................................................................... 181
18.0 Synchronous Serial Port (SSP) Module ................................................................................................................................... 213
19.0 Enhanced Universal Synchronous Asynchronous Receiver Transmitter (EUSART) ............................................................... 223
20.0 10-Bit High-Speed Analog-to-Digital Converter (A/D) Module ................................................................................................. 245
21.0 Low-Voltage Detect .................................................................................................................................................................. 263
22.0 Special Features of the CPU .................................................................................................................................................... 269
23.0 Instruction Set Summary .......................................................................................................................................................... 289
24.0 Development Support............................................................................................................................................................... 331
25.0 Electrical Characteristics .......................................................................................................................................................... 335
26.0 DC and AC Characteristics Graphs and Tables ....................................................................................................................... 371
27.0 Packaging Information.............................................................................................................................................................. 373
Appendix A: Revision History............................................................................................................................................................. 381
Appendix B: Device Differences......................................................................................................................................................... 381
Appendix C: Conversion Considerations ........................................................................................................................................... 382
Appendix D: Migration from Baseline to Enhanced Devices.............................................................................................................. 382
Appendix E: Migration From Mid-Range to Enhanced Devices ......................................................................................................... 383
Appendix F: Migration From High-End to Enhanced Devices............................................................................................................ 383
Index .................................................................................................................................................................................................. 385
The Microchip Web Site ..................................................................................................................................................................... 395
Customer Change Notification Service .............................................................................................................................................. 395
Customer Support .............................................................................................................................................................................. 395
Reader Response .............................................................................................................................................................................. 396
Product Identification System............................................................................................................................................................. 397
DS39616C-page 6
Preliminary
© 2007 Microchip Technology Inc.