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

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
3.6.1
Figure 3-19 shows the diagram for these pins. These
pins are configured to function as general purpose
I/O’s.
FIGURE 3-19:
3.6.2
Figure 3-20 shows the diagram for this pin. This pin is
configurable to function as one of the following:
• a general purpose I/O
• a PWM output
TABLE 3-4:
DS41291E-page 58
PORTD
PSTRCON
TRISD
Legend:
PORTD
PORTD
TRISD
TRISD
Data Bus
Note:
Note 1: RD5/P1B is available on PIC16F884/887
WR
WR
RD
RD
Name
D
D
CK
CK
x = unknown, u = unchanged, – = unimplemented locations read as ‘0’. Shaded cells are not used by PORTD.
RD<4:0>
RD<4:0> is available on PIC16F884/887
only.
RD5/P1B
only. See RB2/
on PIC16F882/883/886.
TRISD7
Bit 7
RD7
Q
Q
Q
Q
SUMMARY OF REGISTERS ASSOCIATED WITH PORTD
BLOCK DIAGRAM OF
RD<4:0>
(1)
TRISD6
Bit 6
RD6
AN8/P1B
TRISD5
Bit 5
RD5
for this function
STRSYNC
TRISD4
V
V
Bit 4
RD4
DD
SS
I/O Pin
TRISD3
STRD
Bit 3
RD3
3.6.3
Figure 3-20 shows the diagram for this pin. This pin is
configurable to function as one of the following:
• a general purpose I/O
• a PWM output
3.6.4
Figure 3-20 shows the diagram for this pin. This pin is
configurable to function as one of the following:
• a general purpose I/O
• a PWM output
FIGURE 3-20:
TRISD2
STRC
Bit 2
PORTD
RD2
PORTD
TRISD
TRISD
Data Bus
Note 1: RD6/P1C is available on PIC16F884/887
Note 1: RD7/P1D is available on PIC16F884/887
WR
WR
RD
RD
TRISD1
STRB
D
D
Bit 1
RD1
RD6/P1C
RD7/P1D
CK
CK
only. See RB1/AN10/P1C/C12IN3- for
this function on PIC16F882/883/886.
only. See RB4/AN11/P1D for this function
on PIC16F882/883/886.
Q
Q
Q
Q
TRISD0
STRA
Bit 0
RD0
PSTRCON
(1)
(1)
BLOCK DIAGRAM OF
RD<7:5>
© 2008 Microchip Technology Inc.
CCP1
xxxx xxxx
---0 0001
1111 1111
POR, BOR
Value on
1
0
0
1
uuuu uuuu
---0 0001
1111 1111
V
Value on
V
all other
Resets
DD
SS
I/O Pin

Related parts for PIC16F887-E/P