PIC12F609-E/MD Microchip Technology, PIC12F609-E/MD Datasheet
![no-image](/images/manufacturer_photos/0/4/439/microchip_technology_sml.jpg)
PIC12F609-E/MD
Specifications of PIC12F609-E/MD
Related parts for PIC12F609-E/MD
PIC12F609-E/MD Summary of contents
Page 1
... 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). 4: All references to the PIC16F610 parts refer to the PIC16HV610 as well (unless otherwise specified) ...
Page 2
... PIC12F609/12F615/12F617/16F610/16F616 AND PIC12HV609/12HV615/16HV610/16HV616 FIGURE 2-1: 8-PIN, 14-PIN, AND 16-PIN PROGRAMMING PINS DIAGRAM FOR PIC12F609/ 12F615/12F617/16F610/16F616 8-Pin PDIP, SOIC, MSOP, DFN 14-Pin PDIP, SOIC, TSSOP RA3/MCLR/V 16-Pin QFN RA3/MCLR/V Note 1: Please see specific data sheets for alternate pin functionality. TABLE 2-1: PIN DESCRIPTIONS IN PROGRAM/VERIFY MODE: PIC12F609/12F615/12F617/ ...
Page 3
... PIC12F609/12F615/12F617/16F610/16F616 AND PIC12HV609/12HV615/16HV610/16HV616 3.0 MEMORY DESCRIPTION 3.1 Program Memory Map The user memory space extends from 0x0000 to 0x1FFF. In Program/Verify mode, the program memory space extends from 0x0000 to 0x3FFF, with the first half (0x0000-0x1FFF) being user program memory and the second half (0x2000-0x3FFF) being configuration memory ...
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
... PIC12F609/12F615/12F617/16F610/16F616 AND PIC12HV609/12HV615/16HV610/16HV616 FIGURE 3-2: PIC12F617/PIC16F616/HV616 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 2009-203F Reserved (1) 2009-206F Note 1: Applies to the PIC12F617 only. ...
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
... PIC12F609/12F615/12F617/16F610/16F616 AND PIC12HV609/12HV615/16HV610/16HV616 4.1.3 ERASE ALGORITHMS The PIC12F609/12F615/12F617/16F610/16F616 and PIC12HV609/12HV615/16HV610/16HV616 devices will erase different memory locations depending on the PC and CP. The following sequences can be used to erase noted memory locations. To erase the program memory and Configuration Word (0x2007), the following sequence must be performed. Note the Calibration Word (0x2008) and User ID (0x2000-0x2003) will not be erased ...
Page 9
... PIC12F609/12F615/12F617/16F610/16F616 AND PIC12HV609/12HV615/16HV610/16HV616 TABLE 4-1: COMMAND MAPPING FOR PIC12F609/12F615/12F617/16F610/16F616 AND PIC12HV609/12HV615/16HV610/16HV616 Command Load Configuration Load Data for Program Memory Read Data from Program Memory Increment Address Begin Programming End Programming Bulk Erase Program Memory Row Erase Program Memory 4.1.4.1 Load Configuration ...
Page 10
... PIC12F609/12F615/12F617/16F610/16F616 AND PIC12HV609/12HV615/16HV610/16HV616 4.1.4.2 Load Data For Program Memory After receiving this command, the chip will load in a 14-bit “data word” when 16 cycles are applied, as described in Section 4.1.4.1 “Load Configuration”. A timing diagram of this command is shown in Figure 4-5. FIGURE 4-5: ...
Page 11
... PIC12F609/12F615/12F617/16F610/16F616 AND PIC12HV609/12HV615/16HV610/16HV616 4.1.4.4 Increment Address The PC is incremented when this command is received. A timing diagram of this command is shown in Figure 4- not possible to decrement the address counter. To reset this counter, the user should exit and re-enter Program/Verify mode. FIGURE 4-7: INCREMENT ADDRESS COMMAND (PROGRAM/VERIFY) ...
Page 12
... PIC12F609/12F615/12F617/16F610/16F616 AND PIC12HV609/12HV615/16HV610/16HV616 4.1.4.6 End Programming After this command is performed, the write procedure will stop. A timing diagram of this command is shown in Figure 4-9. FIGURE 4-9: END PROGRAMMING (SERIAL PROGRAM/VERIFY) V IHH MCLR 1 ICSPCLK 0 ICSPDAT 4.1.4.7 Bulk Erase Program Memory After this command is performed, the entire program memory and Configuration Word (0x2007) is erased ...
Page 13
... PIC12F609/12F615/12F617/16F610/16F616 AND PIC12HV609/12HV615/16HV610/16HV616 4.1.4.8 Row Erase Program Memory This command erases the 16-word row of program memory pointed to by PC<11:4>. If the program mem- ory array is protected ( the PC points to the configuration memory (>0x2000), the command is ignored. To perform a Row Erase Program Memory, the following sequence must be performed. ...
Page 14
... PIC12F609/12F615/12F617/16F610/16F616 AND PIC12HV609/12HV615/16HV610/16HV616 FIGURE 4-12: ONE-WORD PROGRAMMING FLOWCHART (PIC12F61X/16F61X AND PIC12F609) Start Bulk Erase Program (1,2) Memory One-word Program Cycle Read Data from Program Memory Data Correct? Yes Increment No All Locations Address Done? Command Yes Program User ID/Config. bits Done Note 1: This step is optional if the device has already been erased or has not been previously programmed. ...
Page 15
... PIC12F609/12F615/12F617/16F610/16F616 AND PIC12HV609/12HV615/16HV610/16HV616 FIGURE 4-13: FOUR-WORD PROGRAMMING FLOWCHART (PIC12F617/PIC16F616) Start Bulk Erase Program (1,2) Memory Four-word Program Cycle Increment No All Locations Address Done? Command 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. ...
Page 16
... PIC12F609/12F615/12F617/16F610/16F616 AND PIC12HV609/12HV615/16HV610/16HV616 FIGURE 4-14: PROGRAM FLOWCHART – CONFIGURATION MEMORY Start Load Configuration One-word Program Cycle (User ID) Read Data From Program Memory Command No Data Correct? Yes Increment Address Command No Yes Address = 0x2004? DS41396A-page 16 PROGRAM CYCLE Load Data Program Memory Programming Command ...
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
... PIC12F609/12F615/12F617/16F610/16F616 AND PIC12HV609/12HV615/16HV610/16HV616 5.0 CONFIGURATION WORD The PIC12F609/12F615/12F617/16F610/16F616 and PIC12HV609/12HV615/16HV610/16HV616 have several Configuration bits. These bits can be programmed (reads ‘0’) or left unchanged (reads ‘1’), to select various device configurations. REGISTER 5-1: CONFIG: CONFIGURATION WORD (ADDRESS: 2007h) U-1 U-1 — — ...
Page 19
... PIC12F609/12F615/12F617/16F610/16F616 AND PIC12HV609/12HV615/16HV610/16HV616 REGISTER 5-2: CONFIG: CONFIGURATION WORD (ADDRESS: 2007h) FOR PIC12F617 ONLY U-1 U-1 — — bit 13 R/P-1 R/P-1 CP MCLRE bit 6 Legend Bit is unknown R = Readable bit W = Writable bit -n = Value at POR ‘1’ = Bit is set bit 13-12 Unimplemented: Read as ‘1’ ...
Page 20
... PIC12F609/12F615/12F617/16F610/16F616 AND PIC12HV609/12HV615/16HV610/16HV616 5.1 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 ...
Page 21
... PIC16F616). Any carry bits exceeding 16 bits are neglected. Finally, the Configuration Word (appropriately masked) is added to the checksum. The checksum computation for the PIC12F609/12F615/ 12F617/16F610/16F616 and PIC12HV609/12HV615/ 16HV610/16HV616 devices is shown in Table 6-1. The checksum is calculated by summing the following: • ...
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
... PIC12F609/12F615/12F617/16F610/16F616 AND PIC12HV609/12HV615/16HV610/16HV616 7.0 PROGRAM/VERIFY MODE ELECTRICAL CHARACTERISTICS TABLE 7-1: AC/DC CHARACTERISTICS TIMING REQUIREMENTS FOR PROGRAM/VERIFY MODE AC/DC CHARACTERISTICS Sym. Characteristics General V V level for read/write operations program and data memory V level for bulk erase operations, DD program and data memory V High voltage on MCLR for ...
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 ...