PIC16F818-E/SO Microchip Technology, PIC16F818-E/SO Datasheet - Page 171
![IC,MICROCONTROLLER,8-BIT,PIC CPU,CMOS,SOP,18PIN,PLASTIC](/photos/6/76/67656/150-18-soic_sml.jpg)
PIC16F818-E/SO
Manufacturer Part Number
PIC16F818-E/SO
Description
IC,MICROCONTROLLER,8-BIT,PIC CPU,CMOS,SOP,18PIN,PLASTIC
Manufacturer
Microchip Technology
Series
PIC® 16Fr
Datasheets
1.PIC16F616T-ISL.pdf
(8 pages)
2.PIC16F688T-ISL.pdf
(688 pages)
3.PIC16F818-ISO.pdf
(176 pages)
4.PIC16F818-ISO.pdf
(6 pages)
5.PIC16F818-ISO.pdf
(8 pages)
6.PIC16F818-ISO.pdf
(8 pages)
Specifications of PIC16F818-E/SO
Rohs Compliant
YES
Core Processor
PIC
Core Size
8-Bit
Speed
20MHz
Connectivity
I²C, SPI
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
16
Program Memory Size
1.75KB (1K x 14)
Program Memory Type
FLASH
Eeprom Size
128 x 8
Ram Size
128 x 8
Voltage - Supply (vcc/vdd)
4 V ~ 5.5 V
Data Converters
A/D 5x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 125°C
Package / Case
18-SOIC (7.5mm Width)
Processor Series
PIC16F
Core
PIC
Data Bus Width
8 bit
Data Ram Size
128 B
Interface Type
I2C, SPI, SSP
Maximum Clock Frequency
20 MHz
Number Of Programmable I/os
16
Number Of Timers
1 x 16 bit
Operating Supply Voltage
2 V to 5.5 V
Maximum Operating Temperature
+ 125 C
Mounting Style
SMD/SMT
3rd Party Development Tools
52715-96, 52716-328, 52717-734
Development Tools By Supplier
PG164130, DV164035, DV244005, DV164005, PG164120, ICE2000, DM163014
Minimum Operating Temperature
- 40 C
On-chip Adc
5 bit
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
PIC16F818-E/SO
Manufacturer:
Microchip Technology
Quantity:
135
SSPSTAT Register ............................................................ 14
Stack .................................................................................. 23
Status Register ............................................................. 13, 15
Synchronous Serial Port (SSP) .......................................... 71
Synchronous Serial Port Interrupt ...................................... 20
T
T1CKPS0 Bit ...................................................................... 57
T1CKPS1 Bit ...................................................................... 57
T1OSCEN Bit ..................................................................... 57
T1SYNC Bit ........................................................................ 57
T2CKPS0 Bit ...................................................................... 64
T2CKPS1 Bit ...................................................................... 64
Tad ..................................................................................... 85
Time-out Sequence ............................................................ 92
Timer0 ................................................................................ 53
Timer1 ................................................................................ 57
Timer2 ................................................................................ 63
Timing Diagrams
2004 Microchip Technology Inc.
Overflow ..................................................................... 23
Underflow ................................................................... 23
DC Bit ......................................................................... 16
IRP Bit ........................................................................ 16
PD Bit ......................................................................... 91
TO Bit ................................................................... 16, 91
Z Bit ............................................................................ 16
Overview .................................................................... 71
SPI Mode ................................................................... 71
Associated Registers ................................................. 55
Clock Source Edge Select (T0SE Bit) ........................ 17
Clock Source Select (T0CS Bit) ................................. 17
External Clock ............................................................ 54
Interrupt ...................................................................... 53
Operation ................................................................... 53
Overflow Enable (TMR0IE Bit) ................................... 18
Overflow Flag (TMR0IF Bit) ....................................... 97
Overflow Interrupt ...................................................... 97
Prescaler .................................................................... 54
T0CKI ......................................................................... 54
Associated Registers ................................................. 62
Capacitor Selection .................................................... 60
Counter Operation ..................................................... 58
Operation ................................................................... 57
Operation in Asynchronous
Operation in Synchronized
Operation in Timer Mode ........................................... 58
Oscillator .................................................................... 60
Oscillator Layout Considerations ............................... 60
Prescaler .................................................................... 61
Resetting Register Pair (TMR1H, TMR1L) ................. 61
Resetting Using a CCP Trigger Output ...................... 61
TMR1H ....................................................................... 59
TMR1L ....................................................................... 59
Use as a Real-Time Clock ......................................... 61
Associated Registers ................................................. 64
Output ........................................................................ 63
Postscaler .................................................................. 63
Prescaler .................................................................... 63
Prescaler and Postscaler ........................................... 63
A/D Conversion ........................................................ 142
Brown-out Reset ...................................................... 133
Capture/Compare/PWM (CCP1) .............................. 135
CLKO and I/O .......................................................... 132
External Clock .......................................................... 131
Counter Mode .................................................... 59
Counter Mode .................................................... 58
Timing Parameter Symbology ......................................... 130
Timing Requirements
TMR0 Register ................................................................... 15
TMR1CS Bit ....................................................................... 57
TMR1H Register ................................................................ 13
TMR1L Register ................................................................. 13
TMR1ON Bit ...................................................................... 57
TMR2 Register ................................................................... 13
TMR2ON Bit ...................................................................... 64
TOUTPS0 Bit ..................................................................... 64
TOUTPS1 Bit ..................................................................... 64
TOUTPS2 Bit ..................................................................... 64
TOUTPS3 Bit ..................................................................... 64
TRISA Register .................................................................. 14
TRISB Register .............................................................14, 15
V
Vdd Pin ................................................................................ 8
Vss Pin ................................................................................. 8
W
Wake-up from Sleep .....................................................89, 99
Wake-up Using Interrupts .................................................. 99
Watchdog Timer (WDT) ................................................89, 98
WCOL ................................................................................ 73
Write Collision Detect Bit, WCOL ...................................... 73
WWW, On-Line Support ...................................................... 3
I
I
I
I
PWM Output .............................................................. 68
Reset, Watchdog Timer,
Slow Rise Time (MCLR Tied to V
SPI Master Mode ....................................................... 75
SPI Master Mode (CKE = 0, SMP = 0) .................... 136
SPI Master Mode (CKE = 1, SMP = 1) .................... 136
SPI Slave Mode (CKE = 0) .................................75, 137
SPI Slave Mode (CKE = 1) .................................75, 137
Time-out Sequence on Power-up
Time-out Sequence on Power-up (MCLR
Time-out Sequence on Power-up (MCLR
Timer0 and Timer1 External Clock .......................... 134
Timer1 Incrementing Edge ........................................ 58
Wake-up from Sleep through Interrupt .................... 100
External Clock .......................................................... 131
Interrupts ..............................................................93, 94
MCLR Reset .............................................................. 94
WDT Reset ................................................................ 94
Associated Registers ................................................. 98
Enable (WDTEN Bit) .................................................. 98
INTRC Oscillator ........................................................ 98
Postscaler. See Postscaler, WDT.
Programming Considerations .................................... 98
Time-out Period ......................................................... 98
WDT Reset, Normal Operation ....................... 91, 93, 94
WDT Reset, Sleep ................................................91, 94
WDT Wake-up ........................................................... 93
2
2
2
2
C Bus Data ............................................................ 139
C Bus Start/Stop Bits ............................................ 138
C Reception (7-Bit Address) ................................... 78
C Transmission (7-Bit Address) .............................. 78
Oscillator Start-up Timer and
Power-up Timer ............................................... 133
Through RC Network) ........................................ 96
(MCLR Tied to V
Pull-up Resistor) ................................................ 95
Tied to V
Tied to V
PIC16F818/819
DD
DD
Through RC Network): Case 1 ....... 95
Through RC Network): Case 2 ....... 95
DD
Through
DD
DS39598E-page 169