PIC16F870-I/SS Microchip Technology, PIC16F870-I/SS Datasheet - Page 163
![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
INDEX
A
A/D ...................................................................................... 79
Absolute Maximum Ratings .............................................. 117
ADCON0 Register............................................................... 13
ADCON1 Register............................................................... 14
ADRESH Registers ............................................................. 13
ADRESL Register ............................................................... 14
Analog-to-Digital Converter. See A/D.
Application Notes
Assembler
Asynchronous Reception
Asynchronous Reception (9-bit Mode)
B
Banking, Data Memory ....................................................... 11
Baud Rate Generator (BRG)
Block Diagrams
2003 Microchip Technology Inc.
Acquisition Requirements ........................................... 82
ADCON0 Register....................................................... 79
ADCON1 Register....................................................... 79
ADIF Bit....................................................................... 80
ADRESH Register....................................................... 79
ADRESL Register ....................................................... 79
Analog Port Pins ................................................... 41, 42
Associated Registers and Bits .................................... 85
Calculating Acquisition Time....................................... 82
Configuring Analog Port Pins...................................... 83
Configuring the Interrupt ............................................. 81
Configuring the Module............................................... 81
Conversion Clock........................................................ 83
Conversions ................................................................ 84
Delays ......................................................................... 82
Effects of a RESET ..................................................... 85
GO/DONE Bit.............................................................. 80
Internal Sampling Switch (Rss) Impedance ................ 82
Operation During SLEEP ............................................ 85
Result Registers.......................................................... 84
Source Impedance...................................................... 82
Time Delays ................................................................ 82
AN552 (Implementing Wake-up on Key Stroke) ......... 35
AN556 (Implementing a Table Read) ......................... 24
MPASM Assembler................................................... 111
Associated Registers .................................................. 69
Associated Registers .................................................. 71
Associated Registers .................................................. 63
A/D .............................................................................. 81
Analog Input Model ..................................................... 82
Capture Mode Operation ............................................ 56
Compare Mode Operation .......................................... 57
Interrupt Logic ............................................................. 97
On-Chip RESET Circuit .............................................. 91
PIC16F870.................................................................... 5
PIC16F871.................................................................... 6
PORTC (Peripheral Output Override) ......................... 37
PORTD (In I/O Port Mode).......................................... 38
PORTD and PORTE (Parallel Slave Port) .................. 42
PORTE (In I/O Port Mode).......................................... 39
PWM Mode ................................................................. 58
RA3:RA0 and RA5 Pins .............................................. 33
RA4/T0CKI Pin............................................................ 33
RB3:RB0 Pins ............................................................. 35
RB7:RB4 Pins ............................................................. 35
Timer0/WDT Prescaler ............................................... 45
BOR. See Brown-out Reset.
BRGH Bit ............................................................................ 63
Brown-out Reset (BOR).................................... 87, 91, 92, 93
C
C Compilers
Capture/Compare/PWM (CCP) .......................................... 55
CCP. See Capture/Compare/PWM.
CCP1CON Register............................................................ 13
CCP1M0 Bit ........................................................................ 55
CCP1M1 Bit ........................................................................ 55
CCP1M2 Bit ........................................................................ 55
CCP1M3 Bit ........................................................................ 55
CCP1X Bit .......................................................................... 55
CCP1Y Bit .......................................................................... 55
CCPR1H Register......................................................... 13, 55
CCPR1L Register ......................................................... 13, 55
Code Examples
Code Protected Operation
Code Protection .......................................................... 87, 101
Computed GOTO................................................................ 24
Configuration Bits ............................................................... 87
Configuration Word............................................................. 88
Conversion Considerations............................................... 158
Timer1 ........................................................................ 50
Timer2 ........................................................................ 53
USART Asynchronous Receive.................................. 68
USART Asynchronous Receive (9-bit Mode) ............. 70
USART Transmit ........................................................ 66
Watchdog Timer ......................................................... 99
BOR Status (BOR Bit) ................................................ 23
MPLAB C17.............................................................. 112
MPLAB C18.............................................................. 112
MPLAB C30.............................................................. 112
Associated Registers
Capture Mode............................................................. 56
CCP Timer Resources................................................ 55
Compare
Compare Mode........................................................... 57
PWM Mode................................................................. 58
Special Event Trigger and A/D Conversions .............. 57
Changing Between Capture Prescalers ..................... 56
EEPROM Data Read.................................................. 29
EEPROM Data Write .................................................. 29
FLASH Program Read................................................ 30
FLASH Program Write................................................ 31
Indirect Addressing..................................................... 24
Initializing PORTA ...................................................... 33
Saving STATUS, W and PCLATH Registers
Data EEPROM and FLASH Program Memory ........... 31
Capture, Compare and Timer1........................... 59
PWM and Timer2................................................ 60
CCP1IF............................................................... 56
Prescaler ............................................................ 56
Special Trigger Output of CCP1 ......................... 57
Software Interrupt Mode ..................................... 57
Special Event Trigger ......................................... 57
Duty Cycle .......................................................... 58
Example Frequencies/Resolutions (table).......... 59
PWM Period ....................................................... 58
Setup for PWM Operation .................................. 59
in RAM................................................................ 98
PIC16F870/871
DS30569B-page 161