PIC12F519 Microchip Technology, PIC12F519 Datasheet

no-image

PIC12F519

Manufacturer Part Number
PIC12F519
Description
8-Bit Flash Microcontroller
Manufacturer
Microchip Technology
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC12F519-I/MC
Manufacturer:
SST
Quantity:
101
Part Number:
PIC12F519-I/P
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
PIC12F519-I/SN
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
PIC12F519-I/SN
0
Part Number:
PIC12F519T-I/MC
Manufacturer:
MICROCHIP
Quantity:
1 001
www.DataSheet4U.com
PIC12F519
Data Sheet
8-Pin, 8-Bit Flash Microcontroller
*8-bit, 8-pin Devices Protected by Microchip’s Low Pin Count Patent: U.S. Patent No. 5,847,450. Additional U.S. and
foreign patents and applications may be issued or pending.
Preliminary
© 2007 Microchip Technology Inc.
DS41319A

Related parts for PIC12F519

PIC12F519 Summary of contents

Page 1

... Devices Protected by Microchip’s Low Pin Count Patent: U.S. Patent No. 5,847,450. Additional U.S. and foreign patents and applications may be issued or pending. © 2007 Microchip Technology Inc. 8-Pin, 8-Bit Flash Microcontroller Preliminary PIC12F519 Data Sheet DS41319A ...

Page 2

... PowerInfo, PowerMate, PowerTool, REAL ICE, rfLAB, Select Mode, Smart Serial, SmartTel, Total Endurance, UNI/O, WiperLock and ZENA are trademarks of Microchip Technology Incorporated in the U.S.A. and other countries. SQTP is a service mark of Microchip Technology Incorporated in the U.S.A. All other trademarks mentioned herein are property of their respective companies. ...

Page 3

... Wide temperature range - Industrial: -40°C to +85°C - Extended: -40°C to +125°C Peripheral Features: • 6 I/O Pins - 5 I/O pins with individual direction control - 1 input-only pin - High current sink/source for direct LED drive • 8-bit Real-Time Clock/Counter (TMR0) with 8-bit Programmable Prescaler. Preliminary PIC12F519 DS41319A-page 1 ...

Page 4

... PIC12F519 FIGURE 1: PIC12F519 8-PIN PDIP, SOIC, MSOP, 2X3 DFN DIAGRAM PDIP, SOIC, MSOP DFN www.DataSheet4U.com Program Memory Device Flash (words) PIC12F519 1024 DS41319A-page RB5/OSC1/CLKIN 7 2 RB4/OSC2 3 6 RB3/MCLR RB5/OSC1/CLKIN 2 7 RB0/ICSPDAT RB4/OSC2 3 6 RB1/ICSPCLK 4 5 RB3/MCLR/V ...

Page 5

... Table of Contents General Description .............................................................................................................................................................................. 5 PIC12F519 Device Varieties ................................................................................................................................................................ 7 Architectural Overview .......................................................................................................................................................................... 9 Memory Organization .......................................................................................................................................................................... 13 Flash Data Memory ............................................................................................................................................................................. 21 I/O Port ................................................................................................................................................................................................ 25 Timer0 Module and TMR0 Register .................................................................................................................................................... 29 Special Features Of The CPU ............................................................................................................................................................ 35 Instruction Set Summary ..................................................................................................................................................................... 49 Development Support ......................................................................................................................................................................... 57 Electrical Characteristics ..................................................................................................................................................................... 61 DC and AC Characteristics Graphs and Charts .................................................................................................................................. 73 Packaging Information ........................................................................................................................................................................ 75 Index ................................................................................................................................................................................................... 81 www.DataSheet4U.com The Microchip Web Site ...

Page 6

... PIC12F519 NOTES: www.DataSheet4U.com DS41319A-page 4 Preliminary © 2007 Microchip Technology Inc. ...

Page 7

... In-Circuit Serial Programming™ Number of Instructions Packages The PIC12F519 device has Power-on Reset, selectable Watchdog Timer, selectable code-protect, high I/O current capability and precision internal oscillator. The PIC12F519 device uses serial programming with data pin RB0 and clock pin RB1. © 2007 Microchip Technology Inc. ...

Page 8

... PIC12F519 NOTES: www.DataSheet4U.com DS41319A-page 6 Preliminary © 2007 Microchip Technology Inc. ...

Page 9

... A variety of packaging options are available. Depending on application and production requirements, the proper device option can be selected using the information in this section. When placing orders, please use the PIC12F519 Product Identification System at the back of this data sheet to specify the correct part number. 2.1 Quick Turn Programming (QTP) ...

Page 10

... PIC12F519 NOTES: www.DataSheet4U.com DS41319A-page 8 Preliminary © 2007 Microchip Technology Inc. ...

Page 11

... PIC12F519 device simple, yet efficient. In addition, the learning curve is reduced significantly. The PIC12F519 device contains an 8-bit ALU and working register. The ALU is a general purpose arith- metic unit. It performs arithmetic and Boolean functions between data in the working register and any register file. © ...

Page 12

... PIC12F519 FIGURE 3-1: PIC12F519 ARCHITECTURAL BLOCK DIAGRAM Flash Program Memory Flash Data Memory 64x8 Program 12 Bus Instruction Reg www.DataSheet4U.com Instruction Decode & Control Timing OSC1/CLKIN Generation OSC2 Internal RC OSC DS41319A-page Data Bus Program Counter RAM Stack 1 Stack 2 File Registers RAM Addr ...

Page 13

... TABLE 3-2: PIC12F519 PINOUT DESCRIPTION Name Function RB0/ICSPDAT RB0 ICSPDAT RB1/ICSPCLK RB1 ICSPCLK RB2/T0CKI RB2 T0CKI RB3/MCLR/V RB3 PP MCLR www.DataSheet4U.com V RB4/OSC2 RB4 OSC2 RB5/OSC1/CLKIN RB5 OSC1 CLKIN Legend Input Output, I/O = Input/Output Power, — = Not Used, TTL = TTL input Schmitt Trigger input Analog Voltage © ...

Page 14

... PIC12F519 3.1 Clocking Scheme/Instruction Cycle The clock input (OSC1/CLKIN pin) is internally divided by four to generate four non-overlapping quadrature clocks, namely Q1, Q2, Q3 and Q4. Internally, the PC is incremented every Q1 and the instruction is fetched from program memory and latched into the instruction register in Q4 decoded and executed during the following Q1 through Q4 ...

Page 15

... Register (FSR). 4.1 Program Memory Organization for the PIC12F519 The PIC12F519 device has an 11-bit Program Counter (PC) capable of addressing program memory space. Program memory is partitioned into user memory, data memory and configuration memory spaces. The user memory space is the on-chip user program memory ...

Page 16

... I/O register (port) and the File Select Register (FSR). In addition, the EECON, EEDATA and EEADR registers provide for interface with the Flash data memory. The PIC12F519 register file is composed of 10 Special www.DataSheet4U.com Function Registers and 41 General Purpose Registers. 4.2.1 GENERAL PURPOSE REGISTER ...

Page 17

... CAL5 CAL4 CAL3 — — RB5 RB4 — — — FREE EEDATA7 EEDATA6 EEDATA5 EEDATA4 EEDATA3 EEDATA2 EEDATA1 EEDATA0 xxxx xxxx — — EEADR5 EEADR4 Preliminary PIC12F519 Bit 3 Bit 2 Bit 1 Bit 0 TRIS3 TRIS2 TRIS1 TRIS0 CAL2 CAL1 CAL0 — ...

Page 18

... PIC12F519 4.3 STATUS register This register contains the arithmetic status of the ALU, the Reset status and the page preselect bit. The STATUS register can be the destination for any instruction, as with any other register. If the STATUS register is the destination for an instruction that affects the bits, then the write to these three bits is disabled ...

Page 19

... Preliminary PIC12F519 By executing the OPTION instruction, the contents of the W register will be transferred to the OPTION regis- ter. A Reset sets the OPTION<7:0> bits. Note: If the T0SC bit is set to ‘1’, it will override the TRIS function on the T0CKI pin. ...

Page 20

... PIC12F519 4.5 OSCCAL Register The Oscillator Calibration (OSCCAL) register is used to calibrate the 8 MHz internal oscillator macro. It contains 7 bits of calibration that uses a two’s complement scheme for controlling the oscillator speed. See Register 4-3 for details. REGISTER 4-3: OSCCAL: OSCILLATOR CALIBRATION REGISTER R/W-1 R/W-1 CAL6 CAL5 bit 7 www ...

Page 21

... Stack The PIC12F519 device has a two-deep, 12-bit wide hardware PUSH/POP stack. A CALL instruction will PUSH the current value of Stack 1 into Stack 2 and then PUSH the current PC value, incremented by one, into Stack Level 1. If more than two sequential CALLs are executed, only the most recent two return addresses are stored ...

Page 22

... PIC12F519 4.8 Indirect Data Addressing: INDF and FSR Registers The INDF register is not a physical register. Addressing INDF actually addresses the register whose address is contained in the FSR register (FSR is a pointer). This is indirect addressing. Reading INDF itself indirectly (FSR = 0) will produce 00h. Writing to the INDF Register indirectly results in a no-operation (although Status bits may be affected) ...

Page 23

... W = Writable bit x = Bit is unknown ‘1’ = Bit is set ‘0’ = Bit is cleared Preliminary PIC12F519 Only the lower 8 bits of each word is readable or writable in User mode. The Flash data memory allows byte read and write. A byte write automatically erases the row in which the target byte is located and writes the new data (erase before write) ...

Page 24

... PIC12F519 REGISTER 5-2: EEADR: FLASH ADDRESS REGISTER U-0 U-0 — — bit 7 Legend Readable bit -n = Value at POR bit 7-6 Unimplemented: Do not use www.DataSheet4U.com bit 5-0 EEADR<5:0>: 6-bits of address to be read from/written to data Flash REGISTER 5-3: EECON: FLASH CONTROL REGISTER U-0 U-0 — — bit 7 Legend Bit can only be set ...

Page 25

... Microchip Technology Inc. FLASH DATA MEMORY READ ;SWITCH TO BANK 1 ;INITITATE THE READ ;INSTRUCTION IGNORED ;GET NEW DATA Preliminary PIC12F519 EXAMPLE 5-2: ERASE DATA MEMORY ROW BSF FSR,5 ;SWITCH TO BANK 1 MOVLW EE_ADR_ERASE ;LOAD ADDRESS TO ERASE MOVWF EEADR ;LOAD ADDRESS TO SFR ...

Page 26

... PIC12F519 EXAMPLE 5-3: DATA MEMORY WRITE BSF FSR,5 MOVLW EE_ADR_WRITE MOVWF EEADR MOVLW EE_DATA_TO_WRITE;LOAD DATA TO MOVWF EEDATA BSF EECON,WREN BSF EECON,WR NOP www.DataSheet4U.com NOP Note 1: Only a series of BSF commands will work to enable the memory write sequence documented in Example 5-3. No other sequence of commands will work, no exceptions ...

Page 27

... The TRIS registers are “write-only” and are set (output drivers disabled) upon Reset. Note: RB0 Weak Pull-up RB1 Weak Pull-up RB3 Weak Pull-up Yes Yes Preliminary PIC12F519 TRIS Registers If the T0CS bit is set to ‘1’, it will override the TRIS function on the T0CKI pin. (1) RB4 Weak Pull-up Yes No ...

Page 28

... PIC12F519 REGISTER 6-1: PORTB: PORTB REGISTER U-0 U-0 — — bit 7 Legend Readable bit -n = Value at POR bit 7-6 Unimplemented: Read as ‘1’ bit 5-0 RB<5:0>: PORTB I/O Pin bits www.DataSheet4U.com 1 = Port pin is > Port pin is <V REGISTER 6-2: TRIS: TRI-STATE PORTB REGISTER U-0 U-0 — — bit 7 Legend Readable bit -n = Value at POR bit 7-6 Unimplemented: Read as ‘ ...

Page 29

... Bus WR Port W Reg TRIS ‘f’ Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 — RB5 RB4 RB3 RB2 — TRIS5 TRIS4 TRIS3 TRIS2 Preliminary PIC12F519 PIC12F519 EQUIVALENT CIRCUIT FOR A SINGLE I/O PIN D Q Data Latch TRIS Latch ...

Page 30

... PIC12F519 6.4 I/O Programming Considerations 6.4.1 BIDIRECTIONAL I/O PORTS Some instructions operate internally as read followed by write operations. The BCF and BSF instructions, for example, read the entire port into the CPU, execute the bit operation and re-write the result. Caution must be used when these instructions are applied to a port where one or more pins are used as input/outputs ...

Page 31

... Read TMR0 Write TMR0 executed reads NT0 Preliminary PIC12F519 Counter mode is selected by setting the T0CS bit (OPTION<5>). In this mode, Timer0 will increment either on every rising or falling edge of pin T0CKI. The T0SE bit (OPTION<4>) determines the source edge. Clearing the T0SE bit selects the rising edge. Restric- tions on the external clock input are discussed in detail in Section 7.1 “ ...

Page 32

