PIC10F222T-E/OT Microchip Technology, PIC10F222T-E/OT Datasheet
PIC10F222T-E/OT
Specifications of PIC10F222T-E/OT
Available stocks
Related parts for PIC10F222T-E/OT
PIC10F222T-E/OT Summary of contents
Page 1
... Program/Verify mode Legend Input Output Power © 2007 Microchip Technology Inc. PIC10F220/222 1.1 Hardware Requirements The PIC10F220/222 requires one power supply for V (5.0V) and one for V DD 1.2 Program/Verify Mode The Program/Verify mode for the PIC10F220/222 allows programming of user program memory for user ID locations, backup OSCCAL location and the Configuration Word ...
Page 2
... Bulk Erase, but is erased if the PC is moved into configuration memory prior to invoking a Bulk Erase. If this value is erased the user’s responsibility to rewrite it back to this location for future use. © 2007 Microchip Technology Inc. 000h 00Fh 010h 0FEh 0FFh ...
Page 3
... HLD of the clock (see Table 6-1). © 2007 Microchip Technology Inc. Commands that do not have data associated with them are required to wait a minimum of T from the falling edge of the last command clock to the rising edge of the next command clock (see Table 6-1) ...
Page 4
... DS41266C-page 4 Mapping (MSb … LSb DLY strt_bit LSb DLY 1 HLD T 2 DLY strt_bit LSb T 1 DLY T 1 HLD Input Data 0, data (14 data (14 Externally Timed Internally Timed MSb stp_bit SET -+T 1 HLD DLY stp_bit MSb Input Output © 2007 Microchip Technology Inc. ...
Page 5
... Programming command. Programming will begin after this command is received and decoded. Programming requires (T ) time and is terminated using an End PROG Programming command. This command programs the current location, no erase is performed. FIGURE 3-6: BEGIN PROGRAMMING (EXTERNALLY TIMED) 1 ICSPCLK 0 ICSPDAT © 2007 Microchip Technology Inc. PIC10F220/222 T DLY ...
Page 6
... OSCCAL bits into computer/programmer temporary memory. 2. Enter Program/Verify mode. 3. Increment PC to 0x200/0x400 (first user ID location). 4. Perform a Bulk Erase command. 5. Wait T to complete Bulk Erase. ERA 6. Restore OSCCAL bits. 7. Restore backup OSCCAL bits. DIS Next Command 1 2 © 2007 Microchip Technology Inc. ...
Page 7
... TABLE 3-2: BULK ERASE RESULTS Program Memory Space PC = Program Memory Configuration Word or Program Memory Space First User ID Location FIGURE 3-8: BULK ERASE PROGRAM MEMORY COMMAND 1 2 ICSPCLK 1 ICSPDAT T 1 SET T HLD © 2007 Microchip Technology Inc. Configuration Reset Vector Word PIC10F220/222 ...
Page 8
... READING AND TEMPORARY SAVING OF THE OSCCAL CALIBRATION BITS Increment Address Increment Address DS41266C-page 8 Start Enter Programming Mode 0x0FF/0x1FF? Yes Read Calibration Bits and Save in Computer/Programmer Temp. Memory 0x104/0x204? 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-10: RESTORING/PROGRAMMING THE OSCCAL CALIBRATION BITS Increment Address Increment Address © 2007 Microchip Technology Inc. PIC10F220/222 Start Enter Programming Mode 0x0FF/0x1FF? Yes Read Calibration Bits from Computer/Programmer Temp. Memory Write Calibration Bits back as the operand of a MOVLW instruction to 0x0FF/0x1FF 0x104/0x204? ...
Page 10
... Exit Programming Mode Restore OSCCAL bits ( Figure 3-10 Program Configuration Memory Figure 3-12 ( Done DS41266C-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
... Correct? Yes Increment Address Command No Address = 0x100/0x200 Yes Load Data Command One-Word Programming Cycle (see Figure 3-11) © 2007 Microchip Technology Inc. PIC10F220/222 Programs Configuration Word Report No Programming Failure Programs User ID’s Read Data Command Report No Data Programming Correct? Failure Yes ...
Page 12
... Figure 3-10 Exit Programming Mode Done Read and save OSCCAL bits Figure 3 Enter Program/Verify mode PC = 0x1FF/ 0x 3FF (Config Word 0x100/0x200? (First User ID) Yes Bulk Erase Device Restore OSCCAL Bits Wait T ERA Exit Programming Mode ERA ) Figure 3- Done © 2007 Microchip Technology Inc. ...
Page 13
... MCPU enabled bit 0 IOFSCS: Internal Oscillator Frequency Select bit MHz MHz Legend Readable bit W = Writable bit -n = Value at POR ‘1’ = Bit is set © 2007 Microchip Technology Inc. — — — MCLRE Unimplemented bit, read as ‘0’ ‘0’ = Bit is cleared PIC10F220/222 ...
Page 14
... The following table describes how to calculate the checksum for each device. Note: The checksum calculation differs depend- ing on the code-protect setting. The Configuration Word and user ID locations Memory can always be read regardless of the code-protect settings. © 2007 Microchip Technology Inc. ...
Page 15
... For example, ID0 = 0x1, ID1 = 0x2, ID2 = 0x3, ID3 = 0x4, then SUM_ID = 0x1234. *Checksum = [Sum of all the individual expressions] MODULO [0xFFFF Addition & = Bitwise AND Note 1: Checksum shown assumes that SUM_ID contains the unprotected checksum. © 2007 Microchip Technology Inc. PIC10F220/222 Blank Checksum* Value 0xEF20 ...
Page 16
... DD 10°C ≤ T ≤ 40°C A 4.5V ≤ V ≤ 5.5V DD Conditions/ Max. Units Comments 5.5 V 5.5 V 0.5 mA 0.5 mA 13.5 V 0.45 mA μs 1.0 μs — — — ns μs — — ns — ns μs — μs — ( ( μs — — ms © 2007 Microchip Technology Inc. ...
Page 17
... 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 18
... 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 ...