PIC12F519T-I/MC Microchip Technology, PIC12F519T-I/MC Datasheet

no-image

PIC12F519T-I/MC

Manufacturer Part Number
PIC12F519T-I/MC
Description
1.5KB Flash Program, 64B Flash Data, 8MHz Internal Oscillator 8 DFN 2X3mm T/R
Manufacturer
Microchip Technology
Series
PIC® 12Fr

Specifications of PIC12F519T-I/MC

Core Processor
PIC
Core Size
8-Bit
Speed
8MHz
Peripherals
POR, WDT
Number Of I /o
5
Program Memory Size
1.5KB (1K x 12)
Program Memory Type
FLASH
Ram Size
41 x 8
Voltage - Supply (vcc/vdd)
2 V ~ 5.5 V
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
8-DFN
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With
AC164334 - MODULE SOCKET FOR 8L 2X3MM DFNXLT08DFN2 - SOCKET TRANSITION ICE 14DIP/8DFN
Eeprom Size
-
Data Converters
-
Connectivity
-
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Other names
PIC12F519T-I/MCTR

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC12F519T-I/MC
Manufacturer:
MICROCHIP
Quantity:
1 001
PIC12F519
Data Sheet
8-Pin, 8-Bit Flash Microcontrollers
*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.
© 2008 Microchip Technology Inc.
DS41319B

Related parts for PIC12F519T-I/MC

PIC12F519T-I/MC Summary of contents

Page 1

... Flash Microcontrollers *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. © 2008 Microchip Technology Inc. PIC12F519 Data Sheet DS41319B ...

Page 2

... PowerMate, PowerTool, REAL ICE, rfLAB, Select Mode, Total Endurance, 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

... INTRC: 4 MHz or 8 MHz precision Internal RC oscillator - EXTRC: External low-cost RC oscillator - XT: Standard crystal/resonator - LP: Power-saving, low-frequency crystal © 2008 Microchip Technology Inc. PIC12F519 Low-Power Features/CMOS Technology: • Standby Current: - 100 nA @ 2.0V, typical • Operating Current μ kHz, 2.0V, typical - 175 μ MHz, 2.0V, typical • ...

Page 4

