PIC12F1840-I/P Microchip Technology, PIC12F1840-I/P Datasheet - Page 6
![7 KB Flash, 256 Bytes RAM, 32 MHz Int. Osc, 6 I/0, Enhanced Mid Range Core 8 PDI](/photos/16/3/160349/pdip8_sml.jpg)
PIC12F1840-I/P
Manufacturer Part Number
PIC12F1840-I/P
Description
7 KB Flash, 256 Bytes RAM, 32 MHz Int. Osc, 6 I/0, Enhanced Mid Range Core 8 PDI
Manufacturer
Microchip Technology
Datasheet
1.PIC12F1840-IP.pdf
(382 pages)
Specifications of PIC12F1840-I/P
Processor Series
PIC12F
Core
PIC
Program Memory Type
Flash
Program Memory Size
7 KB
Data Ram Size
256 B
Interface Type
MI2C, SPI, EUSART
Number Of Timers
3
Operating Supply Voltage
1.8 V to 5.5 V
Maximum Operating Temperature
+ 85 C
Mounting Style
Through Hole
Package / Case
PDIP-8
Development Tools By Supplier
MPLAB IDE Software
Minimum Operating Temperature
- 40 C
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
PIC12F1840-I/P
Manufacturer:
MICROCHIP
Quantity:
200
- Current page: 6 of 382
- Download datasheet (4Mb)
PIC12(L)F1840
Table of Contents
1.0
2.0
3.0
4.0
5.0
6.0
7.0
8.0
9.0
10.0 Watchdog Timer (WDT) ............................................................................................................................................................. 93
11.0 Data EEPROM and Flash Program Memory Control ................................................................................................................. 97
12.0 I/O Ports ................................................................................................................................................................................... 111
13.0 Interrupt-on-Change ................................................................................................................................................................. 119
14.0 Fixed Voltage Reference (FVR) ............................................................................................................................................... 123
15.0 Temperature Indicator .............................................................................................................................................................. 125
16.0 Analog-to-Digital Converter (ADC) Module .............................................................................................................................. 127
17.0 Digital-to-Analog Converter (DAC) Module .............................................................................................................................. 141
18.0 SR Latch................................................................................................................................................................................... 145
19.0 Comparator Module.................................................................................................................................................................. 151
20.0 Timer0 Module ......................................................................................................................................................................... 159
21.0 Timer1 Module ......................................................................................................................................................................... 163
22.0 Timer2 Modules........................................................................................................................................................................ 175
23.0 Data Signal Modulator (DSM) .................................................................................................................................................. 179
24.0 Capture/Compare/PWM Module .............................................................................................................................................. 189
25.0 Master Synchronous Serial Port (MSSP) Module .................................................................................................................... 211
26.0 Enhanced Universal Synchronous Asynchronous Receiver Transmitter (EUSART) ............................................................... 267
27.0 Capacitive Sensing (CPS) Module ........................................................................................................................................... 295
28.0 In-Circuit Serial Programming
29.0 Instruction Set Summary .......................................................................................................................................................... 307
30.0 Electrical Specifications............................................................................................................................................................ 321
31.0 DC and AC Characteristics Graphs and Tables ....................................................................................................................... 355
32.0 Development Support............................................................................................................................................................... 357
33.0 Packaging Information.............................................................................................................................................................. 361
Appendix A: Revision History............................................................................................................................................................. 371
Appendix B: Device Differences......................................................................................................................................................... 371
Index .................................................................................................................................................................................................. 371
The Microchip Web Site ..................................................................................................................................................................... 379
Customer Change Notification Service .............................................................................................................................................. 379
Customer Support .............................................................................................................................................................................. 379
Reader Response .............................................................................................................................................................................. 380
Product Identification System............................................................................................................................................................. 381
DS41441B-page 6
Device Overview .......................................................................................................................................................................... 9
Enhanced Mid-Range CPU ........................................................................................................................................................ 13
Memory Organization ................................................................................................................................................................. 15
Device Configuration .................................................................................................................................................................. 41
Oscillator Module (With Fail-Safe Clock Monitor)....................................................................................................................... 47
Reference Clock Module ............................................................................................................................................................ 57
Resets ........................................................................................................................................................................................ 69
Interrupts .................................................................................................................................................................................... 77
Power-Down Mode (Sleep) ........................................................................................................................................................ 89
™
(ICSP
™
) ................................................................................................................................ 303
Preliminary
2011 Microchip Technology Inc.
Related parts for PIC12F1840-I/P
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![PIC12LF1840-I/MF](/photos/16/0/160077/dfn8_tmb.jpg)
Part Number:
Description:
7 KB Flash, 256 Bytes RAM, 32 MHz Int. Osc, 6 I/0, Enhanced Mid Range Core, Nano
Manufacturer:
Microchip Technology
Datasheet:
![710-0004-01](/photos/15/93/159365/schmartboard_pd_710-0004-01_tmb.jpg)
Part Number:
Description:
MCU, MPU & DSP Development Tools 8 Bit PIC Develop Microcontroller
Manufacturer:
SchmartBoard
Datasheet:
![PIC12F1840-I/MF](/photos/16/0/160077/dfn8_tmb.jpg)
Part Number:
Description:
7 KB Flash, 256 Bytes RAM, 32 MHz Int. Osc, 6 I/0, Enhanced Mid Range Core 8 DFN
Manufacturer:
Microchip Technology
![PIC12F1840-I/SN](/photos/16/3/160347/soic8_tmb.jpg)
Part Number:
Description:
7 KB Flash, 256 Bytes RAM, 32 MHz Int. Osc, 6 I/0, Enhanced Mid Range Core 8 SOI
Manufacturer:
Microchip Technology
![PIC12LF1840-E/MF](/photos/16/0/160077/dfn8_tmb.jpg)
Part Number:
Description:
7 KB Flash, 256 Bytes RAM, 32 MHz Int. Osc, 6 I/0, Enhanced Mid Range Core, Nano
Manufacturer:
Microchip Technology
Datasheet:
![PIC12LF1840-E/P](/photos/16/3/160349/pdip8_tmb.jpg)
Part Number:
Description:
7 KB Flash, 256 Bytes RAM, 32 MHz Int. Osc, 6 I/0, Enhanced Mid Range Core, Nano
Manufacturer:
Microchip Technology
Datasheet:
![PIC12LF1840-E/SN](/photos/16/3/160347/soic8_tmb.jpg)
Part Number:
Description:
7 KB Flash, 256 Bytes RAM, 32 MHz Int. Osc, 6 I/0, Enhanced Mid Range Core, Nano
Manufacturer:
Microchip Technology
Datasheet:
![PIC12LF1840-I/P](/photos/16/3/160349/pdip8_tmb.jpg)
Part Number:
Description:
7 KB Flash, 256 Bytes RAM, 32 MHz Int. Osc, 6 I/0, Enhanced Mid Range Core, Nano
Manufacturer:
Microchip Technology
![PIC12LF1840-I/SN](/photos/16/3/160347/soic8_tmb.jpg)
Part Number:
Description:
7 KB Flash, 256 Bytes RAM, 32 MHz Int. Osc, 6 I/0, Enhanced Mid Range Core, Nano
Manufacturer:
Microchip Technology
![PIC12LF1840T-I/MF](/photos/16/0/160077/dfn8_tmb.jpg)
Part Number:
Description:
7 KB Flash, 256 Bytes RAM, 32 MHz Int. Osc, 6 I/0, Enhanced Mid Range Core, Nano
Manufacturer:
Microchip Technology
Datasheet:
![PIC12LF1840T-I/SN](/photos/16/3/160347/soic8_tmb.jpg)
Part Number:
Description:
7 KB Flash, 256 Bytes RAM, 32 MHz Int. Osc, 6 I/0, Enhanced Mid Range Core, Nano
Manufacturer:
Microchip Technology
Datasheet:
![TC1014-2.7VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
![TC1014-5.0VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet: