PIC12F615-I/P Microchip Technology, PIC12F615-I/P Datasheet
![no-image](/images/manufacturer_photos/0/4/439/microchip_technology_sml.jpg)
PIC12F615-I/P
Specifications of PIC12F615-I/P
Available stocks
Related parts for PIC12F615-I/P
PIC12F615-I/P Summary of contents
Page 1
... PIC12HV609 • PIC12F617 • PIC16HV616 • PIC16F616 • PIC16HV610 • PIC16F610 Note 1: All references to the PIC12F615 parts refer to the PIC12HV615 parts as well (unless otherwise specified). 2: All references to the PIC16F616 parts refer to the PIC16HV616 as well (unless otherwise specified). 3: All references to the PIC12F609 parts refer to the PIC12HV609 as well (unless otherwise specified) ...
Page 2
... RA5 12 1 RA4 RC5 9 4 During Programming Pin Type I Clock input – Schmitt Trigger input I/O Data input/output – Schmitt Trigger input (1) P Program Mode Select P Power Supply P Ground RA0/ICSPDAT RA1/ICSPCLK RA2 RC0 Pin Description IHH 2009 Microchip Technology Inc. ...
Page 3
... ID information. The 14 bits may be programmed, but only the 7 LSbs ® are read and displayed by MPLAB IDE. 2009 Microchip Technology Inc. 3.3 Calibration Word For all of the devices covered in this document, the 4/8 MHz Internal Oscillator (INTOSC) module is fac- tory calibrated. This value is stored in the Calibration Word (0x2008) ...
Page 4
... PIC12F609/12F615/12F617/16F610/16F616 AND PIC12HV609/12HV615/16HV610/16HV616 FIGURE 3-1: PIC12F615/HV615, PIC12F609/HV609, PIC16F610/HV610 PROGRAM MEMORY MAPPING User ID Location 2000 User ID Location 2001 User ID Location 2002 User ID Location 2003 Reserved 2004 Reserved 2005 Device ID 2006 Configuration Word 2007 2008 Calibration Word Reserved 2009-203F DS41396A-page Implemented 03FF Program Memory ...
Page 5
... Reserved 2004 Reserved 2005 Device ID 2006 Configuration Word 2007 2008 Calibration Word 2009-203F Reserved (1) 2009-206F Note 1: Applies to the PIC12F617 only. 2009 Microchip Technology Inc Implemented 07FF Program Memory Maps to 0-7FF 1FFF 2000 Implemented 2040 (1) 2070 Maps to Configuration Memory 2000-203F ...
Page 6
... Note: The PIC12F615, PIC12F609, PIC16F610 program memories must be written in one-word writes only. After writing the array, the PC may be reset and read back to verify the write not possible to verify immediately following the write because the PC can only increment, not decrement ...
Page 7
... PIC12F609/12F615/12F617/16F610/16F616 AND PIC12HV609/12HV615/16HV610/16HV616 4.1.1 ONE-WORD PROGRAMMING The PIC12F615, PIC12F609, PIC16F616 PIC16F610 program memories can be written one word at a time to allow compatibility with other 8-pin ® and 14-pin Flash PIC devices. Configuration memory (>0x2000) must be written one word (or byte time. The sequences for programming one word of program memory at a time is: 1 ...
Page 8
... ICSPCLK. To allow for decoding of commands and reversal of data pin configuration, a time separation of at least 1 s (T DLY between a command and a data word. The commands that are available are described in Table 4-1. 2009 Microchip Technology Inc. consecutive Programming ). DIS 1) is required ...
Page 9
... Stop bit (see Figure 4-4). After the configuration memory is entered, the only way to get back to the program memory is to exit the Program/Verify mode by taking MCLR low (V FIGURE 4-4: LOAD CONFIGURATION COMMAND ICSPCLK ICSPDAT 2009 Microchip Technology Inc. Mapping (MSb … LSb ...
Page 10
... FIGURE 4-6: READ DATA FROM PROGRAM MEMORY COMMAND ICSPCLK ICSPDAT T 1 SET DS41396A-page DLY strt_bit DLY 1 HLD T 3 DLY strt_bit LSb HLD DLY input LSb MSb stp_bit T 1 SET T 1 HLD DLY MSb stp_bit input output 2009 Microchip Technology Inc. ...
Page 11
... Programming requires (T time and is terminated using an End Programming command. A timing diagram for this command is shown in Figure 4-8. The addressed locations are not erased before programming. FIGURE 4-8: BEGIN PROGRAMMING (EXTERNALLY TIMED) V IHH MCLR 1 ICSPCLK 0 ICSPDAT 2009 Microchip Technology Inc SET T ...
Page 12
... A timing diagram for this command is shown in Figure 4-10. FIGURE 4-10: BULK ERASE PROGRAM MEMORY COMMAND 1 ICSPCLK 1 ICSPDAT T 1 SET DS41396A-page SET T 1 HLD for erase SET T 1 HLD T 1 HLD Next Command DIS T ERA Next Command 2009 Microchip Technology Inc. ...
Page 13
... To perform a Row Erase Program Memory, the following sequence must be performed. 1. Execute a Row Erase Program Memory command. 2. Wait T to complete a row erase. ERA FIGURE 4-11: ROW ERASE PROGRAM MEMORY COMMAND 1 ICSPCLK 1 ICSPDAT 2009 Microchip Technology Inc ERA Next Command ...
Page 14
... If the device is code-protected or must be completely erased, then bulk erase the device per Figure 4-15. DS41396A-page 14 Report No Programming Failure Program Cycle Load Data for Program Memory Begin Programming Command (Externally timed) Wait T PROG End Programming Wait T DIS 2009 Microchip Technology Inc. ...
Page 15
... Program User ID/Config. bits Done Note 1: This step is optional if the device is erased or not previously programmed the device is code-protected or must be completely erased, then bulk erase the device per Figure 4-15. 2009 Microchip Technology Inc. Yes Program Cycle Load Data for Program Memory ...
Page 16
... Programming Failure Programming Wait T Increment Address Command Increment Address Command Increment Address Command One-word Program Cycle (Config. bits) Read Data From Program Memory Command Report No Data Correct? Programming Failure Yes Done for Begin PROG End DIS 2009 Microchip Technology Inc. ...
Page 17
... PIC12F609/12F615/12F617/16F610/16F616 AND PIC12HV609/12HV615/16HV610/16HV616 FIGURE 4-15: PROGRAM FLOWCHART – ERASE FLASH DEVICE Note 1: See Section 4.1.4.7 “Bulk Erase Program Memory” for more information on the bulk erase procedure. 2009 Microchip Technology Inc. Start Load Configuration (1) Bulk Erase Program Memory Done DS41396A-page 17 ...
Page 18
... Enabling Brown-out Reset does not automatically enable Power-up Timer. DS41396A-page 18 devices U-1 U-1 R/P-1 — — BOREN1 R/P-1 R/P-1 R/P-1 PWRTE WDTE FOSC2 P = Programmable bit U = Unimplemented bit, read as ‘0’ ‘0’ = Bit is cleared (1) R/P-1 R/P-1 BOREN0 IOSCFS R/P-1 R/P-1 FOSC1 FOSC0 2009 Microchip Technology Inc. ...
Page 19
... INTOSC oscillator: CLKOUT function on RA4/AN3/T1G/OSC2/CLKOUT, I/O function on RA5/T1CKI/OSC1/CLKIN 110 = EXTRCIO oscillator: I/O function on RA4/AN3/T1G/OSC2/CLKOUT RA5/T1CKI/OSC1/CLKIN 111 = EXTRC oscillator: CLKOUT function on RA4/AN3/T1G/OSC2/CLKOUT RA5/T1CKI/OSC1/CLKIN Note 1: Enabling Brown-out Reset does not automatically enable Power-up Timer (PWRT). 2009 Microchip Technology Inc. U-1 U-1 R/P-1 WRT1 WRT0 BOREN1 R/P-1 ...
Page 20
... Device ID Word The device ID word for the PIC12F609/12F615/ 12F617/16F610/16F616 and PIC12HV609/12HV615/ 16HV610/16HV616 is loaded at 2006h. This location can not be erased. TABLE 5-1: DEVICE ID VALUES Device ID Values Device Dev PIC12F615 10 0001 100 PIC12HV615 10 0001 101 PIC12F617 01 0011 011 PIC16F616 01 0010 010 PIC16HV616 01 0010 011 ...
Page 21
... Similarly, while saving a hex file, Configuration Word and user ID information must be included. An option to not include this information may be provided. Microchip Technology Incorporated feels strongly that this feature is important for the benefit of the end customer. 2009 Microchip Technology Inc. ...
Page 22
... PIC12F609/12F615/12F617/16F610/16F616 AND PIC12HV609/12HV615/16HV610/16HV616 TABLE 6-1: CHECKSUM COMPUTATIONS Code Device Protect PIC12F615/HV615 PIC12F617 PIC12F609/HV609 PIC16F610/HV610 PIC16F616/HV616 Legend: CFGW = Configuration Word. Example calculations assume Configuration Word is erased (all ‘1’s). SUM[a:b] = [Sum of locations inclusive] SUM_ID = User ID locations masked by 0xF then made into a 16-bit value with ID0 as the Most Significant nibble. For example, ID0 = 0x1, ID1 = 0x2, ID3 = 0x3, ID4 = 0x4, then SUM_ID = 0x1234. The 4 LSb’ ...
Page 23
... A 5.5V DD Units Conditions/Comments V PIC16F616/F610, PIC12F615/F617/F609 V PIC16HV616/HV610, PIC12HV615/HV609 V PIC16HV616/HV610, PIC12HV615/HV609 V PIC16F616/F610, PIC12F615/F617/F609 V PIC16HV616/HV610, PIC12HV615/HV609 V PIC16HV616/HV610, PIC12HV615/HV609 V A s s 10°C T +40° s DS41396A-page 23 ...
Page 24
... PIC12F609/12F615/12F617/16F610/16F616 AND PIC12HV609/12HV615/16HV610/16HV616 APPENDIX A: REVISION HISTORY Revision A (10/2009) Original release of this document. DS41396A-page 24 2009 Microchip Technology Inc. ...
Page 25
... REAL ICE, rfLAB, Select Mode, Total Endurance, TSHARC, UniWinDriver, 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 26
... Fax: 886-3-6578-370 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 2009 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 ...