Datasheet
Table Of Contents
- High-Performance RISC CPU:
- Special Microcontroller Features:
- Low-Power Features/CMOS Technology:
- Peripheral Features:
- Table of Contents
- Most Current Data Sheet
- Errata
- Customer Notification System
- 1.0 General Description
- 2.0 PIC12F519 Device Varieties
- 3.0 Architectural Overview
- 4.0 Memory Organization
- 5.0 Flash Data Memory Control
- 6.0 I/O Port
- 7.0 Timer0 Module and TMR0 Register
- 8.0 Special Features Of The CPU
- 8.1 Configuration Bits
- 8.2 Oscillator Configurations
- 8.3 Reset
- 8.4 Power-on Reset (POR)
- 8.5 Device Reset Timer (DRT)
- 8.6 Watchdog Timer (WDT)
- 8.7 Time-out Sequence, Power-down and Wake-up from Sleep Status Bits (TO, PD, GPWUF)
- 8.8 Power-down Mode (Sleep)
- 8.9 Program Verification/Code Protection
- 8.10 ID Locations
- 8.11 In-Circuit Serial Programming™
- 9.0 Instruction Set Summary
- 10.0 Development Support
- 10.1 MPLAB Integrated Development Environment Software
- 10.2 MPASM Assembler
- 10.3 MPLAB C18 and MPLAB C30 C Compilers
- 10.4 MPLINK Object Linker/ MPLIB Object Librarian
- 10.5 MPLAB ASM30 Assembler, Linker and Librarian
- 10.6 MPLAB SIM Software Simulator
- 10.7 MPLAB ICE 2000 High-Performance In-Circuit Emulator
- 10.8 MPLAB REAL ICE In-Circuit Emulator System
- 10.9 MPLAB ICD 2 In-Circuit Debugger
- 10.10 MPLAB PM3 Device Programmer
- 10.11 PICSTART Plus Development Programmer
- 10.12 PICkit 2 Development Programmer
- 10.13 Demonstration, Development and Evaluation Boards
- 11.0 Electrical Characteristics
- Absolute Maximum Ratings(†)
- 11.1 DC Characteristics
- 11.2 Timing Parameter Symbology and Load Conditions – PIC12F519
- 11.3 AC Characteristics
- TABLE 11-5: External Clock Timing Requirements
- TABLE 11-6: Calibrated Internal RC Frequencies
- FIGURE 11-5: I/O Timing
- TABLE 11-7: Timing Requirements
- FIGURE 11-6: Reset, Watchdog Timer and Device Reset Timer Timing
- TABLE 11-8: Reset, Watchdog Timer and Device Reset Timer – PIC12F519
- TABLE 11-9: DRT (Device Reset Timer Period)
- FIGURE 11-7: Timer0 Clock Timings
- TABLE 11-10: Timer0 Clock Requirements
- TABLE 11-11: Flash Data Memory Write/Erase Requirements
- 12.0 DC and AC Characteristics Graphs and Charts
- FIGURE 12-1: Typical Idd vs. Fosc Over Vdd (XT, EXTRC mode)
- FIGURE 12-2: Maximum Idd vs. Fosc Over Vdd (XT, EXTRC mode)
- FIGURE 12-3: Idd vs. Vdd over fosc (LP Mode)
- FIGURE 12-4: Typical Ipd vs. Vdd (Sleep Mode, all Peripherals Disabled)
- FIGURE 12-5: Maximum Ipd vs. Vdd (Sleep Mode, all Peripherals Disabled)
- FIGURE 12-6: Typical WDT Ipd VS. Vdd
- FIGURE 12-7: Maximum WDT Ipd VS. Vdd Over Temperature
- FIGURE 12-8: WDT TIME-OUT VS. Vdd Over Temperature (No Prescaler)
- FIGURE 12-9: Vol VS. Iol Over Temperature (Vdd = 3.0V)
- FIGURE 12-10: Vol VS. Iol Over Temperature (Vdd = 5.0V)
- FIGURE 12-11: Voh VS. Ioh Over Temperature (Vdd = 3.0V)
- FIGURE 12-12: Voh VS. Ioh Over Temperature (Vdd = 5.0V)
- FIGURE 12-13: TTL Input Threshold Vin VS. Vdd
- FIGURE 12-14: Schmitt Trigger Input Threshold Vin VS. Vdd
- FIGURE 12-15: Device Reset Timer (XT and LP) vs. Vdd
- 13.0 Packaging Information
- Appendix A: Revision History
- INDEX
- The Microchip Web Site
- Customer Change Notification Service
- Customer Support
- Reader Response
- Product Identification System
- Worldwide Sales
© 2008 Microchip Technology Inc. DS41319B-page 89
PIC12F519
INDEX
A
ALU ....................................................................................... 9
Assembler
MPASM Assembler..................................................... 58
B
Block Diagram
On-Chip Reset Circuit................................................. 43
Timer0......................................................................... 31
TMR0/WDT Prescaler................................................. 35
Watchdog Timer.......................................................... 46
C
C Compilers
MPLAB C18 ................................................................ 58
MPLAB C30 ................................................................ 58
Carry ..................................................................................... 9
Clocking Scheme ................................................................ 12
Code Protection ............................................................ 37, 48
CONFIG1 Register.............................................................. 38
Configuration Bits................................................................ 37
Customer Change Notification Service ............................... 91
Customer Notification Service............................................. 91
Customer Support ............................................................... 91
D
DC and AC Characteristics ................................................. 73
Graphs and Tables ..................................................... 73
Development Support ......................................................... 57
Digit Carry ............................................................................. 9
E
Errata .................................................................................... 3
F
FSR..................................................................................... 20
FSR Register ...................................................................... 20
Fuses. See Configuration Bits
G
GPIO ................................................................................... 23
I
I/O Interfacing ..................................................................... 25
I/O Port................................................................................ 23
I/O Ports .............................................................................. 23
I/O Programming Considerations........................................ 30
ID Locations .................................................................. 37, 48
INDF.................................................................................... 20
INDF Register ..................................................................... 20
Indirect Data Addressing..................................................... 20
Instruction Cycle ................................................................. 12
Instruction Flow/Pipelining .................................................. 12
Instruction Set Summary..................................................... 50
Internet Address.................................................................. 91
L
Loading of PC ..................................................................... 19
M
Memory Map
PIC12F519 ................................................................. 13
Memory Organization ......................................................... 13
Data EEPROM Memory ............................................. 21
Program Memory (PIC12F519) .................................. 13
Microchip Internet Web Site................................................ 91
MPLAB ASM30 Assembler, Linker, Librarian ..................... 58
MPLAB ICD 2 In-Circuit Debugger ..................................... 59
MPLAB ICE 2000 High-Performance Universal
In-Circuit Emulator...................................................... 59
MPLAB Integrated Development Environment Software.... 57
MPLAB PM3 Device Programmer ...................................... 59
MPLAB REAL ICE In-Circuit Emulator System .................. 59
MPLINK Object Linker/MPLIB Object Librarian .................. 58
O
OPTION Register................................................................ 17
OSC selection..................................................................... 37
OSCCAL Register............................................................... 18
Oscillator Configurations..................................................... 39
Oscillator Types
HS............................................................................... 39
LP ............................................................................... 39
RC .............................................................................. 39
XT ............................................................................... 39
P
PIC12F519 Device Varieties................................................. 7
PICSTART Plus Development Programmer....................... 60
POR
Device Reset Timer (DRT) ................................... 37, 45
PD
............................................................................... 47
TO
............................................................................... 47
Power-down Mode.............................................................. 47
Prescaler ............................................................................ 34
Program Counter ................................................................ 19
Q
Q cycles.............................................................................. 12
R
RC Oscillator....................................................................... 40
Reader Response............................................................... 92
Read-Modify-Write.............................................................. 30
Register File Map
PIC16C57/CR57......................................................... 14
Registers
CONFIG1 (Configuration Word Register 1)................ 38
Special Function ......................................................... 14
Reset .................................................................................. 37
S
Sleep ............................................................................ 37, 47
Software Simulator (MPLAB SIM) ...................................... 58
Special Features of the CPU .............................................. 37
Special Function Registers................................................. 14
Stack................................................................................... 19
STATUS Register ........................................................... 9, 16