... PIC12F519 FIGURE 7-3: TIMER0 TIMING: INTERNAL CLOCK/PRESCALE 1 (Program Counter) PC – 1 Instruction MOVWF TMR0 MOVF TMR0,W MOVF TMR0,W MOVF TMR0,W MOVF TMR0,W MOVF TMR0,W Fetch T0 Timer0 Instruction ...

Page 33

... T0 Timer0 Preliminary PIC12F519 When a prescaler is used, the external clock input is divided by the asynchronous ripple counter-type prescaler, so that the prescaler output is symmetrical. For the external clock to meet the sampling require- ment, the ripple counter must be taken into account. Therefore necessary for T0CKI to have a period of ...

Page 34

... PIC12F519 7.2 Prescaler An 8-bit counter is available as a prescaler for the Timer0 module postscaler for the Watchdog Timer (WDT), respectively (see Section 8.6 “Watch- dog Timer (WDT)”). For simplicity, this counter is being referred to as “prescaler” throughout this data sheet. Note: The prescaler may be used by either the Timer0 module or the WDT, but not both ...

Page 35

... Note 1: T0CS, T0SE, PSA, PS<2:0> are bits in the OPTION register. © 2007 Microchip Technology Inc. BLOCK DIAGRAM OF THE TIMER0/ WDT PRESCALER /4) OSC T0SE T0CS 0 8-bit Prescaler 8-to-1 MUX PSA 0 MUX WDT Time-Out Preliminary PIC12F519 (1) Data Bus 8 M Sync U 2 TMR0 Reg X Cycles PSA PS<2:0> 1 PSA DS41319A-page 33 ...

Page 36

... PIC12F519 NOTES: www.DataSheet4U.com DS41319A-page 34 Preliminary © 2007 Microchip Technology Inc. ...

Page 37

... LP crystal option saves power. A set of Configuration bits are used to select various options. 8.1 Configuration Bits The PIC12F519 Configuration Words consist of 12 bits. Configuration bits can be programmed to select various device configurations. Two bits are for the selection of the oscillator type; one bit is the Watchdog Timer enable bit, one bit is the MCLR enable bit and one bit is for code protection (Register 8-1) ...

Page 38

