PIC16F887-E/P Microchip Technology Inc., PIC16F887-E/P Datasheet - Page 78

no-image

PIC16F887-E/P

Manufacturer Part Number
PIC16F887-E/P
Description
40 PIN, 14KB FLASH, 368 RAM, 36 I/O, PDIP
Manufacturer
Microchip Technology Inc.
Datasheet

Specifications of PIC16F887-E/P

A/d Inputs
14-Channel, 10-Bit
Comparators
2
Cpu Speed
5 MIPS
Eeprom Memory
256 Bytes
Frequency
20 MHz
Input Output
35
Interface
I2C/SPI/USART
Memory Type
Flash
Number Of Bits
8
Package Type
40-pin PDIP
Programmable Memory
14K Bytes
Ram Size
368 Bytes
Resistance, Drain To Source On
Bytes
Serial Interface
MSSP or EUSART
Speed
20 MHz
Timers
2-8-bit, 1-16-bit
Voltage, Range
2-5.5 V
Lead Free Status / Rohs Status
RoHS Compliant part Electrostatic Device

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC16F887-E/P
Manufacturer:
TI
Quantity:
12 000
Part Number:
PIC16F887-E/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
PIC16F882/883/884/886/887
6.0
The Timer1 module is a 16-bit timer/counter with the
following features:
• 16-bit timer/counter register pair (TMR1H:TMR1L)
• Programmable internal or external clock source
• 3-bit prescaler
• Optional LP oscillator
• Synchronous or asynchronous operation
• Timer1 gate (count enable) via comparator or
• Interrupt on overflow
• Wake-up on overflow (external clock,
• Time base for the Capture/Compare function
• Special Event Trigger (with ECCP)
• Comparator output synchronization to Timer1
Figure 6-1 is a block diagram of the Timer1 module.
FIGURE 6-1:
DS41291E-page 76
T1G pin
Asynchronous mode only)
clock
Without CLKOUT
OSC1/T1CKI
OSC2/T1G
TIMER1 MODULE WITH GATE
CONTROL
T1OSCEN
Note 1:
INTOSC
Set flag bit
TMR1IF on
Overflow
2:
3:
4:
ST Buffer is low power type when using LP osc, or high speed type when using T1CKI.
Timer1 register increments on rising edge.
Synchronize does not operate while in Sleep.
SYNCC2OUT is synchronized when the C2SYNC bit of the CM2CON1 register is set.
TIMER1 BLOCK DIAGRAM
Oscillator
TMR1H
TMR1
(2)
TMR1L
Internal
F
OSC
Clock
F
OSC
EN
/4
(1)
T1ACS
1
0
6.1
The Timer1 module is a 16-bit incrementing counter
which is accessed through the TMR1H:TMR1L register
pair. Writes to TMR1H or TMR1L directly update the
counter.
When used with an internal clock source, the module is
a timer. When used with an external clock source, the
module can be used as either a timer or counter.
6.2
The TMR1CS bit of the T1CON register is used to select
the clock source. When TMR1CS = 0, the clock source
is F
supplied externally.
TMR1CS
F
T1CKI pin
OSC
1
0
To C2 Comparator Module
Timer1 Clock
OSC
/4
/4. When TMR1CS = 1, the clock source is
Timer1 Operation
Clock Source Selection
T1CKPS<1:0>
Clock Source
T1SYNC
Prescaler
1, 2, 4, 8
SYNCC2OUT
TMR1ON
0
1
2
© 2008 Microchip Technology Inc.
TMR1GE
(4)
Synchronized
Synchronize
clock input
T1GSS
1
0
det
(3)
TMR1CS
T1GINV
0
1

Related parts for PIC16F887-E/P