PIC12F1840-I/P Microchip Technology, PIC12F1840-I/P Datasheet - Page 373

7 KB Flash, 256 Bytes RAM, 32 MHz Int. Osc, 6 I/0, Enhanced Mid Range Core 8 PDI

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

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
Part Number:
PIC12F1840-I/P
Manufacturer:
MICROCHIP
Quantity:
200
INDEX
A
A/D
Absolute Maximum Ratings .............................................. 321
AC Characteristics
ACKSTAT ......................................................................... 247
ACKSTAT Status Flag ...................................................... 247
ADC .................................................................................. 127
ADCON0 Register....................................................... 25, 133
ADCON1 Register....................................................... 25, 134
ADDFSR ........................................................................... 311
ADDWFC .......................................................................... 311
ADRESH Register............................................................... 25
ADRESH Register (ADFM = 0) ......................................... 135
ADRESH Register (ADFM = 1) ......................................... 136
ADRESL Register (ADFM = 0).......................................... 135
ADRESL Register (ADFM = 1).......................................... 136
Alternate Pin Function....................................................... 111
Analog-to-Digital Converter. See ADC
ANSELA Register ............................................................. 116
APFCON0 Register........................................................... 112
Assembler
B
BAUDCON Register.......................................................... 278
BF ............................................................................. 247, 249
BF Status Flag .......................................................... 247, 249
Block Diagram
Block Diagrams
 2011 Microchip Technology Inc.
Specifications.................................................... 343, 344
Industrial and Extended ............................................ 336
Load Conditions ........................................................ 335
Acquisition Requirements ......................................... 137
Associated registers.................................................. 139
Block Diagram........................................................... 127
Calculating Acquisition Time..................................... 137
Channel Selection..................................................... 128
Configuration............................................................. 128
Configuring Interrupt ................................................. 132
Conversion Clock...................................................... 128
Conversion Procedure .............................................. 132
Internal Sampling Switch (R
Interrupts................................................................... 130
Operation .................................................................. 131
Operation During Sleep ............................................ 131
Port Configuration ..................................................... 128
Reference Voltage (V
Source Impedance.................................................... 137
Special Event Trigger................................................ 131
Starting an A/D Conversion ...................................... 130
MPASM Assembler................................................... 358
Capacitive Sensing ........................................... 295, 296
(CCP) Capture Mode Operation ............................... 190
ADC .......................................................................... 127
ADC Transfer Function ............................................. 138
Analog Input Model ........................................... 138, 156
CCP PWM................................................................. 194
Clock Source............................................................... 48
Comparator ............................................................... 152
Compare ................................................................... 192
Crystal Operation .................................................. 50, 51
Digital-to-Analog Converter (DAC)............................ 142
EUSART Receive ..................................................... 268
EUSART Transmit .................................................... 267
REF
)......................................... 128
SS
) Impedance.............. 137
Preliminary
BORCON Register.............................................................. 71
BRA .................................................................................. 312
Break Character (12-bit) Transmit and Receive ............... 287
Brown-out Reset (BOR)...................................................... 71
C
C Compilers
CALL................................................................................. 313
CALLW ............................................................................. 313
Capacitive Sensing ........................................................... 295
Capture Module. See Enhanced Capture/Compare/
Capture/Compare/PWM ................................................... 189
Capture/Compare/PWM (CCP)
CCP1AS Register ............................................................. 208
CCP1CON Register............................................................ 29
CCPR1H Register............................................................... 29
External RC Mode ...................................................... 51
Fail-Safe Clock Monitor (FSCM)................................. 59
Generic I/O Port........................................................ 111
Interrupt Logic............................................................. 77
On-Chip Reset Circuit................................................. 69
Peripheral Interrupt Logic ........................................... 78
PIC12(L)F1840 ..................................................... 10, 14
PWM (Enhanced) ..................................................... 198
Resonator Operation .................................................. 50
Timer0 ...................................................................... 159
Timer1 ...................................................................... 163
Timer1 Gate.............................................. 168, 169, 170
Timer2 ...................................................................... 175
Voltage Reference.................................................... 123
Voltage Reference Output Buffer Example .............. 142
Specifications ........................................................... 341
Timing and Characteristics ....................................... 340
MPLAB C18.............................................................. 358
Associated registers w/ Capacitive Sensing............. 302
Specifications ........................................................... 353
PWM (ECCP)
Associated Registers w/ Capture ............................. 191
Associated Registers w/ Compare ........................... 193
Associated Registers w/ PWM ......................... 197, 206
Capture Mode........................................................... 190
CCPx Pin Configuration............................................ 190
Compare Mode......................................................... 192
Prescaler .................................................................. 190
PWM Mode
PWM Operation ........................................................ 194
PWM Overview......................................................... 194
PWM Period ............................................................. 195
PWM Setup .............................................................. 195
CCPx Pin Configuration.................................... 192
Software Interrupt Mode ........................... 190, 192
Special Event Trigger ....................................... 192
Timer1 Mode Resource ............................ 190, 192
Duty Cycle ........................................................ 195
Effects of Reset ................................................ 197
Example PWM Frequencies and
Example PWM Frequencies and
Example PWM Frequencies and
Operation in Sleep Mode.................................. 197
Resolution ........................................................ 196
System Clock Frequency Changes .................. 197
Resolutions, 20 MHZ ................................ 196
Resolutions, 32 MHZ ................................ 196
Resolutions, 8 MHz .................................. 196
PIC12(L)F1840
DS041441B-page 373

Related parts for PIC12F1840-I/P