... XT oscillator with 18 ms DRT 10 = INTOSC with 1 ms DRT 11 = EXTRC with 1 ms DRT Note 1: Refer to the “PIC12F519 Memory Programming Specification”, DS41316 to determine how to access the Configuration Word. 2: DRT length ( ms function of clock mode selection the responsibility of the application designer to ensure the use of either 18 ms (nominal) DRT or the 1 ms (nominal) DRT will result in acceptable operation. Refer to Section 11.1 “ ...

Page 39

... Oscillator Configurations 8.2.1 OSCILLATOR TYPES The PIC12F519 device can be operated four different oscillator modes. The user can program using the Configuration bits (FOSC<1:0>), to select one of these modes: • LP: Low-Power Crystal • XT: Crystal/Resonator • INTRC: Internal 4 MHz or 8 MHz Oscillator • EXTRC: External Resistor/Capacitor 8 ...

Page 40

... The user also needs to take into account variation due to tolerance of external R and C components used. Figure 8-5 shows how the R/C combination is con- nected to the PIC12F519 device. For R below 3.0 kΩ, the oscillator operation may become unstable, or stop completely. For very high R (e.g., 1 MΩ), the oscillator becomes sensitive to noise, humidity and leakage ...

Page 41

... The calibration value must be read prior to erasing the part so it can be reprogrammed correctly later. For the PIC12F519 device, only bits <7:1> of OSCCAL are used for calibration. See Register 4-3 for more information. Note: The bit 0 of the OSCCAL register is unimplemented and should be written as ‘ ...

Page 42

... PIC12F519 TABLE 8-3: RESET CONDITIONS FOR REGISTERS Register W INDF TMR0 PCL STATUS FSR OSCCAL PORTB www.DataSheet4U.com OPTION TRIS EECON EEDATA EEADR Legend unchanged unknown, – = unimplemented bit, read as ‘0’ value depends on condition. Note 1: Bits <7:1> register contain oscillator calibration values due to MOVLW XX instruction at top of memory. ...

Page 43

... RBWU MCLRE www.DataSheet4U.com 8.4 Power-on Reset (POR) The PIC12F519 device incorporates an on-chip Power-on Reset (POR) circuitry, which provides an internal chip Reset for most power-up situations. The on-chip POR circuit holds the chip in Reset until V has reached a high enough level for proper oper- DD ation ...

Page 44

... PIC12F519 FIGURE 8-7: SIMPLIFIED BLOCK DIAGRAM OF ON-CHIP RESET CIRCUIT V DD RB3/MCLR/V PP MCLRE WDT Time-out www.DataSheet4U.com Pin Change Sleep FIGURE 8-8: TIME-OUT SEQUENCE ON POWER-UP (MCLR PULLED LOW MCLR Internal POR DRT Time-out Internal Reset FIGURE 8-9: TIME-OUT SEQUENCE ON POWER-UP (MCLR TIED TO V TIME V DD ...

Page 45

... In this example, the chip will reset properly if, and only if, V1 ≥ V © 2007 Microchip Technology Inc. TIME-OUT SEQUENCE ON POWER-UP (MCLR TIED TO V TIME V1 TDRT rises slowly, the T time-out expires long before V DD DRT Preliminary PIC12F519 ): SLOW V RISE DD DD has reached its final DD min. DD DS41319A-page 43 ...

Page 46

... PIC12F519 8.5 Device Reset Timer (DRT) On the PIC12F519 device, the DRT runs any time the device is powered up. DRT runs from Reset and varies based on oscillator selection and Reset type (see Table 8-5). The DRT operates on an internal RC oscillator. The processor is kept in Reset as long as the DRT is active. ...

Page 47

... M 1 Watchdog U Time X PSA WDT Enable Configuration Bit Bit 6 Bit 5 Bit 4 Bit 3 RBPU T0CS T0SE PSA Preliminary PIC12F519 Postscaler Postscaler 8-to-1 MUX PS<2:0> To Timer0 (Figure 7- MUX PSA WDT Time-out Value on Bit 2 Bit 1 Bit 0 POR, BOR PS2 PS1 PS0 1111 1111 DS41319A-page 45 ...

Page 48

... PIC12F519 8.7 Time-out Sequence, Power-down and Wake-up from Sleep Status Bits (TO, PD, RBWUF) The TO, PD and (RBWUF) bits in the STATUS register can be tested to determine if a Reset condition has been caused by a power-up condition, a MCLR or Watchdog Timer (WDT) Reset. TABLE 8-7: TO/PD/(RBWUF) STATUS AFTER RESET ...

Page 49

... The first 64 locations and the last location (OSCCAL) can be read, regardless of the code protection bit setting. The last memory location can be read regardless of the code protection bit setting on the PIC12F519 device. 8.10 ID Locations www.DataSheet4U.com Four memory locations are designated as ID locations where users can store checksum or other code identification numbers ...

Page 50

... PIC12F519 NOTES: www.DataSheet4U.com DS41319A-page 48 Preliminary © 2007 Microchip Technology Inc. ...

Page 51

... INSTRUCTION SET SUMMARY The PIC12F519 instruction set is highly orthogonal and is comprised of three basic categories. • Byte-oriented operations • Bit-oriented operations • Literal and control operations Each PIC12F519 instruction is a 12-bit word divided into an opcode, which specifies the instruction type, and one or more operands which further specify the operation of the instruction ...

Page 52

... PIC12F519 TABLE 9-2: INSTRUCTION SET SUMMARY Mnemonic, Operands ADDWF f, d Add W and f ANDWF f, d AND W with f CLRF f Clear f CLRW – Clear W COMF f, d Complement f DECF f, d Decrement f DECFSZ f, d Decrement f, Skip if 0 INCF f, d Increment f INCFSZ f, d Increment f, Skip if 0 IORWF f, d Inclusive OR W with f www ...

Page 53

... Status Affected: None Description: Bit ‘b’ in register ‘f’ is set. BTFSC Syntax: f,d Operands: Operation: Status Affected: None Description: Preliminary PIC12F519 Bit Clear f [ label ] BCF f,b 0 ≤ f ≤ ≤ b ≤ → (f<b>) Bit ‘b’ in register ‘f’ is cleared. Bit Set f [ label ] BSF f,b 0 ≤ ...

Page 54

... PIC12F519 BTFSS Bit Test f, Skip if Set Syntax: [ label ] BTFSS f,b 0 ≤ f ≤ 31 Operands: 0 ≤ b < 7 Operation: skip if (f<b> Status Affected: None Description: If bit ‘b’ in register ‘f’ is ‘1’, then the next instruction is skipped. If bit ‘b’ is ‘1’, then the next instruc- ...

Page 55

... Status Affected: None Description: IORLW Syntax: GOTO k Operands: Operation: Status Affected: Z Description: Preliminary PIC12F519 Increment f [ label ] INCF f,d 0 ≤ f ≤ ∈ [0,1] ( → (dest) The contents of register ‘f’ are incremented. If ‘d’ is ‘0’, the result is placed in the W register. If ‘d’ is ‘ ...

Page 56

... PIC12F519 IORWF Inclusive OR W with f Syntax: [ label ] 0 ≤ f ≤ 31 Operands: d ∈ [0,1] (W).OR. (f) → (dest) Operation: Status Affected: Z Description: Inclusive OR the W register with register ‘f’. If ‘d’ is ‘0’, the result is placed in the W register. If ‘d’ is ‘1’, the result is placed back in register ‘ ...

Page 57

... SWAPF RRF f,d Syntax: Operands: Operation: Status Affected: None Description: register ‘f’ C Preliminary PIC12F519 Enter SLEEP Mode [label ] SLEEP None 00h → WDT; 0 → WDT prescaler; 1 → TO; 0 → PD Time-out Status bit (TO) is set. The Power-down Status bit (PD) is cleared ...

Page 58

... PIC12F519 TRIS Load TRIS Register Syntax: [ label ] TRIS Operands (W) → TRIS register f Operation: Status Affected: None Description: TRIS register ‘f’ loaded with the contents of the W register. XORLW Exclusive OR literal with W Syntax: [label ] www.DataSheet4U.com 0 ≤ k ≤ 255 Operands: (W) .XOR. k → ...

Page 59

... MPLAB PM3 Device Programmer - PICkit™ 2 Development Programmer • Low-Cost Demonstration and Development Boards and Evaluation Kits © 2007 Microchip Technology Inc. PIC12F519 10.1 MPLAB Integrated Development Environment Software The MPLAB IDE software brings an ease of software development previously unseen in the 8/16-bit micro- controller market ...

Page 60

... PIC12F519 10.2 MPASM Assembler The MPASM Assembler is a full-featured, universal macro assembler for all PIC MCUs. The MPASM Assembler generates relocatable object files for the MPLINK Object Linker, Intel files, MAP files to detail memory usage and symbol reference, absolute LST files that contain source lines and generated machine code and COFF files for debugging ...

Page 61

... Microchip Technology Inc. ® 32-bit operating system were ® and MCU devices. It debugs and ® Flash microcontrollers with Preliminary PIC12F519 10.9 MPLAB ICD 2 In-Circuit Debugger Microchip’s In-Circuit Debugger, MPLAB ICD powerful, low-cost, run-time development connecting to the host PC via an RS-232 or high-speed USB interface ...

Page 62

... PIC12F519 10.11 PICSTART Plus Development Programmer The PICSTART Plus Development Programmer is an easy-to-use, low-cost, prototype programmer. It connects to the PC via a COM (RS-232) port. MPLAB Integrated Development Environment software makes using the programmer simple and efficient. The PICSTART Plus Development Programmer supports most PIC devices in DIP packages pins. ...

Page 63

... SS ............................................................................... -0. (1) .................................................................................................................................. 700 mW pin ................................................................................................................................ 200 mA SS pin ................................................................................................................................... 150 mA (V < > V )...................................................................................................................± ...........................................................................................................± < > DIS Preliminary PIC12F519 – ∑ ∑ {( ∑( – DS41319A-page 61 + 0.3V ...

Page 64

... PIC12F519 PIC12F519 VOLTAGE-FREQUENCY GRAPH, -40°C ≤ T FIGURE 11-1: 6.0 5.5 5.0 4 (Volts) 4.0 3.5 www.DataSheet4U.com 3.0 2.5 2.0 0 FIGURE 11-2: MAXIMUM OSCILLATOR FREQUENCY TABLE EXTRC INTOSC DS41319A-page 62 INTOSC ONLY 4 8 Frequency (MHz 200 kHz Frequency (MHz) Preliminary ≤ +125° MHz 8 MHz © 2007 Microchip Technology Inc. ...

Page 65

... DC CHARACTERISTICS: PIC12F519 (Industrial) DC CHARACTERISTICS Param Sym No. D001 V Supply Voltage DD D002 V RAM Data Retention Voltage DR D003 V V POR DD Power-on Reset D004 S V VDD DD Power-on Reset www.DataSheet4U.com D010 I Supply Current DD D020 I Power-down Current PD D022 I WDT Current WDT * These parameters are characterized but not tested. ...

Page 66

... PIC12F519 11.2 DC CHARACTERISTICS: PIC12F519 (Extended) DC CHARACTERISTICS Param Sym No. D001 V Supply Voltage DD D002 V RAM Data Retention Voltage DR D003 V V Start Voltage to ensure POR DD Power-on Reset D004 S V Rise Rate to ensure VDD DD Power-on Reset www.DataSheet4U.com D010 I Supply Current DD D020 I Power-down Current PD D022 I WDT Current ...

Page 67

... Data in “Typ” column is at 5V, 25°C unless otherwise stated. These parameters are for design guidance only and are not tested. Note 1: In EXTRC oscillator configuration, the OSC1/CLKIN pin is a Schmitt Trigger input not recommended that the PIC12F519 be driven with external clock in RC mode. 2: The leakage current on the MCLR pin is strongly dependent on the applied voltage level ...

Page 68

... PIC12F519 TABLE 11-2: PULL-UP RESISTOR RANGES Temperature V (Volts) DD RB0/RB1 2.0 5.5 www.DataSheet4U.com RB3 2.0 5.5 DS41319A-page 66 Min (°C) –40 73K 25 73K 85 82K 125 86K –40 15K 25 15K 85 19K 125 23K –40 63K 25 77K 85 82K 125 86K –40 16K 25 16K 85 24K 125 26K Preliminary Typ Max Units ...

Page 69

... Timing Parameter Symbology and Load Conditions – PIC12F519 The timing parameter symbols have been created following one of the following formats: 1. TppS2ppS 2. TppS T F Frequency Lowercase subscripts (pp) and their meanings CLKOUT cy Cycle time www.DataSheet4U.com drt Device Reset Timer io I/O port Uppercase letters and their meanings: ...

Page 70

... PIC12F519 TABLE 11-1: EXTERNAL CLOCK TIMING REQUIREMENTS AC CHARACTERISTICS Param Sym No External CLKIN Frequency OSC Oscillator Frequency www.DataSheet4U.com 1 T External CLKIN Period OSC Oscillator Period 2 T Instruction Cycle Time CY 3 TosL, Clock in (OSC1) Low or High TosH Time 4 TosR, Clock in (OSC1) Rise or Fall ...

Page 71

... OSC1↑ (Q1 cycle) to Port Out Valid I OSC1↑ (Q2 cycle) to Port Input Invalid (I/O in hold (2) time) H Port Input Valid to OSC1↑ (I/O in setup time) (3) Port Output Rise Time (3) Port Output Fall Time Preliminary PIC12F519 New Value ≤ +85°C (industrial) A ≤ +125°C (extended) A (1) Min ...

Page 72

... Timer Reset (1) I/O pin Note 1: I/O pins must be taken out of High-impedance mode by enabling the output drivers in software. 2: Runs in MCLR or WDT Reset only in XT and LP. TABLE 11-3: RESET, WATCHDOG TIMER AND DEVICE RESET TIMER – PIC12F519 AC CHARACTERISTICS Param Sym No MCLR Pulse Width (low) ...

Page 73

... POR Reset 1 ms (typical (typical) TIMER0 CLOCK TIMINGS 40 Standard Operating Conditions (unless otherwise specified) Operating Temperature -40°C ≤ T Operating Voltage V range is described in DD Section TABLE 11-1: “DC CHARACTERISTICS: PIC12F519 (Industrial, Extended)” Characteristic No Prescaler 0.5 T With Prescaler No Prescaler 0.5 T With Prescaler Preliminary ...

Page 74

... PIC12F519 NOTES: www.DataSheet4U.com DS41319A-page 72 Preliminary © 2007 Microchip Technology Inc. ...

Page 75

... DC AND AC CHARACTERISTICS GRAPHS AND CHARTS Graphs and charts are not available at this time. www.DataSheet4U.com © 2007 Microchip Technology Inc. PIC12F519 Preliminary DS41319A-page 73 ...

Page 76

... PIC12F519 NOTES: www.DataSheet4U.com DS41319A-page 74 Preliminary © 2007 Microchip Technology Inc. ...

Page 77

... In the event the full Microchip part number cannot be marked on one line, it will be carried over to the next line, thus limiting the number of available characters for customer-specific information. ® device marking consists of Microchip part number, year code, week code, and traceability Preliminary PIC12F519 Example 12F519-I /P017 0610 Example ...

Page 78

... PIC12F519 8-Lead Plastic Dual In-Line (P) – 300 mil Body [PDIP] Note: For the most current package drawings, please see the Microchip Packaging Specification located at http://www.microchip.com/packaging NOTE 1 www.DataSheet4U.com Number of Pins Pitch Top to Seating Plane Molded Package Thickness Base to Seating Plane Shoulder to Shoulder Width ...

Page 79

... Microchip Technology Inc Units Dimension Limits § Preliminary PIC12F519 MILLIMETERS MIN NOM MAX 8 1.27 BSC – – 1.75 1.25 – – 0.10 – 0.25 6.00 BSC 3.90 BSC 4.90 BSC 0.25 – 0.50 0.40 – 1.27 1.04 REF 0° ...

Page 80

... PIC12F519 8-Lead Plastic Micro Small Outline Package (MS) [MSOP] Note: For the most current package drawings, please see the Microchip Packaging Specification located at http://www.microchip.com/packaging N www.DataSheet4U.com NOTE Number of Pins Pitch Overall Height Molded Package Thickness Standoff Overall Width Molded Package Width ...

Page 81

... Microchip Technology Inc EXPOSED PAD 2 1 TOP VIEW A NOTE 2 A1 Units Dimension Limits Preliminary PIC12F519 NOTE BOTTOM VIEW MILLIMETERS MIN NOM MAX 8 0.50 BSC 0.80 0.90 1.00 0.00 0.02 0.05 0.20 REF 2.00 BSC 3.00 BSC 1.30 – 1.75 1.50 – ...

Page 82

... PIC12F519 APPENDIX A: REVISION HISTORY Revision A (May 2007) Original release of this document. www.DataSheet4U.com DS41319A-page 80 Preliminary © 2007 Microchip Technology Inc. ...

Page 83

... MPLINK Object Linker/MPLIB Object Librarian .................. 58 O OPTION Register................................................................ 17 OSC selection..................................................................... 35 OSCCAL Register............................................................... 18 Oscillator Configurations..................................................... 37 Oscillator Types HS............................................................................... 37 LP ............................................................................... 37 RC .............................................................................. 37 XT ............................................................................... 37 P PIC12F519 Device Varieties................................................. 7 PICSTART Plus Development Programmer....................... 60 POR Device Reset Timer (DRT) ................................... 35, 44 PD............................................................................... 46 TO............................................................................... 46 PORTB ............................................................................... 25 Power-down Mode.............................................................. 46 Prescaler ............................................................................ 32 Program Counter ................................................................ cycles .............................................................................. Oscillator ...

Page 84

... PIC12F519 W Wake-up from Sleep ........................................................... 46 Watchdog Timer (WDT) ................................................ 35, 44 Period.......................................................................... 44 Programming Considerations ..................................... 44 WWW Address.................................................................... 83 WWW, On-Line Support........................................................ 3 Z Zero bit .................................................................................. 9 www.DataSheet4U.com DS41319A-page 82 Preliminary © 2007 Microchip Technology Inc. ...

Page 85

... Local sales offices are also available to help customers. A listing of sales offices and locations is included in the back of this document. Technical support is available through the web site at: http://support.microchip.com Preliminary PIC12F519 should contact their distributor, DS41319A-page 83 ...

Page 86

... Telephone: (_______) _________ - _________ Application (optional): Would you like a reply? Device: PIC12F519 Questions: 1. What are the best features of this document? 2. How does this document meet your hardware and software development needs you find the organization of this document easy to follow? If not, why? 4 ...

Page 87

... Microchip Technology Inc. X /XX XXX Package Pattern Range = -40°C to +85°C (Industrial) = -40°C to +125°C (Extended DFN 2x3 (DUAL Flatpack No-Leads) = MSOP (Pb-free) = 300 mil PDIP (Pb-free) = 3.90 mm SOIC, 8-LD (Pb-free) Preliminary PIC12F519 . Examples: a) PIC12F519-I/P = Industrial temp., PDIP package (Pb-free) b) PIC12F519T-I/SL = Industrial temp., SOIC DS41319A-page 85 ...

Page 88

... Tel: 45-4450-2828 Fax: 45-4485-2829 France - Paris Tel: 33-1-69-53-63-20 Fax: 33-1-69-30-90-79 Germany - Munich Tel: 49-89-627-144-0 Fax: 49-89-627-144-44 Italy - Milan Tel: 39-0331-742611 Fax: 39-0331-466781 Netherlands - Drunen Tel: 31-416-690399 Fax: 31-416-690340 Spain - Madrid Tel: 34-91-708-08-90 Fax: 34-91-708-08- Wokingham Tel: 44-118-921-5869 Fax: 44-118-921-5820 12/08/06 © 2007 Microchip Technology Inc. ...

Related keywords