PIC16F877-20I/P Microchip Technology, PIC16F877-20I/P Datasheet - Page 258

IC MCU FLASH 8KX14 EE 40DIP

PIC16F877-20I/P

Manufacturer Part Number
PIC16F877-20I/P
Description
IC MCU FLASH 8KX14 EE 40DIP
Manufacturer
Microchip Technology
Series
PIC® 16Fr

Specifications of PIC16F877-20I/P

Program Memory Type
FLASH
Program Memory Size
14KB (8K x 14)
Package / Case
40-DIP (0.600", 15.24mm)
Core Processor
PIC
Core Size
8-Bit
Speed
20MHz
Connectivity
I²C, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
33
Eeprom Size
256 x 8
Ram Size
368 x 8
Voltage - Supply (vcc/vdd)
4 V ~ 5.5 V
Data Converters
A/D 8x10b
Oscillator Type
External
Operating Temperature
-40°C ~ 85°C
Processor Series
PIC16F
Core
PIC
Data Bus Width
8 bit
Data Ram Size
368 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
+ 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, DM163022, DV164120
Minimum Operating Temperature
- 40 C
On-chip Adc
8-ch x 10-bit
Rohs Compliant
YES
Data Rom Size
256 B
Height
3.81 mm
Length
52.26 mm
Supply Voltage (max)
5.5 V
Supply Voltage (min)
4 V
Width
13.84 mm
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With
444-1001 - DEMO BOARD FOR PICMICRO MCU
Lead Free Status / Rohs Status
Lead free / RoHS Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC16F877-20I/P
Manufacturer:
Microchip Technology
Quantity:
1 881
Part Number:
PIC16F877-20I/P
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
PIC16F877-20I/P
0
Part Number:
PIC16F877-20I/PQ
Manufacturer:
MICROCHIP
Quantity:
1 000
Part Number:
PIC16F877-20I/PQ
Manufacturer:
QFP
Quantity:
5 510
Part Number:
PIC16F877-20I/PQ
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
PIC16F877-20I/PT
Manufacturer:
DREAM
Quantity:
5 140
Part Number:
PIC16F877-20I/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
PIC16F877-20I/PT
Manufacturer:
MIT
Quantity:
20 000
PICmicro MID-RANGE MCU FAMILY
16.3.2
DS31016A-page 16-8
Enabling SPI I/O
To enable the serial port, SSP enable bit, SSPEN (SSPCON<5>), must be set. To reset or recon-
figure SPI mode, clear the SSPEN bit which re-initializes the SSPCON register, and then set the
SSPEN bit. This configures the SDI, SDO, SCK, and SS pins as serial port pins. For the pins to
behave as the serial port function, they must have their data direction bits (in the TRIS register)
appropriately programmed. That is:
• SDI must have the TRIS bit set
• SDO must have the TRIS bit cleared
• SCK (Master mode) must have the TRIS bit cleared
• SCK (Slave mode) must have the TRIS bit set
• SS must have the TRIS bit set
Any serial port function that is not desired may be overridden by programming the corresponding
data direction (TRIS) register to the opposite value. An example would be in master mode where
you are only sending data (to a display driver), then both SDI and SS could be used as general
purpose outputs by clearing their corresponding TRIS register bits.
1997 Microchip Technology Inc.

Related parts for PIC16F877-20I/P