PIC16F527_12 [MICROCHIP]

20-Pin, 8-Bit Flash Microcontroller; 20引脚, 8位闪存微控制器
PIC16F527_12
元器件型号: PIC16F527_12
生产厂家: MICROCHIP TECHNOLOGY    MICROCHIP TECHNOLOGY
描述和应用:

20-Pin, 8-Bit Flash Microcontroller
20引脚, 8位闪存微控制器

闪存微控制器
PDF文件: 总120页 (文件大小:2200K)
下载文档:  下载PDF数据表文档文件
MAX34334CSE前5页PDF页面详情预览
PIC16F527
20-Pin, 8-Bit Flash Microcontroller
Processor Features:
• Interrupt Capability
• PIC16F527 Operating Speed:
- DC – 20 MHz Crystal oscillator
- DC – 200 ns Instruction cycle
• Flash Program Memory:
- 1024 x 12 user execution memory
- 64 x 8 self-writable data memory
- 10K minimum erase/write cycles
• General Purpose Registers (SRAM):
- 68 x 8 for PIC16F527
• Only 36 Single-Word Instructions to Learn:
- Added
RETURN
and
RETFIE
instructions
- Added
MOVLB
instruction
• All Instructions are Single-Cycle except for
Program Branches which are Two-Cycle
• Four-Level Deep Hardware Stack
• Direct, Indirect and Relative Addressing modes
for Data and Instructions
Microcontroller Features:
Brown-out Reset (BOR)
Power-on Reset (POR)
Device Reset Timer (DRT)
Watchdog Timer (WDT) with a Dedicated RC
Oscillator
Programmable Code Protection (CP)
Power-Saving Sleep mode with Wake-up on
Change Feature
Selectable Oscillator Options:
- INTOSC: Precision 4 or 8 MHz internal
oscillator
- EXTRC: Low-cost external RC oscillator
- LP: Power-saving, low-frequency crystal
- XT: Standard crystal/resonator
- HS: High-speed crystal/resonator
- EC: High-speed external clock
Variety of Packaging Options:
- 20-Lead PDIP, SOIC, SSOP, QFN
Peripheral Features:
• Device Features:
- 1 Input-only pin
- 17 I/Os
- Individual direction control
- High-current source/sink
• 8-Bit Real-Time Clock/Counter (TMR0) with 8-Bit
Programmable Prescaler
• In-Circuit Serial Programming™ (ICSP™) via Two
External Pin Connections
• Analog Comparator (CMP):
- Two analog comparators
- Absolute and programmable references
• Analog-to-Digital Converter (ADC):
- 8-bit resolution
- 8 external input channels
- 1 internal channel to convert comparator
- 0.6V reference input
• Operational Amplifiers (op amps):
- 2 operational amplifiers
- Fully-accessible visibility
CMOS Technology:
• Low-Power, High-Speed CMOS Flash
Technology
• Fully-Static Design
• Wide Operating Voltage and Temperature Range:
- Industrial: 2.0V to 5.5V
- Extended: 2.0V to 5.5V
• Operating Current:
- 170 uA @ 2V, 4 MHz, typical – 15 uA @ 2V,
32 kHz, typical
• Standby Current:
- 100 nA @ 2V, typical
2012 Microchip Technology Inc.
Preliminary
DS41652A-page 1
PIC16F527
Program
Memory
Device
Flash
Flash (words) SRAM (bytes)
(bytes)
PIC16F527
1024
68
64
18
2
1
Data Memory
I/O
Comparators Timers 8-bit
8-bit A/D
Channels
8
Op Amps
2
FIGURE 1:
20-PIN PDIP, SOIC, SSOP DIAGRAM FOR PIC16F527
20-pin PDIP, SSOP, SOIC
V
DD
RA5
RA4
RA3/MCLR/V
PP
RC5
RC4
RC3
RC6
RC7
RB7
1
2
3
4
5
6
7
8
9
10
20
19
V
SS
RA0/ICSPDAT
RA1/ICSPCLK
RA2
RC0
RC1
RC2
RB4
RB5
RB6
PIC16F527
18
V
DD
17
18
17
16
15
14
13
12
11
FIGURE 2:
20-pin QFN
20-PIN QFN DIAGRAM FOR PIC16F527
20
19
16
V
SS
RA0/ICSPDAT
15
14
12
11
RA1/ICSPCLK
RA2
RC0
RC1
RC2
RB5
RB4
9
10
RA3/MCLR/V
PP
RC5
RC4
RC3
RC6
1
2
PIC16F527
13
3
4
5
6
RC7
RB7
7
RB6
8
DS41652A-page 2
Preliminary
RA4
RA5
2012 Microchip Technology Inc.
PIC16F527
TABLE 1:
20-PIn PDIP/SOIC/SSOP
20-PIN ALLOCATION TABLE
Interrupt-on-Change
Y
Y
Y
Y
Clock Reference
Comparator
20-Pin QFN
Reference
Oscillator
Op Amp
RA0
RA1
RA2
RA3
RA4
RA5
RB4
RB5
RB6
RB7
RC0
RC1
RC2
RC3
RC4
RC5
RC6
RC7
V
DD
V
SS
19
18
17
4
3
2
13
12
11
10
16
15
14
7
6
5
8
9
1
20
16
15
14
1
20
19
10
9
8
7
13
12
11
4
3
2
5
6
18
17
AN0
AN1
AN2
AN3
AN4
AN5
AN6
AN7
OSC2
OSC1
C1IN+
C1IN-
C1OUT
C2IN+
C2IN-
C2OUT
CV
REF
T0CKI
OP2-
OP2+
OP2
OP1
OP1-
OP1+
CLKOUT
CLKIN
ICSPDAT
ICSPCLK
MCLR
V
PP
Y
Y
2012 Microchip Technology Inc.
Preliminary
DS41652A-page 3
Pull-up
Y
Y
Analog
ICSP™
Timers
Basic
I/O
PIC16F527
Table of Contents
1.0 General Description..................................................................................................................................................................... 5
2.0 PIC16F527 Device Varieties .................................................................................... .................................................................. 7
3.0 Architectural Overview ................................................................................................................................................................ 9
4.0 Memory Organization ................................................................................................................................................................ 15
5.0 Flash Data Memory Control ...................................................................................................................................................... 25
6.0 I/O Port ...................................................................................................................................................................................... 29
7.0 Timer0 Module and TMR0 Register .......................................................................................................................................... 35
8.0 Special Features of the CPU ..................................................................................................................................................... 41
9.0 Analog-to-Digital (A/D) Converter.............................................................................................................................................. 59
10.0 Comparator(s) ........................................................................................................................................................................... 63
11.0 Comparator Voltage Reference Module .................................................................................................................................... 69
12.0 Operational Amplifier (OPA) Module ......................................................................................................................................... 71
13.0 Instruction Set Summary ........................................................................................................................................................... 73
14.0 Development Support................................................................................................................................................................ 81
15.0 Electrical Characteristics ........................................................................................................................................................... 85
16.0 DC and AC Characteristics Graphs and Charts ........................................................................................................................ 99
17.0 Packaging Information............................................................................................................................................................. 101
Index .................................................................................................................................................................................................. 113
The Microchip Web Site .................................................................................................................................................................... 115
Customer Change Notification Service ............................................................................................................................................. 115
Customer Support ............................................................................................................................................................................. 115
Reader Response ............................................................................................................................................................................. 116
Product Identification System............................................................................................................................................................ 117
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@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)
When contacting a sales office, please specify which device, revision of silicon and data sheet (include literature number) you are
using.
Customer Notification System
Register on our web site at
www.microchip.com
to receive the most current information on all of our products.
DS41652A-page 4
Preliminary
2012 Microchip Technology Inc.
PIC16F527
1.0
GENERAL DESCRIPTION
1.1
Applications
The PIC16F527 device from Microchip Technology is a
low-cost, high-performance, 8-bit, fully-static, Flash-
based CMOS microcontroller. It employs a RISC
architecture with only 36 single-word/single-cycle
instructions. All instructions are single cycle except for
program branches, which take two cycles. The
PIC16F527 device delivers performance an order of
magnitude higher than its competitors in the same price
category. The 12-bit wide instructions are highly
symmetrical, resulting in a typical 2:1 code
compression over other 8-bit microcontrollers in its
class. The easy-to-use and easy to remember
instruction set reduces development time significantly.
The PIC16F527 product is equipped with special
features that reduce system cost and power
requirements. The Power-on Reset (POR) and Device
Reset Timer (DRT) eliminate the need for external
Reset circuitry. There are several oscillator
configurations to choose from, including INTRC
Internal Oscillator mode and the power-saving LP
(Low-Power) Oscillator mode. Power-Saving Sleep
mode, Watchdog Timer and code protection features
improve system cost, power and reliability.
The PIC16F527 device is available in the cost-effective
Flash programmable version, which is suitable for
production in any volume. The customer can take full
advantage of Microchip’s price leadership in Flash
programmable microcontrollers, while benefiting from
the Flash programmable flexibility.
The PIC16F527 product is supported by a full-featured
macro assembler, a software simulator, an in-circuit
emulator, a ‘C’ compiler, a low-cost development
programmer and a full-featured programmer. All the
tools are supported on IBM
®
PC and compatible
machines.
The PIC16F527 device fits in applications ranging from
personal care appliances and security systems to low-
power remote transmitters/receivers. The Flash
technology makes customizing application programs
(transmitter codes, appliance settings, receiver
frequencies, etc.) extremely fast and convenient. The
small footprint packages, for through hole or surface
mounting, make these microcontrollers perfect for
applications with space limitations. Low cost, low
power, high performance, ease of use and I/O flexibility
make the PIC16F527 device very versatile, even in
areas where no microcontroller use has been
considered before (e.g., timer functions, logic and
PLDs in larger systems and coprocessor applications).
TABLE 1-1:
Clock
Memory
FEATURES AND MEMORY OF PIC16F527
PIC16F527
Maximum Frequency of Operation (MHz)
Flash Program Memory
SRAM Data Memory (bytes)
Flash Data Memory (bytes)
20
1024
68
64
TMR0
Yes
17
1
Yes
Yes
36
20-pin PDIP, SOIC, SSOP, QFN
Peripherals
Features
Timer Module(s)
Wake-up from Sleep on Pin Change
I/O Pins
Input Pins
Internal Pull-ups
In-Circuit Serial Programming
TM
Number of Instructions
Packages
The PIC16F527 device has Power-on Reset, selectable Watchdog Timer, selectable code-protect, high I/O current capability
and precision internal oscillator.
The PIC16F527 device uses serial programming with the ICSPDAT data pin and the ICSPCLK clock pin.
2012 Microchip Technology Inc.
Preliminary
DS41652A-page 5
相关元器件产品Datasheet PDF文档

PIC16F54

Flash-Based, 8-Bit CMOS Microcontroller Series
54 MICROCHIP

PIC16F54

Flash-Based, 8-Bit CMOS Microcontroller Series
253 MICROCHIP

PIC16F54

Flash-Based, 8-Bit CMOS Microcontroller Series
964 MICROCHIP

PIC16F54-E/P

Flash-Based, 8-Bit CMOS Microcontroller Series
33 MICROCHIP

PIC16F54-E/PG

Flash-Based, 8-Bit CMOS Microcontroller Series
11 MICROCHIP

PIC16F54-E/SO

Flash-Based, 8-Bit CMOS Microcontroller Series
14 MICROCHIP