PIC16F874-20/L Microchip Technology, PIC16F874-20/L Datasheet - Page 198

IC MCU FLASH 4KX14 EE 44PLCC

PIC16F874-20/L

Manufacturer Part Number
PIC16F874-20/L
Description
IC MCU FLASH 4KX14 EE 44PLCC
Manufacturer
Microchip Technology
Series
PIC® 16Fr

Specifications of PIC16F874-20/L

Core Size
8-Bit
Program Memory Size
7KB (4K x 14)
Core Processor
PIC
Speed
20MHz
Connectivity
I²C, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
33
Program Memory Type
FLASH
Eeprom Size
128 x 8
Ram Size
192 x 8
Voltage - Supply (vcc/vdd)
4 V ~ 5.5 V
Data Converters
A/D 8x10b
Oscillator Type
External
Operating Temperature
0°C ~ 70°C
Package / Case
44-PLCC
Controller Family/series
PIC16F
No. Of I/o's
33
Eeprom Memory Size
128Byte
Ram Memory Size
192Byte
Cpu Speed
20MHz
No. Of Timers
3
Processor Series
PIC16F
Core
PIC
Data Bus Width
8 bit
Data Ram Size
192 B
Interface Type
MSSP, PSP, USART
Maximum Clock Frequency
20 MHz
Number Of Programmable I/os
33
Number Of Timers
3
Operating Supply Voltage
2 V to 5.5 V
Maximum Operating Temperature
+ 70 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, DM163022, DV164120
Minimum Operating Temperature
0 C
On-chip Adc
10 bit, 8 Channel
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With
AC164309 - MODULE SKT FOR PM3 44PLCC444-1001 - DEMO BOARD FOR PICMICRO MCUDVA16XL441 - ADAPTER DEVICE ICE 44PLCC309-1040 - ADAPTER 44-PLCC ZIF TO 40-DIP309-1039 - ADAPTER 44-PLCC TO 40-DIPDV007003 - PROGRAMMER UNIVERSAL PROMATE II
Lead Free Status / Rohs Status
 Details

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC16F874-20/L
Manufacturer:
Microchip Technology
Quantity:
10 000
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 PIC16F874-20/L