... PDIP, SOIC, MSOP GP5/OSC1/CLKIN GP4/OSC2 GP3/MCLR/V DFN GP5/OSC1/CLKIN GP4/OSC2 GP3/MCLR/V Program Memory Device Flash (words) PIC12F519 1024 DS41319B-page GP0/ICSPDAT 2 7 GP1/ICSPCLK 3 6 GP2/T0CKI GP0/ICSPDAT 3 6 GP1/ICSPCLK GP2/T0CKI Data Memory SRAM (bytes) Flash (bytes I/O Timers 8-bit 6 1 © 2008 Microchip Technology Inc. ...

Page 5

... When contacting a sales office or the literature center, please specify which device, revision of silicon and data sheet (include lit- erature 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. © 2008 Microchip Technology Inc. PIC12F519 DS41319B-page 3 ...

Page 6

... PIC12F519 NOTES: DS41319B-page 4 © 2008 Microchip Technology Inc. ...

Page 7

... GENERAL DESCRIPTION The PIC12F519 device from Microchip Technology is low-cost, high-performance, 8-bit, fully-static, Flash- based CMOS microcontrollers. They employ a RISC architecture with only 33 single-word/single-cycle instructions. All instructions are single cycle except for program branches, which take two cycles. The PIC12F519 device delivers performance an order of magnitude higher than their competitors in the same price category ...

Page 8

... PIC12F519 NOTES: DS41319B-page 6 © 2008 Microchip Technology Inc. ...

Page 9

... Certain code and prototype verification procedures do apply before production shipments are available. Please contact your local Microchip Technology sales office for more details. © 2008 Microchip Technology Inc. 2.2 Serialized Quick Turn Programming Microchip offers a unique programming service, where a few user-defined locations in each device are programmed with different serial numbers ...

Page 10

... PIC12F519 NOTES: DS41319B-page 8 © 2008 Microchip Technology Inc. ...

Page 11

... It performs arithmetic and Boolean functions between data in the working register and any register file. © 2008 Microchip Technology Inc. The ALU is 8 bits wide and capable of addition, subtraction, shift and logical operations. Unless other- wise mentioned, arithmetic operations are two’s complement in nature ...

Page 12

... Data Bus Program Counter RAM Stack 1 Stack 2 File Registers RAM Addr 9 Addr MUX Indirect 5-7 Addr FSR Reg STATUS Reg 3 MUX Timer ALU Power-on Reset 8 Watchdog W Reg Timer Timer0 GPI/O GP0/ICSPDAT GP1/ICSPCLK GP2/T0CKI GP3/MCLR/V PP GP4/OSC2 GP55/OSC1/CLKIN © 2008 Microchip Technology Inc. ...

Page 13

... Input Output, I/O = Input/Output Power, — = Not Used, TTL = TTL input, Legend Schmitt Trigger input Analog Voltage © 2008 Microchip Technology Inc. Input Type Output Type TTL CMOS Bidirectional I/O port with weak pull-up ST CMOS ICSP™ mode Schmitt Trigger TTL ...

Page 14

... Q2, Q3 and Q4 cycles. Data memory is read during Q2 (operand read) and written during Q4 (destination write Fetch INST ( Execute INST (PC) Execute 1 Fetch 2 Execute 2 Fetch 3 Execute 3 Fetch Internal Phase Clock Fetch INST ( Execute INST ( Flush Fetch SUB_1 Execute SUB_1 © 2008 Microchip Technology Inc. ...

Page 15

... The effective Reset vector is a 0000h (see Figure 4-1). Location 03FFh contains the internal clock oscillator calibration value. This value should never be overwritten. © 2008 Microchip Technology Inc. PIC12F519 FIGURE 4-1: MEMORY MAP PC<11:0> ...

Page 16

... The Special Function Registers can be classified into two sets. The Special Function Registers associated with the “core” functions are described in this section. Those related to the operation of the peripheral features are described in the section for each peripheral feature. 1 20h (1) 2Fh 30h 3Fh © 2008 Microchip Technology Inc. ...

Page 17

... Shaded cells = unimplemented or unused Legend: The upper byte of the Program Counter is not directly accessible. See Section 4.6 “Program Counter” for an explanation of how to Note 1: access these bits. © 2008 Microchip Technology Inc. Bit 5 Bit 4 Bit 3 Bit 2 TRISGPIO5 ...

Page 18

... Status bits, see Section 9.0 “Instruction Set Summary”. R-1 R-1 R/W Unimplemented bit, read as ‘0’ ‘0’ = Bit is cleared 0’ RRF or RLF: SUBWF borrow did not occur Load bit with LSb or MSb, respectively borrow occurred R/W-x R/W bit Bit is unknown © 2008 Microchip Technology Inc. ...

Page 19

... Microchip Technology Inc. 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. If the T0SC bit is set to ‘1’, it will override Note: the TRIS function on the T0CKI pin. ...

Page 20

... Center frequency 1111111 • • • 1000000 =Minimum frequency bit 0 Unimplemented: Read as ‘0’ DS41319B-page 18 R/W-1 R/W-1 R/W-1 CAL3 CAL2 CAL1 U = Unimplemented bit, read as ‘0’ ‘0’ = Bit is cleared R/W-1 U-0 CAL0 — bit Bit is unknown © 2008 Microchip Technology Inc. ...

Page 21

... Instruction Word Reset to ‘0’ PA0 7 0 Status © 2008 Microchip Technology Inc. 4.6.1 EFFECTS OF RESET The PC is set upon a Reset, which means that the PC addresses the last location in the last page (i.e., the oscillator calibration instruction). After executing MOVLW XX, the PC will roll over to location 00h and begin executing user code ...

Page 22

... Bank 0 Bank 1 HOW TO CLEAR RAM USING INDIRECT ADDRESSING 0x10 ;initialize pointer FSR ;to RAM INDF ;clear INDF ;register FSR,F ;inc pointer FSR,4 ;all done? NEXT ;NO, clear next ;YES, continue Indirect Addressing 5 (FSR Location Select Bank © 2008 Microchip Technology Inc. ...

Page 23

... If there is other information in that row that must be saved, copy those bytes from Flash data memory to RAM. 3. Perform a row erase of the row of interest. © 2008 Microchip Technology Inc. PIC12F519 4. Write the new byte of data and any saved bytes back to the appropriate addresses in Flash data memory ...

Page 24

... Flash data memory. Refer to the code protection chapter for more information. the “BSF WRITE VERIFY OF DATA EEPROM ;EEDATA has not changed ;from previous write ;Read the value written ; ;Is data the same ;No, handle error ;Yes, continue © 2008 Microchip Technology Inc. ...

Page 25

... GP6 Note 1: When MCLRE = 1, the weak pull-up on GP3/MCLR is always enabled. WPU = Weak pull-up Wake-up. 2: © 2008 Microchip Technology Inc. 6.2 TRIS Registers The Output Driver Control registers are loaded with the contents of the W Register by executing the TRIS f instruction. A ‘1’ from a TRISGPIO Register bit puts the corresponding output driver in a high-impedance (Input) mode. A ‘ ...

Page 26

... U = Unimplemented bit, read as ‘0’ ‘0’ = Bit is cleared W-1 W-1 W-1 TRISGPIO4 TRISGPIO3 TRISGPIO2 U = Unimplemented bit, read as ‘0’ ‘0’ = Bit is cleared R/W-x R/W-x GP1 GP0 bit Bit is unknown W-1 W-1 TRISGPIO1 TRISGPIO0 bit Bit is unknown © 2008 Microchip Technology Inc. ...

Page 27

... RD Port Q Wake-up on change Latch Pin Change GP0/ICSPDAT • General purpose I/O • In-Circuit Serial Programming™ data • Wake-up on input change trigger © 2008 Microchip Technology Inc GP1/ICSPCLK • General purpose I/O • In-circuit Serial Programming™ clock • Wake-up on input change trigger ...

Page 28

... PIC12F519 FIGURE 6-2: GP2/TOCK1 • General Purpose I/O • A Clock Input for Timer0 D Data Data Latch WR CK WREG D TRIS Latch TRIS ‘F’ CK TOCS RD Port To Timer0 DS41319B-page I/O Pin V SS © 2008 Microchip Technology Inc. ...

Page 29

... FIGURE 6-3: GP4/OSC2 • General Purpose I/O • A crystal resonator connection DATA D BUS Data Latch WR CK PORT WREG D TRIS Latch CK TRIS ‘F’ INTOSC RC RD PORT © 2008 Microchip Technology Inc. From OSC1 Oscillator Circuit PIC12F519 V DD I/O Pin V SS DS41319B-page 27 ...

Page 30

... PIC12F519 FIGURE 6-4: GP5/OSC1/CLKIN From OSC2 Q DATA D BUS Data Latch PORT Q WREG D TRIS Latch CK TRIS ‘F’ PORT DS41319B-page 28 V Oscillator Circuit V • General Purpose I/O • A crystal resonator connection • A clock input © 2008 Microchip Technology Inc. DD I/O Pin SS ...

Page 31

... TRISGPIO5 TRISGPIO4 TRISGPIO3 TRISGPIO2 TRISGPIO1 TRISGPIO0 --11 1111 --11 1111 STATUS GPWUF — PA0 OPTION GPWU GPPU T0CS x = unknown unchanged, – = unimplemented, read as ‘0’, Shaded cells = unimplemented, read as ‘0’, Legend depends on the condition © 2008 Microchip Technology Inc. Weak (1) Input Pin Bit 4 Bit 3 Bit 2 Bit 1 GP4 ...

Page 32

... Therefore, at higher clock frequencies, a Port pin write followed by a read may be problematic. sampled here MOVF PORTB,W NOP (Read PORTB) READ-MODIFY-WRITE INSTRUCTIONS ON AN I/O PORT GPIO latch GPIO pins ---------- ---------- ;--01 -ppp --11 pppp ;--10 -ppp --11 pppp ;--10 -ppp --11 pppp – instruction cycle propagation delay PD © 2008 Microchip Technology Inc. ...

Page 33

... Timer0 Instruction Executed © 2008 Microchip Technology Inc. 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 34

... Bit 2 Bit 1 T0SE PSA PS2 NT0 + 1 Read TMR0 Read TMR0 Read TMR0 reads NT0 + 1 reads NT0 reads NT0 + 2 Value on Value on Bit 0 Power-on All Other Reset Resets xxxx xxxx uuuu uuuu PS1 PS0 1111 1111 1111 1111 © 2008 Microchip Technology Inc. ...

Page 35

... Timer0 input = ± External clock if no prescaler selected; prescaler output otherwise. 3: The arrows indicate the times at which sampling occurs. © 2008 Microchip Technology Inc. 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 ...

Page 36

... WDT is disabled. A CLRWDT instruction should be executed before switching the prescaler. EXAMPLE 7-2: CHANGING PRESCALER (WDT → TIMER0) CLRWDT ;Clear WDT and ;prescaler MOVLW b‘xxxx0xxx’ ;Select TMR0, new ;prescale value and ;clock source OPTION © 2008 Microchip Technology Inc. ...

Page 37

... BLOCK DIAGRAM OF THE TIMER0/ WDT PRESCALER /4) CY OSC T0CKI pin T0SE Watchdog Timer PSA WDT Enable bit Note 1: T0CS, T0SE, PSA, PS<2:0> are bits in the OPTION register. © 2008 Microchip Technology Inc Sync Cycles T0CS PSA 8-bit Prescaler 8 8-to-1 MUX PS<2:0> ...

Page 38

... PIC12F519 NOTES: DS41319B-page 36 © 2008 Microchip Technology Inc. ...

Page 39

... Device Reset Timer (DRT), intended to keep the chip in Reset until the crystal oscillator is stable. If using INTRC or EXTRC, the DRT provides (nominal) delay. © 2008 Microchip Technology Inc. The Sleep mode is designed to offer a very low-current Power-Down mode. The user can wake-up from Sleep through a change-on-input-pins or through a Watchdog Timer time-out ...

Page 40

... DRT or the 1 ms (nominal) DRT will result in acceptable operation. Refer to Figure 11-1 and Table 11-2 for V this mode of operation. DS41319B-page 38 (1) MCLRE CP WDTE DD (2) (2) (2) (2) rise time and stability requirements for DD FOSC1 FOSC0 bit 0 © 2008 Microchip Technology Inc. ...

Page 41

... C2 See Capacitor Selection tables for Note 1: recommended values of C1 and C2. A series resistor (RS) may be required for AT 2: strip cut crystals. RF approx. value = 10 MΩ. 3: © 2008 Microchip Technology Inc. FIGURE 8-2: Clock from ext. system TABLE 8-1: Osc Resonator Type XT 4.0 MHz ...

Page 42

... EXT variation. Furthermore, the values. The user also needs to take into values EXT values EXT EXT = 0 pF recommended using EXTERNAL RC OSCILLATOR MODE Internal clock OSC1 N PIC16F519 = 3.5V and 25°C, (see DD “Electrical Characteristics” © 2008 Microchip Technology Inc. for ...

Page 43

... Note 1: See Table 8-4 for Reset value for specific conditions Reset was due to wake-up on pin change, then bit All other Resets will cause bit © 2008 Microchip Technology Inc. 8.3 Reset The device differentiates between various kinds of Reset: • Power-on Reset (POR) • ...

Page 44

... DD are tied together or the pin DD is stable before DD rises too slowly. The time DD actually reach their full value (min) value and the DD © 2008 Microchip Technology Inc. ...

Page 45

... MCLR Internal POR DRT Time-out Internal Reset FIGURE 8-9: TIME-OUT SEQUENCE ON POWER-UP (MCLR TIED TO V TIME V DD MCLR Internal POR DRT Time-out Internal Reset © 2008 Microchip Technology Inc. POR (Power-on Reset) MCLR Reset Start-up Timer (10 μ ms) TDRT PIC12F519 CHIP Reset ...

Page 46

... DRT Time-out Internal Reset When V rises slowly, the T Note: DD value. In this example, the chip will reset properly if, and only if, V1 ≥ V DS41319B-page 44 V1 TDRT time-out expires long before V DRT DD ): SLOW V RISE DD DD has reached its final min. DD © 2008 Microchip Technology Inc. ...

Page 47

... POR Reset Configuration INTOSC, EXTRC 1 ms (typical) LP (typical) © 2008 Microchip Technology Inc. 8.6 Watchdog Timer (WDT) The Watchdog Timer (WDT free running on-chip RC oscillator, which does not require any external components. This RC oscillator is separate from the external RC oscillator of the (GP5)/OSC1/CLKIN pin and the internal MHz oscillator ...

Page 48

... M Postscaler Postscaler 8-to-1 MUX PSA To Timer0 0 1 MUX PSA WDT Time-out Bit 4 Bit 3 Bit 2 Bit 1 T0SE PSA PS2 PS1 PS<2:0> (Figure 7-3) Value on Value on all Bit 0 POR, BOR other Resets PS0 1111 1111 1111 1111 © 2008 Microchip Technology Inc. ...

Page 49

... For lowest current consumption while powered down, the T0CKI input should GP3/MCLR/V pin must logic high level if PP MCLR is enabled. © 2008 Microchip Technology Inc. 8.8.2 WAKE-UP FROM SLEEP The device can wake-up from Sleep through one of the following events external Reset input on GP3/MCLR/V when configured as MCLR. ...

Page 50

... Memory Programming Specification,” (DS41316). A typical In-Circuit Serial Programming connection is shown in Figure 8-12. DS41319B-page 48 FIGURE 8-12: External Connector Signals + CLK Data boards with to V (see IL IHH TYPICAL IN-CIRCUIT SERIAL PROGRAMMING CONNECTION To Normal Connections PIC12F519 MCLR/V PP GP1/ICSPCLK GP0/ICSPDAT Normal Connections © 2008 Microchip Technology Inc. ...

Page 51

... In the set of User defined term (font is courier) italics © 2008 Microchip Technology Inc. PIC12F519 All instructions are executed within a single instruction cycle, unless a conditional test is true or the program counter is changed as a result of an instruction. In this case, the execution takes two instruction cycles. One instruction cycle consists of four oscillator periods ...

Page 52

... 0000 0000 0100 2 None 101k kkkk kkkk 1 Z 1101 kkkk kkkk 1 None 1100 kkkk kkkk 1 None 0000 0000 0010 2 None 1000 kkkk kkkk 0000 0000 0011 None 1 0000 0000 0fff 1 Z 1111 kkkk kkkk © 2008 Microchip Technology Inc. Notes ...

Page 53

... The contents of the W register are AND’ed with register ‘f’. If ‘d’ is ‘0’, the result is stored in the W register. If ‘d’ is ‘1’, the result is stored back in register ‘f’. © 2008 Microchip Technology Inc. PIC12F519 BCF Bit Clear f Syntax: ...

Page 54

... Operands: d ∈ [0,1] (f) → (dest) Operation: Status Affected: Z Description: The contents of register ‘f’ are complemented. If ‘d’ is ‘0’, the result is stored in the W register. If ‘d’ is ‘1’, the result is stored back in register ‘f’. © 2008 Microchip Technology Inc. ...

Page 55

... Status Affected: None Description: GOTO is an unconditional branch. The 9-bit immediate value is loaded into PC bits <8:0>. The upper bits of PC are loaded from STATUS<6:5>. GOTO is a two- cycle instruction. © 2008 Microchip Technology Inc. PIC12F519 INCF Increment f Syntax: [ label ] INCF f,d 0 ≤ f ≤ 31 Operands: d ∈ ...

Page 56

... NOP Operands: None Operation: No operation Status Affected: None Description: No operation. OPTION Load OPTION Register Syntax: [ label ] Option Operands: None (W) → Option Operation: Status Affected: None Description: The content of the W register is loaded into the OPTION register. © 2008 Microchip Technology Inc. f ...

Page 57

... Carry flag. If ‘d’ is ‘0’, the result is placed in the W register. If ‘d’ is ‘1’, the result is placed back in register ‘f’. C register ‘f’ © 2008 Microchip Technology Inc. SLEEP Syntax: Operands: Operation: Status Affected: TO, PD, GPWUF Description: ...

Page 58

... Operation: Status Affected: Z Description: Exclusive OR the contents of the W register with register ‘f’. If ‘d’ is ‘0’, the result is stored in the W register. If ‘d’ is ‘1’, the result is stored back in register ‘f’. © 2008 Microchip Technology Inc. f,d ...

Page 59

... PICSTART Plus Development Programmer - MPLAB PM3 Device Programmer - PICkit™ 2 Development Programmer • Low-Cost Demonstration and Development Boards and Evaluation Kits © 2008 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

... MPLAB C30 C Compilers, and the MPASM and MPLAB ASM30 Assemblers. The software simulator offers the flexibility to develop and debug code outside of the hardware laboratory environment, making it an excellent, economical software development tool. ® DSCs on an instruction © 2008 Microchip Technology Inc. ...

Page 61

... Microchip Technology Inc. PIC12F519 10.9 MPLAB ICD 2 In-Circuit Debugger Microchip’s In-Circuit Debugger, MPLAB ICD ...

Page 62

... PowerSmart battery management, SEEVAL evaluation system, Sigma-Delta ADC, flow rate sensing, plus many more. Check the Microchip web page (www.microchip.com) and the latest “Product Selector Guide” (DS00148) for the complete list of demonstration, development and evaluation kits. © 2008 Microchip Technology Inc. ® ...

Page 63

... This is a stress rating only and functional operation of the device at those or any other conditions above those indicated in the operation listings of this specification is not implied. Exposure to maximum rating conditions for extended periods may affect device reliability. © 2008 Microchip Technology Inc. ............................................................................... -0. )...................................................................................................................± ...

Page 64

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

Page 65

... DD For standby current measurements, the conditions are the same mode module current is listed, the current is for that specific module enabled and the device in Sleep. © 2008 Microchip Technology Inc. Standard Operating Conditions (unless otherwise specified) Operating Temperature -40°C ≤ T (1) Min. ...

Page 66

... Reset (POR)” for details See Section 8.4 “Power-on Reset (POR)” for details MHz 2.0V OSC MHz 5.0V OSC MHz 2.0V OSC MHz 5.0V OSC kHz 2.0V OSC kHz 5.0V OSC except that the device is in Sleep DD © 2008 Microchip Technology Inc. ...

Page 67

... This specification applies to all weak pull-up devices, including the weak pull-up found on GP3/MCLR. The current value listed will be the 5: same whether or not the pin is configured as GP3 with pull-up enabled or MCLR. © 2008 Microchip Technology Inc. (Industrial, Extended) PIC12F519 Standard Operating Conditions (unless otherwise specified) -40° ...

Page 68

... Max. Units Ω 186K Ω 187K Ω 190K Ω 190K Ω 33K Ω 34K Ω 35K Ω 35K Ω 96K Ω 116K Ω 116K Ω 119K Ω 22K Ω 23K Ω 28K Ω 29K © 2008 Microchip Technology Inc. ...

Page 69

... Uppercase letters and their meanings Fall H High I Invalid (high-impedance) L Low FIGURE 11-3: LOAD CONDITIONS – PIC12F519 pin FIGURE 11-4: EXTERNAL CLOCK TIMING – PIC12F519 Q4 OSC1 © 2008 Microchip Technology Inc. T Time mc MCLR osc Oscillator os OSC1 t0 T0CKI wdt Watchdog Timer P Period R Rise V ...

Page 70

... A ≤ +125°C (extended) A Conditions LP Oscillator mode LP Oscillator mode XT Oscillator mode LP Oscillator mode EXTRC Oscillator mode XT Oscillator mode LP Oscillator mode XT Oscillator LP Oscillator XT Oscillator LP Oscillator © 2008 Microchip Technology Inc. ...

Page 71

... I/O Pin Old Value (output) All tests must be done with specified capacitive loads (see data sheet I/O pins and CLKOUT. Note: © 2008 Microchip Technology Inc. Standard Operating Conditions (unless otherwise specified) -40°C ≤ T Operating Temperature -40°C ≤ T Operating Voltage V range is described in Section 10 ...

Page 72

... Runs in MCLR or WDT Reset only in XT and LP. 2: DS41319B-page 70 -40°C ≤ T ≤ +85°C (industrial) A -40°C ≤ T ≤ +125°C (extended) A range is described in DD Characteristic Min. (2), (3) (3) ( (1) Typ Max. Units — — 100 — — — — ns — 10 50** ns — © 2008 Microchip Technology Inc. ...

Page 73

... DRT (DEVICE RESET TIMER PERIOD) Oscillator Configuration IntRC and ExtRC XT and LP FIGURE 11-7: TIMER0 CLOCK TIMINGS T0CKI © 2008 Microchip Technology Inc. Standard Operating Conditions (unless otherwise specified) Operating Temperature -40°C ≤ T ≤ +85°C (industrial) A -40°C ≤ T ≤ +125°C (extended) ...

Page 74

... DD Section TABLE 11-3: “DC CHARACTERISTICS: PIC12F519 (Industrial, Extended)” (1) Min. Typ Max (1) Max. Units Conditions — — ns — — ns — — ns — — ns — — ns Whichever is greater Prescale Value (1, 2, 4,..., 256) Units Conditions ms ms © 2008 Microchip Technology Inc. ...

Page 75

... MAXIMUM I DD 800 Typical: Statistical Mean @25°C 700 Maximum: Mean (Worst-Case Temp) + 3σ (-40°C to 125°C) 600 500 400 300 200 100 © 2008 Microchip Technology Inc. vs. F OVER V (XT, EXTRC mode) OSC (MHz) OSC vs. F OVER V (XT, EXTRC mode) OSC DD ...

Page 76

... DD DD 120 Typical: Statistical Mean @25°C Industrial: Mean (Worst-Case Temp) + 3σ (-40°C to 85°C) Extended: Mean (Worst-Case Temp) + 3σ (-40°C to 125°C) 100 DS41319B-page 74 (LP MODE) OSC 32 kHz Maximum Extended 32 kHz Maximum Industrial ( kHz Typical 6 5 © 2008 Microchip Technology Inc. ...

Page 77

... Maximum: Mean (Worst-Case Temp) + 3σ (-40°C to 125°C) 14.0 12.0 10.0 8.0 6.0 4.0 2.0 0.0 2.0 2.5 © 2008 Microchip Technology Inc. vs. V (SLEEP MODE, ALL PERIPHERALS DISABLED) DD 3.0 3.5 4.0 V (V) DD vs. V (SLEEP MODE, ALL PERIPHERALS DISABLED) DD Max. 125°C Max. 85° ...

Page 78

... DS41319B-page 76 vs 3.0 3.5 4.0 V (V) DD vs. V OVER TEMPERATURE PD DD Max. 125°C Max. 85°C 3.0 3.5 4.0 V (V) DD 4.5 5.0 5.5 4.5 5.0 5.5 © 2008 Microchip Technology Inc. ...

Page 79

... Maximum: Mean (Worst-Case Temp) + 3σ (-40°C to 125°C) 0.6 0.5 0.4 0.3 0.2 0.1 0.0 5.0 5.5 6.0 © 2008 Microchip Technology Inc. OVER TEMPERATURE (NO PRESCALER) DD Typical: Statistical Mean @25°C Maximum: Mean (Worst-Case Temp) + 3σ (-40°C to 125°C) 3.0 3.5 4 ...

Page 80

... I (mA 3.0V) DD -1.5 -2.0 -2.5 I (mA) OH Max. 125°C Max. 85°C Typ. 25°C Min. -40°C 8.5 9.0 9.5 10.0 Max. -40°C Typ. 25°C Min. 125°C -3.0 -3.5 -4.0 © 2008 Microchip Technology Inc. ...

Page 81

... FIGURE 12-13: TTL INPUT THRESHOLD V 1.7 Typical: Statistical Mean @25°C 1.5 Maximum: Mean (Worst-Case Temp) + 3σ (-40°C to 125°C) 1.3 1.1 0.9 0.7 0.5 2.0 2.5 © 2008 Microchip Technology Inc. = 5.0V) DD -1.5 -2.0 -2.5 -3.0 -3.5 I (mA Max. -40°C Typ. 25° ...

Page 82

... DS41319B-page 80 vs 3.0 3.5 4 Max. 125°C Max. 85°C Typical 25°C Min. -40°C 3.0 3.5 4 Max. 125° Min. -40° Max. -40° Min. 125°C IL 4.5 5.0 5.5 4.5 5.0 5.5 © 2008 Microchip Technology Inc. ...

Page 83

... Microchip part number, year code, week code, and traceability * code. For PIC device marking beyond this, certain price adders apply. Please check with your Microchip Sales Office. For QTP devices, any special marking adders are included in QTP price. © 2008 Microchip Technology Inc. PIC12F519 Example 12F519-I ...

Page 84

... PIC12F519 /HDG 3ODVWLF 'XDO ,Q /LQH 3 ± 1RWH 1RWHV DS41319B-page 82 PLO %RG\ >3',3@ © 2008 Microchip Technology Inc. ...

Page 85

... Microchip Technology Inc. PIC12F519 PP %RG\ >62,&@ α φ β DS41319B-page 83 ...

Page 86

... PIC12F519 /HDG 3ODVWLF 6PDOO 2XWOLQH 61 ± 1DUURZ 1RWH DS41319B-page 84 PP %RG\ >62,&@ © 2008 Microchip Technology Inc. ...

Page 87

... Microchip Technology Inc. PIC12F519 I φ DS41319B-page 85 ...

Page 88

... PIC12F519 /HDG 3ODVWLF 'XDO )ODW 1R /HDG 3DFNDJH 0& ± 1RWH 1RWHV DS41319B-page 86 PP %RG\ >')1@ © 2008 Microchip Technology Inc. ...

Page 89

... Microchip Technology Inc. PIC12F519 PP %RG\ >')1@ DS41319B-page 87 ...

Page 90

... PIC12F519 APPENDIX A: REVISION HISTORY Revision A (May 2007) Original release of this document. Revision B (September 2008) Added DC and AC Characteristics graphs; Updated Electrical Characteristics section; Updated Package Drawings and made general edits. DS41319B-page 88 © 2008 Microchip Technology Inc. ...

Page 91

... 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 © 2008 Microchip Technology Inc. PIC12F519 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 ...

Page 92

... TMR0 with External Clock........................................... 33 Timing Diagrams and Specifications................................... 67 Timing Parameter Symbology and Load Conditions........... 67 TRIS Registers.................................................................... 23 W Wake-up from Sleep ........................................................... 47 Watchdog Timer (WDT) ................................................ 37, 45 Period.......................................................................... 45 Programming Considerations ..................................... 45 WWW Address.................................................................... 91 WWW, On-Line Support........................................................ 3 Z Zero bit .................................................................................. 9 DS41319B-page 90 © 2008 Microchip Technology Inc. ...

Page 93

... To register, access the Microchip web site at www.microchip.com, click on Customer Change Notification and follow the registration instructions. © 2008 Microchip Technology Inc. CUSTOMER SUPPORT Users of Microchip products can receive assistance through several channels: • Distributor or Representative • ...

Page 94

... What deletions from the document could be made without affecting the overall usefulness there any incorrect or misleading information (what and where)? 7. How would you improve this document? DS41319B-page 92 Total Pages Sent ________ FAX: (______) _________ - _________ N Literature Number: DS41319B © 2008 Microchip Technology Inc. ...

Page 95

... Tape and Reel available for only the following packages: SOIC, DFN and Note: MSOP. © 2008 Microchip Technology Inc. XXX Examples: Pattern a) PIC12F519-I/P package (Pb-free) b) PIC12F519T-I/SN = Tape and Reel, Industrial temp., SOIC package c) PIC12F519 - E/MS 303 = Extended temp., MSOP package, QTP pattern #303 PIC12F519 . = Industrial temp., PDIP ...

Page 96

... Fax: 886-3-572-6459 Taiwan - Kaohsiung Tel: 886-7-536-4818 Fax: 886-7-536-4803 Taiwan - Taipei Tel: 886-2-2500-6610 Fax: 886-2-2508-0102 Thailand - Bangkok Tel: 66-2-694-1351 Fax: 66-2-694-1350 © 2008 Microchip Technology Inc. EUROPE Austria - Wels Tel: 43-7242-2244-39 Fax: 43-7242-2244-393 Denmark - Copenhagen Tel: 45-4450-2828 Fax: 45-4485-2829 France - Paris Tel: 33-1-69-53-63-20 ...

Related keywords