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

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
PICmicro MID-RANGE MCU FAMILY
13.3
13.4
13.5
13.6
13.7
DS31013A-page 13-4
INTCON
PIR
PIE
TMR2
T2CON
PR2
Legend: x = unknown, u = unchanged, - = unimplemented read as ‘0'.
Note 1: The position of this bit is device dependent.
Name
Shaded cells are not used by the Timer2 module.
Bit 7
Timer2 module’s register
Timer2 Period Register
GIE
Timer Clock Source
Timer (TMR2) and Period (PR2) Registers
TMR2 Match Output
Clearing the Timer2 Prescaler and Postscaler
Sleep Operation
TOUTPS3 TOUTPS2 TOUTPS1 TOUTPS0 TMR2ON T2CKPS1 T2CKPS0
Bit 6
PEIE
The Timer2 module has one source of input clock, the device clock (F
of 1:1, 1:4 or 1:16 is software selected by control bits T2CKPS1:T2CKPS0 (T2CON<1:0>).
The TMR2 register is readable and writable, and is cleared on all device resets. Timer2 incre-
ments from 00h until it matches PR2 and then resets to 00h on the next increment cycle. PR2 is
a readable and writable register.
TMR2 is cleared when a WDT, POR, MCLR, or a BOR reset occurs, while the PR2 register is set.
Timer2 can be shut off (disabled from incrementing) by clearing the TMR2ON control bit
(T2CON<2>). This minimizes the power consumption of the module.
The match output of TMR2 goes to two sources:
1.
2.
There are four bits which select the postscaler. This allows the postscaler a 1:1 to 1:16 scaling
(inclusive). After the postscaler overflows, the TMR2 interrupt flag bit (TMR2IF) is set to indicate
the Timer2 overflow. This is useful in reducing the software overhead of the Timer2 interrupt ser-
vice routine, since it will only execute once every postscaler # of matches.
The match output of TMR2 is also routed to the Synchronous Serial Port module, which may soft-
ware select this as the clock source for the shift clock.
The prescaler and postscaler counters are cleared when any of the following occurs:
• a write to the TMR2 register
• a write to the T2CON register
• any device reset (Power-on Reset, MCLR reset, Watchdog Timer Reset, Brown-out Reset,
During sleep, TMR2 will not increment. The prescaler will retain the last prescale count, ready for
operation to resume after the device wakes from sleep.
Table 13-1: Registers Associated with Timer2
or Parity Error Reset)
Timer2 Postscaler
SSP Clock Input
Note:
Bit 5
T0IE
When T2CON is written TMR2 does not clear.
INTE
Bit 4
TMR2IE
TMR2IF
Bit 3
RBIE
(1)
(1)
Bit 2
T0IF
Bit 1
INTF
Bit 0
RBIF
1997 Microchip Technology Inc.
0000 000x
0000 0000
-000 0000
1111 1111
BOR, PER
Value on:
OSC
POR,
/4). A prescale option
0
0
0000 000u
0000 0000
-000 0000
1111 1111
Value on
all other
resets
0
0

Related parts for PIC16F818-I/P