PIC16F870-I/SS Microchip Technology, PIC16F870-I/SS Datasheet - Page 39
![IC MCU FLASH 2KX14 EE 28SSOP](/photos/6/81/68119/150-28-ssop_sml.jpg)
PIC16F870-I/SS
Manufacturer Part Number
PIC16F870-I/SS
Description
IC MCU FLASH 2KX14 EE 28SSOP
Manufacturer
Microchip Technology
Series
PIC® 16Fr
Datasheets
1.PIC16F616T-ISL.pdf
(8 pages)
2.PIC16F688T-ISL.pdf
(688 pages)
3.PIC16F870-ISO.pdf
(172 pages)
4.PIC16F870-ISO.pdf
(6 pages)
Specifications of PIC16F870-I/SS
Core Size
8-Bit
Program Memory Size
3.5KB (2K x 14)
Core Processor
PIC
Speed
20MHz
Connectivity
UART/USART
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
22
Program Memory Type
FLASH
Eeprom Size
64 x 8
Ram Size
128 x 8
Voltage - Supply (vcc/vdd)
4 V ~ 5.5 V
Data Converters
A/D 5x10b
Oscillator Type
External
Operating Temperature
-40°C ~ 85°C
Package / Case
28-SSOP
Controller Family/series
PIC16F
No. Of I/o's
22
Eeprom Memory Size
64Byte
Ram Memory Size
128Byte
Cpu Speed
20MHz
No. Of Timers
3
Processor Series
PIC16F
Core
PIC
Data Bus Width
8 bit
Data Ram Size
128 B
Interface Type
USART
Maximum Clock Frequency
20 MHz
Number Of Programmable I/os
22
Number Of Timers
8
Operating Supply Voltage
2 V to 5.5 V
Maximum Operating Temperature
+ 85 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
- 40 C
On-chip Adc
28 bit
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With
I3-DB16F871 - BOARD DAUGHTER ICEPIC3AC164307 - MODULE SKT FOR PM3 28SSOPAC164020 - MODULE SKT PROMATEII 44TQFPXLT28SS-1 - SOCKET TRANSITION ICE 28SSOP
Lead Free Status / Rohs Status
Details
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
PIC16F870-I/SS
Manufacturer:
EPCOS
Quantity:
1 000
Part Number:
PIC16F870-I/SS
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
4.3
PORTC is an 8-bit wide, bi-directional port. The corre-
sponding data direction register is TRISC. Setting a
TRISC bit (= 1) will make the corresponding PORTC
pin an input (i.e., put the corresponding output driver in
a Hi-Impedance mode). Clearing a TRISC bit (= 0) will
make the corresponding PORTC pin an output (i.e., put
the contents of the output latch on the selected pin).
PORTC is multiplexed with several peripheral functions
(Table 4-5). PORTC pins have Schmitt Trigger input
buffers.
When enabling peripheral functions, care should be
taken in defining TRIS bits for each PORTC pin. Some
peripherals override the TRIS bit to make a pin an out-
put, while other peripherals override the TRIS bit to
make a pin an input. Since the TRIS bit override is in
effect while the peripheral is enabled, read-modify-
write instructions (BSF, BCF, XORWF) with TRISC as
the destination should be avoided. The user should
refer to the corresponding peripheral section for the
correct TRIS bit settings.
TABLE 4-5:
TABLE 4-6:
2003 Microchip Technology Inc.
07h
87h
Legend:
RC0/T1OSO/T1CKI
RC1/T1OSI
RC2/CCP1
RC3
RC4
RC5
RC6/TX/CK
RC7/RX/DT
Legend:
Address
Name
PORTC and the TRISC Register
PORTC
TRISC
x = unknown, u = unchanged
ST = Schmitt Trigger input
Name
PORTC FUNCTIONS
SUMMARY OF REGISTERS ASSOCIATED WITH PORTC
PORTC Data Direction Register
Bit 7
RC7
Bit#
bit0
bit1
bit2
bit3
bit4
bit5
bit6
bit7
Bit 6
RC6
Buffer Type
ST
ST
ST
ST
ST
ST
ST
ST
Bit 5
RC5
Input/output port pin or Timer1 oscillator output/Timer1 clock input.
Input/output port pin or Timer1 oscillator input.
Input/output port pin or Capture1 input/Compare1 output/
PWM1 output.
Input/output port pin.
Input/output port pin.
Input/output port pin.
Input/output port pin or USART Asynchronous Transmit or
Synchronous Clock.
Input/output port pin or USART Asynchronous Receive or
Synchronous Data.
Bit 4
RC4
Bit 3
RC3
FIGURE 4-5:
Peripheral Data Out
Data Bus
Note 1: I/O pins have diode protection to V
Port/Peripheral Select
Peripheral Input
Peripheral
OE
Bit 2
RC2
WR
TRIS
WR
PORT
(3)
2: Port/Peripheral Select signal selects between
3: Peripheral OE (Output Enable) is only activated
port data and peripheral output.
if Peripheral Select is active.
RD
PORT
Bit 1
RC1
Data Latch
TRIS Latch
Function
D
D
RD TRIS
CK
CK
PIC16F870/871
(2)
Q
Q
Q
Q
Bit 0
RC0
PORTC BLOCK DIAGRAM
(PERIPHERAL OUTPUT
OVERRIDE)
0
1
POR, BOR
xxxx xxxx
1111 1111
Value on:
Q
EN
D
DS30569B-page 37
Schmitt
Trigger
uuuu uuuu
1111 1111
DD
Value on
RESETS
all other
Vss
V
N
P
and V
DD
I/O
pin
SS
(1)
.