首页 > 器件类别 > 半导体 > 嵌入式处理器和控制器

PIC16LF873A-I-SSG

8-bit Microcontrollers - MCU 7KB 192 RAM 22 I/O Lead Free Package

器件类别:半导体    嵌入式处理器和控制器   

厂商名称:Microchip(微芯科技)

厂商官网:https://www.microchip.com

下载文档
PIC16LF873A-I-SSG 在线购买

供应商:

器件:PIC16LF873A-I-SSG

价格:-

最低购买:-

库存:点击查看

点击购买

器件参数
参数名称
属性值
产品种类
Product Category
8-bit Microcontrollers - MCU
制造商
Manufacturer
Microchip(微芯科技)
RoHS
Details
安装风格
Mounting Style
SMD/SMT
封装 / 箱体
Package / Case
SSOP-28
Core
PIC16
Data Bus Width
8 bit
Maximum Clock Frequency
20 MHz
Program Memory Size
4 kB
Data RAM Size
192 B
ADC Resolution
10 bit
工作电源电压
Operating Supply Voltage
2 V to 5.5 V
最大工作温度
Maximum Operating Temperature
+ 85 C
Processor Series
PIC16
Data ROM Size
128 B
Data ROM Type
Flash
高度
Height
1.75 mm
接口类型
Interface Type
I2C, SPI, USART
长度
Length
10.2 mm
最小工作温度
Minimum Operating Temperature
- 40 C
Number of ADC Channels
5
Number of I/Os
22 I/O
Number of Timers/Counters
1 Timer
产品
Product
MCU
Program Memory Type
Flash
工厂包装数量
Factory Pack Quantity
47
电源电压-最大
Supply Voltage - Max
5.5 V
电源电压-最小
Supply Voltage - Min
2 V
宽度
Width
5.3 mm
文档预览
PIC16F87XA
28/40/44-Pin Enhanced Flash Microcontrollers
Devices Included in this Data Sheet:
• PIC16F873A
• PIC16F874A
• PIC16F876A
• PIC16F877A
Analog Features:
• 10-bit, up to 8-channel Analog-to-Digital
Converter (A/D)
• Brown-out Reset (BOR)
• Analog Comparator module with:
- Two analog comparators
- Programmable on-chip voltage reference
(V
REF
) module
- Programmable input multiplexing from device
inputs and internal voltage reference
- Comparator outputs are externally accessible
High-Performance RISC CPU:
• Only 35 single-word instructions to learn
• All single-cycle instructions except for program
branches, which are two-cycle
• Operating speed: DC – 20 MHz clock input
DC – 200 ns instruction cycle
• Up to 8K x 14 words of Flash Program Memory,
Up to 368 x 8 bytes of Data Memory (RAM),
Up to 256 x 8 bytes of EEPROM Data Memory
• Pinout compatible to other 28-pin or 40/44-pin
PIC16CXXX and PIC16FXXX microcontrollers
Special Microcontroller Features:
• 100,000 erase/write cycle Enhanced Flash
program memory typical
• 1,000,000 erase/write cycle Data EEPROM
memory typical
• Data EEPROM Retention > 40 years
• Self-reprogrammable under software control
• In-Circuit Serial Programming™ (ICSP™)
via two pins
• Single-supply 5V In-Circuit Serial Programming
• Watchdog Timer (WDT) with its own on-chip RC
oscillator for reliable operation
• Programmable code protection
• Power saving Sleep mode
• Selectable oscillator options
• In-Circuit Debug (ICD) via two pins
Peripheral Features:
• Timer0: 8-bit timer/counter with 8-bit prescaler
• Timer1: 16-bit timer/counter with prescaler,
can be incremented during Sleep via external
crystal/clock
• Timer2: 8-bit timer/counter with 8-bit period
register, prescaler and postscaler
• Two Capture, Compare, PWM modules
- Capture is 16-bit, max. resolution is 12.5 ns
- Compare is 16-bit, max. resolution is 200 ns
- PWM max. resolution is 10-bit
• Synchronous Serial Port (SSP) with SPI
(Master mode) and I
2
C™
(Master/Slave)
• Universal Synchronous Asynchronous Receiver
Transmitter (USART/SCI) with 9-bit address
detection
• Parallel Slave Port (PSP) – 8 bits wide with
external RD, WR and CS controls (40/44-pin only)
• Brown-out detection circuitry for
Brown-out Reset (BOR)
CMOS Technology:
• Low-power, high-speed Flash/EEPROM
technology
• Fully static design
• Wide operating voltage range (2.0V to 5.5V)
• Commercial and Industrial temperature ranges
• Low-power consumption
Device
MSSP
Data
EEPROM
10-bit
CCP
Timers
# Single Word SRAM (Bytes) I/O A/D (ch) (PWM)
Master USART 8/16-bit Comparators
Bytes
SPI
Instructions (Bytes)
I
2
C
7.2K
7.2K
4096
4096
8192
8192
192
192
368
368
128
128
256
256
22
33
22
33
5
8
5
8
2
2
2
2
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
2/1
2/1
2/1
2/1
2
2
2
2
Program Memory
PIC16F873A
PIC16F874A
PIC16F876A 14.3K
PIC16F877A 14.3K
2001-2013 Microchip Technology Inc.
DS39582C-page 1
PIC16F87XA
Pin Diagrams
28-Pin PDIP, SOIC, SSOP
MCLR/V
PP
RA0/AN0
RA1/AN1
RA2/AN2/V
REF
-/CV
REF
RA3/AN3/V
REF
+
RA4/T0CKI/C1OUT
RA5/AN4/SS/C2OUT
V
SS
OSC1/CLKI
OSC2/CLKO
RC0/T1OSO/T1CKI
RC1/T1OSI/CCP2
RC2/CCP1
RC3/SCK/SCL
1
2
3
4
5
6
7
8
9
10
11
12
13
14
28
27
26
25
24
23
22
21
20
19
18
17
16
15
RB7/PGD
RB6/PGC
RB5
RB4
RB3/PGM
RB2
RB1
RB0/INT
V
DD
V
SS
RC7/RX/DT
RC6/TX/CK
RC5/SDO
RC4/SDI/SDA
PIC16F873A/876A
28-Pin QFN
RA2/AN2/V
REF
-/CV
REF
RA3/AN3/V
REF
+
RA4/T0CKI/C1OUT
RA5/AN4/SS/C2OUT
V
SS
OSC1/CLKI
OSC2/CLKO
1
2
3
4
5
6
7
28
27
26
25
24
23
22
21
20
19
18
17
16
15
RA1/AN1
RA0/AN0
MCLR/V
PP
RB7/PGD
RB6/PGC
RB5
RB4
PIC16F873A
PIC16F876A
44-Pin QFN
44
43
42
41
40
39
38
37
36
35
34
RC6/TX/CK
RC5/SDO
RC4/SDI/SDA
RD3/PSP3
RD2/PSP2
RD1/PSP1
RD0/PSP0
RC3/SCK/SCL
RC2/CCP1
RC1/T1OSI/CCP2
RC0/T1OSO/T1CKI
RB3/PGM
NC
RB4
RB5
RB6/PGC
RB7/PGD
MCLR/V
PP
RA0/AN0
RA1/AN1
RA2/AN2/V
REF
-/CV
REF
RA3/AN3/V
REF
+
12
13
14
15
16
17
18
19
20
21
22
RC7/RX/DT
RD4/PSP4
RD5/PSP5
RD6/PSP6
RD7/PSP7
V
SS
V
DD
V
DD
RB0/INT
RB1
RB2
1
2
3
4
5
6
7
8
9
10
11
PIC16F874A
PIC16F877A
33
32
31
30
29
28
27
26
25
24
23
OSC2/CLKO
OSC1/CLKI
V
SS
V
SS
V
DD
V
DD
RE2/CS/AN7
RE1/WR/AN6
RE0/RD/AN5
RA5/AN4/SS/C2OUT
RA4/T0CKI/C1OUT
DS39582C-page 2
RC0/T1OSO/T1CKI
RC1/T1OSI/CCP2
RC2/CCP1
RC3/SCK/SCL
RC4/SDI/SDA
RC5/SDO
RC6/TX/CK
8
9
10
11
12
13
14
RB3/PGM
RB2
RB1
RB0/INT
V
DD
V
SS
RC7/RX/DT
2001-2013 Microchip Technology Inc.
PIC16F87XA
Pin Diagrams (Continued)
40-Pin PDIP
MCLR/V
PP
RA0/AN0
RA1/AN1
RA2/AN2/V
REF
-/CV
REF
RA3/AN3/V
REF
+
RA4/T0CKI/C1OUT
RA5/AN4/SS/C2OUT
RE0/RD/AN5
RE1/WR/AN6
RE2/CS/AN7
V
DD
V
SS
OSC1/CLKI
OSC2/CLKO
RC0/T1OSO/T1CKI
RC1/T1OSI/CCP2
RC2/CCP1
RC3/SCK/SCL
RD0/PSP0
RD1/PSP1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
40
39
38
37
36
35
34
33
32
31
30
29
28
27
26
25
24
23
22
21
RB7/PGD
RB6/PGC
RB5
RB4
RB3/PGM
RB2
RB1
RB0/INT
V
DD
V
SS
RD7/PSP7
RD6/PSP6
RD5/PSP5
RD4/PSP4
RC7/RX/DT
RC6/TX/CK
RC5/SDO
RC4/SDI/SDA
RD3/PSP3
RD2/PSP2
PIC16F874A/877A
44-Pin PLCC
RA4/T0CKI/C1OUT
RA5/AN4/SS/C2OUT
RE0/RD/AN5
RE1/WR/AN6
RE2/CS/AN7
V
DD
V
SS
OSC1/CLKI
OSC2/CLKO
RC0/T1OSO/T1CK1
NC
RC6/TX/CK
RC5/SDO
RC4/SDI/SDA
RD3/PSP3
RD2/PSP2
RD1/PSP1
RD0/PSP0
RC3/SCK/SCL
RC2/CCP1
RC1/T1OSI/CCP2
NC
6
5
4
3
2
1
44
43
42
41
40
7
8
9
10
11
12
13
14
15
16
17
39
38
37
36
35
34
33
32
31
30
9
RB3/PGM
RB2
RB1
RB0/INT
V
DD
V
SS
RD7/PSP7
RD6/PSP6
RD5/PSP5
RD4/PSP4
RC7/RX/DT
44-Pin TQFP
44
43
42
41
40
39
38
37
36
35
34
2001-2013 Microchip Technology Inc.
NC
NC
RB4
RB5
RB6/PGC
RB7/PGD
MCLR/V
PP
RA0/AN0
RA1/AN1
RA2/AN2/V
REF
-/CV
REF
RA3/AN3/V
REF
+
12
13
14
15
16
17
18
19
20
21
22
RC7/RX/DT
RD4/PSP4
RD5/PSP5
RD6/PSP6
RD7/PSP7
V
SS
V
DD
RB0/INT
RB1
RB2
RB3/PGM
1
2
3
4
5
6
7
8
9
10
11
PIC16F874A
PIC16F877A
33
32
31
30
29
28
27
26
25
24
23
NC
RC0/T1OSO/T1CKI
OSC2/CLKO
OSC1/CLKI
V
SS
V
DD
RE2/CS/AN7
RE1/WR/AN6
RE0/RD/AN5
RA5/AN4/SS/C2OUT
RA4/T0CKI/C1OUT
RC1/T1OSI/CCP2
RC2/CCP1
RC3/SCK/SCL
RD0/PSP0
RD1/PSP1
RD2/PSP2
RD3/PSP3
RC4/SDI/SDA
RC5/SDO
RC6/TX/CK
NC
18
19
20
21
22
23
24
25
26
27
282
RA3/AN3/V
REF
+
RA2/AN2/V
REF
-/CV
REF
RA1/AN1
RA0/AN0
MCLR/V
PP
NC
RB7/PGD
RB6/PGC
RB5
RB4
NC
PIC16F874A
PIC16F877A
DS39582C-page 3
PIC16F87XA
Table of Contents
1.0 Device Overview ......................................................................................................................................................................... 5
2.0 Memory Organization................................................................................................................................................................ 15
3.0 Data EEPROM and Flash Program Memory ............................................................................................................................ 33
4.0 I/O Ports.................................................................................................................................................................................... 41
5.0 Timer0 Module .......................................................................................................................................................................... 53
6.0 Timer1 Module .......................................................................................................................................................................... 57
7.0 Timer2 Module .......................................................................................................................................................................... 61
8.0 Capture/Compare/PWM Modules ............................................................................................................................................. 63
9.0 Master Synchronous Serial Port (MSSP) Module..................................................................................................................... 71
10.0 Addressable Universal Synchronous Asynchronous Receiver Transmitter (USART) ............................................................ 111
11.0 Analog-to-Digital Converter (A/D) Module .............................................................................................................................. 127
12.0 Comparator Module ................................................................................................................................................................ 135
13.0 Comparator Voltage Reference Module ................................................................................................................................. 141
14.0 Special Features of the CPU .................................................................................................................................................. 143
15.0 Instruction Set Summary......................................................................................................................................................... 159
16.0 Development Support ............................................................................................................................................................. 167
17.0 Electrical Characteristics......................................................................................................................................................... 173
18.0 DC and AC Characteristics Graphs and Tables ..................................................................................................................... 197
19.0 Packaging Information ............................................................................................................................................................ 209
Appendix A: Revision History ............................................................................................................................................................ 219
Appendix B: Device Differences........................................................................................................................................................ 219
Appendix C: Conversion Considerations........................................................................................................................................... 220
Index ................................................................................................................................................................................................. 221
On-Line Support................................................................................................................................................................................ 229
Systems Information and Upgrade Hot Line ..................................................................................................................................... 229
Reader Response ............................................................................................................................................................................. 230
PIC16F87XA Product Identification System...................................................................................................................................... 231
TO OUR VALUED CUSTOMERS
It is our intention to provide our valued customers with the best documentation possible to ensure successful use of your Microchip
products. To this end, we will continue to improve our publications to better suit your needs. Our publications will be refined and
enhanced as new volumes and updates are introduced.
If you have any questions or comments regarding this publication, please contact the Marketing Communications Department via
E-mail at
docerrors@mail.microchip.com
or fax the
Reader Response Form
in the back of this data sheet to (480) 792-4150.
We welcome your feedback.
Most Current Data Sheet
To obtain the most up-to-date version of this data sheet, please register at our Worldwide Web site at:
http://www.microchip.com
You can determine the version of a data sheet by examining its literature number found on the bottom outside corner of any page.
The last character of the literature number is the version number, (e.g., DS30000A is version A of document DS30000).
Errata
An errata sheet, describing minor operational differences from the data sheet and recommended workarounds, may exist for current
devices. As device/documentation issues become known to us, we will publish an errata sheet. The errata will specify the revision
of silicon and revision of document to which it applies.
To determine if an errata sheet exists for a particular device, please check with one of the following:
• Microchip’s Worldwide Web site; http://www.microchip.com
• Your local Microchip sales office (see last page)
• The Microchip Corporate Literature Center; U.S. FAX: (480) 792-7277
When contacting a sales office or the literature center, please specify which device, revision of silicon and data sheet (include liter-
ature number) you are using.
Customer Notification System
Register on our Web site at
www.microchip.com/cn
to receive the most current information on all of our products.
DS39582C-page 4
2001-2013 Microchip Technology Inc.
PIC16F87XA
1.0
DEVICE OVERVIEW
This document contains device specific information
about the following devices:
PIC16F873A
PIC16F874A
PIC16F876A
PIC16F877A
The available features are summarized in Table 1-1.
Block diagrams of the PIC16F873A/876A and
PIC16F874A/877A devices are provided in Figure 1-1
and Figure 1-2, respectively. The pinouts for these
device families are listed in Table 1-2 and Table 1-3.
Additional information may be found in the PIC
®
Mid-
Range Reference Manual (DS33023), which may be
obtained from your local Microchip Sales Representative
or downloaded from the Microchip web site. The Refer-
ence Manual should be considered a complementary
document to this data sheet and is highly recommended
reading for a better understanding of the device architec-
ture and operation of the peripheral modules.
PIC16F873A/876A devices are available only in 28-pin
packages, while PIC16F874A/877A devices are avail-
able in 40-pin and 44-pin packages. All devices in the
PIC16F87XA family share common architecture with
the following differences:
• The PIC16F873A and PIC16F874A have one-half
of the total on-chip memory of the PIC16F876A
and PIC16F877A
• The 28-pin devices have three I/O ports, while the
40/44-pin devices have five
• The 28-pin devices have fourteen interrupts, while
the 40/44-pin devices have fifteen
• The 28-pin devices have five A/D input channels,
while the 40/44-pin devices have eight
• The Parallel Slave Port is implemented only on
the 40/44-pin devices
TABLE 1-1:
PIC16F87XA DEVICE FEATURES
PIC16F873A
DC – 20 MHz
POR, BOR
(PWRT, OST)
4K
192
128
14
Ports A, B, C
3
2
MSSP, USART
5 input channels
2
35 Instructions
28-pin PDIP
28-pin SOIC
28-pin SSOP
28-pin QFN
PIC16F874A
DC – 20 MHz
POR, BOR
(PWRT, OST)
4K
192
128
15
Ports A, B, C, D, E
3
2
MSSP, USART
PSP
8 input channels
2
35 Instructions
40-pin PDIP
44-pin PLCC
44-pin TQFP
44-pin QFN
PIC16F876A
DC – 20 MHz
POR, BOR
(PWRT, OST)
8K
368
256
14
Ports A, B, C
3
2
MSSP, USART
5 input channels
2
35 Instructions
28-pin PDIP
28-pin SOIC
28-pin SSOP
28-pin QFN
PIC16F877A
DC – 20 MHz
POR, BOR
(PWRT, OST)
8K
368
256
15
Ports A, B, C, D, E
3
2
MSSP, USART
PSP
8 input channels
2
35 Instructions
40-pin PDIP
44-pin PLCC
44-pin TQFP
44-pin QFN
Key Features
Operating Frequency
Resets (and Delays)
Flash Program Memory
(14-bit words)
Data Memory (bytes)
EEPROM Data Memory (bytes)
Interrupts
I/O Ports
Timers
Capture/Compare/PWM modules
Serial Communications
Parallel Communications
10-bit Analog-to-Digital Module
Analog Comparators
Instruction Set
Packages
2001-2013 Microchip Technology Inc.
DS39582C-page 5
查看更多>
热门器件
热门资源推荐
器件捷径:
00 01 02 03 04 05 06 07 08 09 0A 0C 0F 0J 0L 0M 0R 0S 0T 0Z 10 11 12 13 14 15 16 17 18 19 1A 1B 1C 1D 1E 1F 1H 1K 1M 1N 1P 1S 1T 1V 1X 1Z 20 21 22 23 24 25 26 27 28 29 2A 2B 2C 2D 2E 2F 2G 2K 2M 2N 2P 2Q 2R 2S 2T 2W 2Z 30 31 32 33 34 35 36 37 38 39 3A 3B 3C 3D 3E 3F 3G 3H 3J 3K 3L 3M 3N 3P 3R 3S 3T 3V 40 41 42 43 44 45 46 47 48 49 4A 4B 4C 4D 4M 4N 4P 4S 4T 50 51 52 53 54 55 56 57 58 59 5A 5B 5C 5E 5G 5H 5K 5M 5N 5P 5S 5T 5V 60 61 62 63 64 65 66 67 68 69 6A 6C 6E 6F 6M 6N 6P 6R 6S 6T 70 71 72 73 74 75 76 77 78 79 7A 7B 7C 7M 7N 7P 7Q 7V 7W 7X 80 81 82 83 84 85 86 87 88 89 8A 8D 8E 8L 8N 8P 8S 8T 8W 8Y 8Z 90 91 92 93 94 95 96 97 98 99 9A 9B 9C 9D 9F 9G 9H 9L 9S 9T 9W
需要登录后才可以下载。
登录取消