PIC12F519T-I/MC Microchip Technology, PIC12F519T-I/MC Datasheet
![no-image](/images/manufacturer_photos/0/4/439/microchip_technology_sml.jpg)
PIC12F519T-I/MC
Specifications of PIC12F519T-I/MC
Available stocks
Related parts for PIC12F519T-I/MC
PIC12F519T-I/MC Summary of contents
Page 1
... Legend Input Output Power Note 1: In the PIC12F519, the programming high voltage is internally generated. To activate the Program/Verify mode, high voltage of I IHH © 2007 Microchip Technology Inc. PIC12F519 1.1 Hardware Requirements The PIC12F519 requires one power supply for V (5.0V) and one for V 1 ...
Page 2
... MOVLW instruction. Program- ming interfaces must allow users to program the Cali- bration bits themselves for custom trimming of the INTOSC. Capability for programming the Calibration bits when programming the entire memory array must also be maintained for backwards compatibility. © 2007 Microchip Technology Inc. ...
Page 3
... Read Data Increment Address Begin Programming End Programming Bulk Erase Program Memory © 2007 Microchip Technology Inc. 3.1.2 SERIAL PROGRAM/VERIFY OPERATION The RB1 pin is used as a clock input pin, and the RB0 pin is used for entering command bits and data input/ output during serial operation ...
Page 4
... Because this is a 12- bit core, the two MSbs will read as ‘1’. A timing diagram of this command is shown in Figure 3- DLY strt_bit LSb T 1 DLY T 1 HLD Input MSb stp_bit T 1 SET HLD DLY MSb stp_bit Input Output © 2007 Microchip Technology Inc. ...
Page 5
... Reset 3.1.2.4 Begin Programming A Load command (Load Data) must be given before every Begin Programming command. Programming of FIGURE 3-5: BEGIN PROGRAMMING COMMAND V IHH MCLR RB1 (ICSPCLK) RB0 0 (ICSPDAT) Reset © 2007 Microchip Technology Inc SET HLD 100 ns min. the appropriate memory (User Program Memory, Flash Data Memory or Test Program Memory) will begin after this command is received and decoded ...
Page 6
... Oscillator Calibration bits are stored at the Reset vector as the operand of a MOVLW instruction SET HLD 100 ns min. T DIS Next Command 1 µs min ERA Next Command 1 2 © 2007 Microchip Technology Inc. ...
Page 7
... Yes (User Memory) 400h-43Fh No (Data Memory) 440h-447h No (Configuration Memory) Note: Yes = erase No = unchanged © 2007 Microchip Technology Inc. User Program Flash Data Memory Memory Erased Erased Yes CPDF = 0 – Yes CPDF = 1 – No Yes CPDF = 0 – Yes CPDF = 1 – CPDF = 0 – No CPDF = 1 – ...
Page 8
... READING AND TEMPORARY SAVING OF THE OSCCAL CALIBRATION BITS Increment Address Increment Address DS41316B-page 8 Start Enter Programming Mode 0x3FF? Yes Read Calibration Bits and Save in Computer/Programmer Temp. Memory 0x444? Yes Read Backup OSCCAL Calibration Bits and Save in Computer/Programmer Temp. Memory Exit Programming Mode Done © 2007 Microchip Technology Inc. ...
Page 9
... FIGURE 3-9: RESTORING/PROGRAMMING THE OSCCAL CALIBRATION BITS Increment Address Increment Address © 2007 Microchip Technology Inc. Start Enter Programming Mode 0x3FF? Yes Read Calibration Bits from Computer/Programmer Temp. Memory Write Calibration Bits back as the operand of a MOVLW instruction to 0x3FF 0x444? Yes ...
Page 10
... Data Correct? Yes Increment No Address All Programming Command Locations Done? Exit Programming Mode Done DS41316B-page 10 Report No Programming Failure Yes PROGRAM CYCLE Load Data for Program Memory Begin Programming Command (Externally timed) Wait T PROG End Programming Wait T DIS © 2007 Microchip Technology Inc. ...
Page 11
... Read Data from Program Memory Data Correct? Yes Increment No Address All Programming Command Locations Done? Exit Programming Mode Done © 2007 Microchip Technology Inc. Yes Report No Programming Failure Yes PIC12F519 PROGRAM CYCLE Load Data for Program Memory Begin Programming Command (Externally timed) ...
Page 12
... Programming Cycle (see Figure 3-10) DS41316B-page 12 Programs Configuration Word Report No Programming Failure Yes Yes Programs User IDs Read Data Command Data No Correct? Yes Increment Address Command No Address = 0x444? Yes Exit Programming Mode Done Report Programming Failure © 2007 Microchip Technology Inc. ...
Page 13
... Read and save OSCCAL bits Figure 3-8 ( Enter Program/Verify mode PC = 0x7FF (Config. Word) Increment Address 0x400? Note 1: This operation requires that CPDF = 1. © 2007 Microchip Technology Inc. Bulk Erase Device Exit Programming Restore OSCCAL bits ) Yes PIC12F519 Wait T ERA Mode ( Figure 3-9 ) ...
Page 14
... PROGRAM FLOWCHART – ERASE USER ID Start Increment PC DS41316B-page 14 Read and save OSCCAL bits Figure 3 Enter Program/Verify mode PC = 0x7FF (Config. Word 0x440? (First User ID) Yes Bulk Erase Device Wait T ERA Exit Programming Mode Restore OSCCAL bits Figure 3 Done © 2007 Microchip Technology Inc. ...
Page 15
... FIGURE 3-16: PROGRAM FLOWCHART – HIGH-LEVEL FULL DEVICE PROGRAM © 2007 Microchip Technology Inc. Start Read OSCCAL bits Bulk Erase User Memory Bulk Erase Data Memory Bulk Erase ID/OSCCAL Program User Memory Program Data Memory Program Configuration Memory Restore OSCCAL bits ...
Page 16
... PIC12F519 FIGURE 3-17: PROGRAM FLOWCHART – HIGH-LEVEL FULL DEVICE ERASE DS41316B-page 16 Start Read OSCCAL bits Bulk Erase User Memory Bulk Erase Data Memory Bulk Erase ID/OSCCAL Restore OSCCAL bits Done © 2007 Microchip Technology Inc. ...
Page 17
... INTRC with 1 ms DRT 11 = EXTRC with 1 ms DRT Note the responsibility of the application designer to ensure the use of the 1 ms DRT will result in acceptable operation. Refer to Electrical Specifications for V © 2007 Microchip Technology Inc. See REGISTER 4-1 below for details. bits can be — ...
Page 18
... The checksum calculation differs depend- ing on the code-protect setting. The Con- figuration Word and user ID locations can always be read regardless of the code- protect settings. (1) Checksum* 0x723 at 0 Blank and Max. Value Address 0xEC80 0xDAC8 0xECB7 0xD223 © 2007 Microchip Technology Inc. ...
Page 19
... Delay between clock↓ to clock↑ of next DLY command or data T 3 Clock↑ to data out valid (during Read Data) DLY T Bulk Erase Time ERA T High Voltage Discharge Time DIS © 2007 Microchip Technology Inc. AC TARGETS Min. Typ. 12.5 — V — for Test mode — — 0.85*V — ...
Page 20
... PIC12F519 NOTES: DS41316B-page 20 © 2007 Microchip Technology Inc. ...
Page 21
... 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 22
... 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 © 2007 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 ...