PIC16F818-I/P Microchip Technology, PIC16F818-I/P Datasheet - Page 167

IC MCU FLASH 1KX14 18-DIP

PIC16F818-I/P

Manufacturer Part Number
PIC16F818-I/P
Description
IC MCU FLASH 1KX14 18-DIP
Manufacturer
Microchip Technology
Series
PIC® 16Fr

Specifications of PIC16F818-I/P

Program Memory Type
FLASH
Program Memory Size
1.75KB (1K x 14)
Package / Case
18-DIP (0.300", 7.62mm)
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
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 ~ 85°C
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
3
Operating Supply Voltage
2 V to 5.5 V
Maximum Operating Temperature
+ 85 C
Mounting Style
Through Hole
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-ch x 10-bit
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With
ACICE0202 - ADAPTER MPLABICE 18P 300 MILAC164010 - MODULE SKT PROMATEII DIP/SOIC
Lead Free Status / Rohs Status
Lead free / RoHS Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC16F818-I/P
Manufacturer:
Microchip Technology
Quantity:
295
INDEX
A
A/D
Absolute Maximum Ratings ............................................. 117
ACK .................................................................................... 77
ADCON0 Register .............................................................. 81
ADCON1 Register .............................................................. 81
ADRESH Register ........................................................ 13, 81
ADRESH, ADRESL Register Pair ...................................... 83
ADRESL Register ........................................................ 14, 81
Application Notes
Assembler
B
BF Bit ................................................................................. 77
Block Diagrams
 2004 Microchip Technology Inc.
Acquisition Requirements .......................................... 84
ADIF Bit ...................................................................... 83
Analog-to-Digital Converter ........................................ 81
Associated Registers ................................................. 87
Calculating Acquisition Time ...................................... 84
Configuring Analog Port Pins ..................................... 85
Configuring the Interrupt ............................................ 83
Configuring the Module .............................................. 83
Conversion Clock ....................................................... 85
Conversion Requirements ....................................... 142
Conversions ............................................................... 86
Converter Characteristics ........................................ 141
Delays ........................................................................ 84
Effects of a Reset ....................................................... 87
GO/DONE Bit ............................................................. 83
Internal Sampling Switch (Rss) Impedance ............... 84
Operation During Sleep ............................................. 87
Result Registers ......................................................... 86
Source Impedance ..................................................... 84
Time Delays ............................................................... 84
Use of the CCP Trigger .............................................. 87
AN556 (Implementing a Table Read) ........................ 23
AN578 (Use of the SSP Module in the
AN607 (Power-up Trouble Shooting) ......................... 92
MPASM Assembler .................................................. 111
A/D ............................................................................. 83
Analog Input Model .................................................... 84
Capture Mode Operation ........................................... 66
Compare Mode Operation ......................................... 67
In-Circuit Serial Programming
Interrupt Logic ............................................................ 96
On-Chip Reset Circuit ................................................ 91
PIC16F818/819 ............................................................ 6
PWM .......................................................................... 68
RA0/AN0:RA1/AN1 Pins ............................................ 40
RA2/AN2/V
RA3/AN3/V
RA4/AN4/T0CKI Pin ................................................... 40
RA5/MCLR/V
RA6/OSC2/CLKO Pin ................................................ 41
RA7/OSC1/CLKI Pin .................................................. 42
RB0 Pin ...................................................................... 45
RB1 Pin ...................................................................... 46
RB2 Pin ...................................................................... 47
RB3 Pin ...................................................................... 48
RB4 Pin ...................................................................... 49
I
Connections ..................................................... 101
2
C Multi-Master Environment) ........................... 71
REF
REF
PP
- Pin .................................................... 40
+ Pin ................................................... 40
Pin ................................................... 41
BOR. See Brown-out Reset.
Brown-out Reset (BOR) .............................. 89, 91, 92, 93, 94
C
C Compilers
Capture/Compare/PWM (CCP) ......................................... 65
CCP1M0 Bit ....................................................................... 65
CCP1M1 Bit ....................................................................... 65
CCP1M2 Bit ....................................................................... 65
CCP1M3 Bit ....................................................................... 65
CCP1X Bit .......................................................................... 65
CCP1Y Bit .......................................................................... 65
CCPR1H Register .............................................................. 65
CCPR1L Register .............................................................. 65
Code Examples
RB5 Pin ..................................................................... 50
RB6 Pin ..................................................................... 51
RB7 Pin ..................................................................... 52
Recommended MCLR Circuit .................................... 92
SSP in I
SSP in SPI Mode ....................................................... 74
System Clock ............................................................. 38
Timer0/WDT Prescaler .............................................. 53
Timer1 ....................................................................... 58
Timer2 ....................................................................... 63
Watchdog Timer (WDT) ............................................. 98
MPLAB C17 ............................................................. 112
MPLAB C18 ............................................................. 112
MPLAB C30 ............................................................. 112
Capture Mode ............................................................ 66
Capture, Compare and Timer1
CCP1IF ...................................................................... 66
CCPR1 ...................................................................... 66
CCPR1H:CCPR1L ..................................................... 66
Compare Mode .......................................................... 67
PWM and Timer2
PWM Mode ................................................................ 68
Timer Resources ....................................................... 65
Changing Between Capture Prescalers ..................... 66
Changing Prescaler Assignment from
Changing Prescaler Assignment from
Clearing RAM Using Indirect Addressing .................. 23
Erasing a Flash Program Memory Row ..................... 29
Implementing a Real-Time Clock Using
Initializing PORTA ...................................................... 39
Reading a 16-Bit Free Running Timer ....................... 59
CCP Prescaler ................................................... 66
Pin Configuration ............................................... 66
Software Interrupt .............................................. 66
Timer1 Mode Selection ...................................... 66
Associated Registers ......................................... 67
Pin Configuration ............................................... 67
Software Interrupt Mode .................................... 67
Special Event Trigger ........................................ 67
Special Event Trigger
Timer1 Mode Selection ...................................... 67
Associated Registers ......................................... 69
Duty Cycle ......................................................... 68
Example Frequencies/Resolutions .................... 69
Period ................................................................ 68
Setup for Operation ........................................... 69
Timer0 to WDT .................................................. 55
WDT to Timer0 .................................................. 55
a Timer1 Interrupt Service ................................. 62
2
C Mode ........................................................ 76
Output of CCP1 ......................................... 67
PIC16F818/819
DS39598E-page 165

Related parts for PIC16F818-I/P