384B Flash, 16B RAM, 4 I/O, 8bit ADC 6 SOT-23 BAG

PIC10F220-E/OT

Manufacturer Part NumberPIC10F220-E/OT
Description384B Flash, 16B RAM, 4 I/O, 8bit ADC 6 SOT-23 BAG
ManufacturerMicrochip Technology
SeriesPIC® 10F
PIC10F220-E/OT datasheet
 


Specifications of PIC10F220-E/OT

Processor SeriesPIC10FCoreRISC
Data Bus Width8 bitProgram Memory TypeFlash
Program Memory Size256 BData Ram Size16 B
Interface TypeRS-232, USBMaximum Clock Frequency8 MHZ
Number Of Programmable I/os4Number Of Timers1
Maximum Operating Temperature+ 125 CMounting StyleSMD/SMT
Package / CaseSOT-23-6Operating Temperature Range- 40 C to + 125 C
Processor To Be EvaluatedPIC10F220Supply Current (max)100 nA
Core ProcessorPICCore Size8-Bit
Speed8MHzConnectivity-
PeripheralsPOR, WDTNumber Of I /o4
Eeprom Size-Ram Size16 x 8
Voltage - Supply (vcc/vdd)2 V ~ 5.5 VData ConvertersA/D 2x8b
Oscillator TypeInternalOperating Temperature-40°C ~ 125°C
Lead Free Status / Rohs Status Details  
1
Page 1
2
Page 2
3
Page 3
4
Page 4
5
Page 5
6
Page 6
7
Page 7
8
Page 8
9
Page 9
10
Page 10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
Page 1/86

Download datasheet (820Kb)Embed
Next
PIC10F220/222
Data Sheet
High-Performance Microcontrollers
with 8-bit A/D
© 2007 Microchip Technology Inc.
DS41270E

PIC10F220-E/OT Summary of contents

  • Page 1

    ... High-Performance Microcontrollers © 2007 Microchip Technology Inc. PIC10F220/222 Data Sheet with 8-bit A/D DS41270E ...

  • Page 2

    ... 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 3

    ... Flash Microcontrollers Device Included In This Data Sheet: • PIC10F220 • PIC10F222 High-Performance RISC CPU: • Only 33 Single-Word Instructions to Learn • All Single-Cycle Instructions Except for Program Branches which are Two-Cycle • 12-bit Wide Instructions • 2-Level Deep Hardware Stack • ...

  • Page 4

    ... PIC10F220/222 6-Lead SOT-23 Pin Diagram GP0/AN0/ICSPDAT GP1/AN1/ICSPCLK 8-Lead DIP Pin Diagram GP2/T0CKI/FOSC4 GP1/AN1/ICSPCLK 8-Lead DFN Pin Diagram GP2/T0CKI/FOSC4 GP1/AN1/ICSPCLK DS41270E-page GP3/MCLR GP2/T0CKI/FOSC4 1 GP3/MCLR GP0/AN0/ICSPDAT N GP3/MCLR N GP0/AN0/ICSPDAT © 2007 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 _literature 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. © 2007 Microchip Technology Inc. PIC10F220/222 DS41270E-page 3 ...

  • Page 6

    ... PIC10F220/222 NOTES: DS41270E-page 4 © 2007 Microchip Technology Inc. ...

  • Page 7

    ... Note 1: The PIC10F220/222 devices have Power-on Reset, selectable Watchdog Timer, selectable code-protect, high I/O current capability and precision internal oscillator. 2: The PIC10F220/222 devices use serial programming with data pin GP0 and clock pin GP1. © 2007 Microchip Technology Inc. PIC10F220/222 1.1 ...

  • Page 8

    ... PIC10F220/222 NOTES: DS41270E-page 6 © 2007 Microchip Technology Inc. ...

  • Page 9

    ... A variety of packaging options are available. Depend- ing on application and production requirements, the proper device option can be selected using the information in this section. When placing orders, please use the PIC10F220/222 Product Identification System at the back of this data sheet to specify the correct part number. 2.1 ...

  • Page 10

    ... PIC10F220/222 NOTES: DS41270E-page 8 © 2007 Microchip Technology Inc. ...

  • Page 11

    ... In addition, the learning curve is reduced significantly. © 2007 Microchip Technology Inc. PIC10F220/222 The PIC10F220/222 devices contain an 8-bit ALU and working register. The ALU is a general purpose arith- metic unit. It performs arithmetic and Boolean functions between data in the working register and any register file ...

  • Page 12

    ... PIC10F220/222 FIGURE 3-1: BLOCK DIAGRAM 9-10 Program Counter Flash 512 256 x 12 Program STACK1 Memory STACK2 Program 12 Bus Instruction Reg Direct Addr 8 Device Reset Timer Instruction Power-on Decode & Reset Control Watchdog Timer Timing Internal RC Generation Clock MCLR TABLE 3-1: PINOUT DESCRIPTION ...

  • Page 13

    ... All instructions are single cycle, except for any program branches. These take two cycles, since the fetch instruction is “flushed” from the pipeline, while the new instruction is being fetched and then executed. © 2007 Microchip Technology Inc. PIC10F220/222 3.2 Instruction Flow/Pipelining An instruction cycle consists of four Q cycles (Q1, Q2, Q3 and Q4) ...

  • Page 14

    ... PIC10F220/222 NOTES: DS41270E-page 12 © 2007 Microchip Technology Inc. ...

  • Page 15

    ... Figure 4-1). Accessing a location above these boundaries will cause a wrap-around within the first 256 x 12 space (PIC10F220). The effective Reset vector is at 0000h, (see Figure 4-1). Location 00FFh (PIC10F220) contains the internal clock oscillator calibration value. This value should never be overwritten ...

  • Page 16

    ... The General Purpose Registers are used for data and control information under command of the instructions. For the PIC10F220, the register file is composed of 9 Special Function Registers and 16 General Purpose Registers (Figure 4-3, Figure 4-4). For the PIC10F222, the register file is composed of 9 Special Function Registers and 23 General Purpose Registers (Figure 4-4) ...

  • Page 17

    ... CAL2 CAL1 CAL0 — — GP3 GP2 GP1 — — CHS1 CHS0 GO/DONE — — I/O Control Register T0CS T0SE PSA PS2 PS1 PIC10F220/222 Value on Bit 0 Power-On Page # (2) Reset 20 xxxx xxxx 25 xxxx xxxx 19 1111 1111 ( 0--1 1xxx 20 111x xxxx FOSC4 18 1111 1110 ...

  • Page 18

    ... PIC10F220/222 REGISTER 4-1: STATUS REGISTER (ADDRESS: 03h) R/W-0 R/W-0 R/W-0 GPWUF — — bit 7 Legend Readable bit W = Writable bit -n = Value at POR ‘1’ = Bit is set bit 7 GPWUF: GPIO Reset bit 1 = Reset due to wake-up from Sleep on pin change 0 = After power-up or other Reset bit 6 Reserved: Do not use ...

  • Page 19

    ... If the T0CS bit is set to ‘1’, it will override the TRIS function on the T0CKI pin. W-1 W-1 T0SE PSA U = Unimplemented bit, read as ‘0’ ‘0’ = Bit is cleared /4 OSC 128 256 1 : 128 PIC10F220/222 W-1 W-1 W-1 PS2 PS1 PS0 bit Bit is unknown DS41270E-page 17 ...

  • Page 20

    ... PIC10F220/222 4.6 OSCCAL Register The Oscillator Calibration (OSCCAL) register is used to calibrate the internal precision 4/8 MHz oscillator contains seven bits for calibration Note: Erasing the device will also erase the pre- programmed internal calibration value for the internal oscillator. The calibration ...

  • Page 21

    ... MOVLW XX, the PC will roll over to location 0000h and begin executing user code. 4.8 Stack The PIC10F220 device has a 2-deep, 8-bit wide hardware PUSH/POP stack. The PIC10F222 device has a 2-deep, 9-bit wide hardware PUSH/POP stack. A CALL instruction will PUSH the current value of stack 1 into stack 2 and then PUSH the current PC value, incremented by one, into stack level 1 ...

  • Page 22

    ... PIC10F220/222 4.9 Indirect Data Addressing; INDF and FSR Registers The INDF register is not a physical register. Addressing INDF actually addresses the register whose address is contained in the FSR register (FSR is a pointer). This is indirect addressing. 4.9.1 INDIRECT ADDRESSING • Register file 09 contains the value 10h • ...

  • Page 23

    ... MCLRE — Legend: — = Condition of bit will have no effect on the setting of the pin to Digital mode. © 2007 Microchip Technology Inc. PIC10F220/222 The TRIS registers are “write-only” and are set (output drivers disabled) upon Reset. 5.3 I/O Interfacing The equivalent circuit for an I/O port pin is shown in Figure 5-1 ...

  • Page 24

    ... PIC10F220/222 FIGURE 5-2: BLOCK DIAGRAM OF GP0 AND GP1 GPPU Data Bus D Q Data WR Latch Port Reg D Q TRIS Latch TRIS ‘f’ Reset Analog Enable RD Port Mis-Match ADC Note 1: I/O pins have protection diodes DS41270E-page 22 FIGURE 5-3: Data Bus D Data WR Latch ...

  • Page 25

    ... SUCCESSIVE I/O OPERATION Instruction Fetched MOVWF GPIO MOVF GPIO, W GP<2:0> Port pin written here Instruction Executed MOVWF GPIO (Write to GPIO) © 2007 Microchip Technology Inc. PIC10F220/222 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 — — I/O Control Registers T0CS T0SE PSA PS2 PS1 PS0 — ...

  • Page 26

    ... PIC10F220/222 NOTES: DS41270E-page 24 © 2007 Microchip Technology Inc. ...

  • Page 27

    ... Prescaler ( (1) (1) PS2, PS1, PS0 PSA ( NT0 Write TMR0 Read TMR0 Read TMR0 reads NT0 reads NT0 executed PIC10F220/222 Data Bus 8 Sync with TMR0 Reg Internal Clocks PS OUT Sync delay NT0 + 1 NT0 + 2 Read TMR0 Read TMR0 Read TMR0 reads NT0 ...

  • Page 28

    ... PIC10F220/222 FIGURE 6-3: TIMER0 TIMING: INTERNAL CLOCK/PRESCALE 1 (Program Counter) PC-1 PC Instruction MOVWF TMR0 MOVF TMR0,W MOVF TMR0,W MOVF TMR0,W MOVF TMR0,W MOVF TMR0,W Fetch Timer0 Instruction Executed TABLE 6-1: REGISTERS ASSOCIATED WITH TIMER0 Address Name Bit 7 01h TMR0 Timer0 – 8-Bit Real-Time Clock/Counter ...

  • Page 29

    ... MOVWF 1, BSF 1,x, etc.) will clear the prescaler. When assigned to WDT, a CLRWDT instruction will clear the prescaler along with the WDT. The prescaler is neither readable nor writable Reset, the prescaler contains all ‘0’s. © 2007 Microchip Technology Inc. PIC10F220/222 ( OSC ...

  • Page 30

    ... Timer PSA WDT Enable bit Note 1: T0CS, T0SE, PSA, PS<2:0> are bits in the OPTION register. 2: T0CKI is shared with pin GP2 on the PIC10F220/222. DS41270E-page 28 To change prescaler from the WDT to the Timer0 module, use the sequence shown in Example 6-2. This sequence must be used even if the WDT is disabled. A CLRWDT instruction should be executed before switching the prescaler ...

  • Page 31

    ... Sleep to have partial conversion data in ADRES. The CHS bits are reset to their default condition and CHS<1:0> = 11. For accurate conversions, T • 500 ns < • 1/(F AD OSC ANS0 CHS1 CHS0 PIC10F220/222 must meet the following: AD < 50 μs /divisor) GO/DONE ADON DS41270E-page 29 ...

  • Page 32

    ... PIC10F220/222 7.7 Analog Conversion Result Register The ADRES register contains the results of the last conversion. These results are present during the sam- pling period of the next analog conversion process. After the sampling period is over, ADRES is cleared (= 0). A ‘leading one’ is then right shifted into the ADRES to serve as an internal conversion complete bit ...

  • Page 33

    ... ADRES6 ADRES5 bit 7 Legend Readable bit W = Writable bit -n = Value at POR ‘1’ = Bit is set bit 7-0 ADRES<7:0> © 2007 Microchip Technology Inc. PIC10F220/222 R-X R-X R-X ADRES4 ADRES3 ADRES2 U = Unimplemented bit, read as ‘0’ ‘0’ = Bit is cleared R-X R-X ADRES1 ...

  • Page 34

    ... PIC10F220/222 7.9 A/D Acquisition Requirements For the ADC to meet its specified accuracy, the charge holding capacitor (C ) must be allowed to fully HOLD charge to the input channel voltage level. The Analog Input model is shown in Figure 7-1. The source impedance (R ) and the internal sampling switch (R ...

  • Page 35

    ... IOSCFS: Internal Oscillator Frequency Select bit MHz MHz Note 1: Refer to the “PIC10F220/222 Memory Programming Specification” (DS41266), to determine how to access the Configuration Word. The Configuration Word is not user addressable during device operation. MCLRE must be a ‘1’ to enable this selection. 2: © 2007 Microchip Technology Inc. ...

  • Page 36

    ... PIC10F220/222 8.2 Oscillator Configurations 8.2.1 OSCILLATOR TYPES The PIC10F220/222 devices are offered with internal oscillator mode only. • INTOSC: Internal 4/8 MHz Oscillator 8.2.2 INTERNAL 4/8 MHz OSCILLATOR The internal oscillator provides a 4/8 MHz (nominal) system clock (see Section 10.0 “Electrical Charac- teristics” ...

  • Page 37

    ... Reset until the operating conditions are met. For additional information on design considerations related to the use of PIC10F220/222 devices with their short device Reset timer, refer to Application Notes AN522, “Power-Up Considerations” (DS00522) and AN607, “Power-up Trouble Shooting” (DS00607). ...

  • Page 38

    ... PIC10F220/222 FIGURE 8-2: SIMPLIFIED BLOCK DIAGRAM OF ON-CHIP RESET CIRCUIT V DD Power-up Detect GP3/MCLR/V PP MCLRE WDT Reset WDT Time-out Pin Change Sleep Wake-up on pin Change Reset FIGURE 8-3: TIME-OUT SEQUENCE ON POWER-UP (MCLR PULLED LOW MCLR Internal POR DRT Time-out Internal Reset FIGURE 8-4: ...

  • Page 39

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

  • Page 40

    ... PIC10F220/222 8.5 Device Reset Timer (DRT) On the PIC10F220/222 devices, the DRT runs any time the device is powered up. The DRT operates on an internal oscillator. The pro- cessor is kept in Reset as long as the DRT is active. The DRT delay allows V to rise above V DD for the oscillator to stabilize. ...

  • Page 41

    ... Legend unchanged unknown, – = unimplemented bit, read as ‘0’ value depends on condition. Note 1: The TO, PD and GPWUF bits maintain their status (u) until a Reset occurs. A low-pulse on the MCLR input does not change the TO GPWUF Status bits. © 2007 Microchip Technology Inc. PIC10F220/222 0 M Postscaler Postscaler ...

  • Page 42

    ... A Brown-out is a condition where device power (V dips below its minimum value, but not to zero, and then recovers. The device should be reset in the event of a Brown-out. To reset PIC10F220/222 devices when a Brown-out occurs, external Brown-out protection circuits may be built, as shown in Figure 8-7 and Figure 8-8. FIGURE 8-7: ...

  • Page 43

    ... Microchip Technology Inc. PIC10F220/222 8.12 In-Circuit Serial Programming™ The PIC10F220/222 microcontrollers can be serially programmed while in the end application circuit. This is simply done with two lines for clock and data, and three pin, PP other lines for power, ground and the programming voltage ...

  • Page 44

    ... PIC10F220/222 NOTES: DS41270E-page 42 © 2007 Microchip Technology Inc. ...

  • Page 45

    ... In the set of italics User defined term (font is courier) © 2007 Microchip Technology Inc. PIC10F220/222 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 46

    ... PIC10F220/222 TABLE 9-2: INSTRUCTION SET SUMMARY Mnemonic, Description Operands f, d Add W and f ADDWF f, d AND W with f ANDWF f Clear f CLRF – Clear W CLRW f, d Complement f COMF f, d Decrement f DECF f, d Decrement f, Skip if 0 DECFSZ f, d Increment f INCF f, d Increment f, Skip if 0 INCFSZ ...

  • Page 47

    ... 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’. © 2007 Microchip Technology Inc. PIC10F220/222 BCF Bit Clear f Syntax: [ label ] BCF f,b 0 ≤ ...

  • Page 48

    ... PIC10F220/222 BTFSS Bit Test f, Skip if Set Syntax: [ label ] BTFSS f,b 0 ≤ f ≤ 31 Operands: 0 ≤ b < 7 Operation: skip if (f<b> Status Affected: None Description: If bit ‘b’ in register ‘f’ is ‘1’, then the next instruction is skipped. If bit ‘b’ is ‘1’, then the next instruc- ...

  • Page 49

    ... 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. © 2007 Microchip Technology Inc. PIC10F220/222 INCF Increment f Syntax: [ label ] INCF f,d 0 ≤ f ≤ 31 Operands: d ∈ ...

  • Page 50

    ... PIC10F220/222 IORWF Inclusive OR W with f Syntax: [ label ] IORWF f,d 0 ≤ f ≤ 31 Operands: d ∈ [0,1] (W).OR. (f) → (dest) Operation: Status Affected: Z Description: Inclusive OR the W register with register ‘f’. If ‘d’ is ‘0’, the result is placed in the W register. If ‘d’ is ‘1’, the result is placed back in register ‘ ...

  • Page 51

    ... 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’. register ‘f’ C © 2007 Microchip Technology Inc. PIC10F220/222 SLEEP Syntax: Operands: Operation: Status Affected: TO, PD, RBWUF Description: ...

  • Page 52

    ... PIC10F220/222 TRIS Load TRIS Register Syntax: [ label ] TRIS f Operands (W) → TRIS register f Operation: Status Affected: None Description: TRIS register ‘f’ loaded with the contents of the W register XORLW Exclusive OR literal with W Syntax: [label] XORLW k 0 ≤ k ≤ 255 Operands: (W) .XOR. k → (W) ...

  • Page 53

    ... 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. © 2007 Microchip Technology Inc. .................................................................................. -0. )...................................................................................................................... ± .............................................................................................................. ±20 mA > – ∑ DIS DD DD PIC10F220/222 + 0.3V ∑ {( ∑(V – DS41270E-page 51 x ...

  • Page 54

    ... PIC10F220/222 VOLTAGE-FREQUENCY GRAPH, -40°C ≤ T FIGURE 10-1: 6.0 5.5 5.0 4 (Volts) 4.0 3.5 3.0 2.5 2.0 0 DS41270E-page 52 ≤ +125° Frequency (MHz © 2007 Microchip Technology Inc. ...

  • Page 55

    ... DC Characteristics: PIC10F220/222 (Industrial) DC CHARACTERISTICS Param Sym Characteristic No. D001 V Supply Voltage DD D002 V RAM Data Retention Voltage DR D003 V V Start Voltage POR DD to ensure Power-on Reset D004 S V Rise Rate VDD DD to ensure Power-on Reset (3) I Supply Current DD D010 (4) I Power-down Current ...

  • Page 56

    ... PIC10F220/222 10.2 DC Characteristics: PIC10F220/222 (Extended) DC CHARACTERISTICS Param Sym Characteristic No. D001 V Supply Voltage DD D002 V RAM Data Retention Voltage DR D003 V V Start Voltage POR DD to ensure Power-on Reset (3) I Supply Current DD D010 (4) I Power-down Current PD D020 (4) I WDT Current WDT D022 * These parameters are characterized but not tested. ...

  • Page 57

    ... DC Characteristics: PIC10F220/222 (Industrial, Extended) DC CHARACTERISTICS Param Sym Characteristic No. V Input Low Voltage IL I/O ports: D030 with TTL buffer D030A D031 with Schmitt Trigger buffer D032 MCLR, T0CKI V Input High Voltage IH I/O ports: D040 with TTL buffer D040A D041 with Schmitt Trigger ...

  • Page 58

    ... PIC10F220/222 TABLE 10-1: PULL-UP RESISTOR RANGES V (Volts) Temperature (°C) DD GP0/GP1 2.0 - 125 5.5 - 125 GP3 2.0 - 125 5.5 - 125 DS41270E-page 56 Min Typ 73K 105K 73K 113K 82K 123K 86K 132k 15K 21K 15K 22K 19K 26k 23K 29K 63K 81K 77K ...

  • Page 59

    ... S F Fall H High I Invalid (high-impedance) L Low FIGURE 10-2: LOAD CONDITIONS pin TABLE 10-2: CALIBRATED INTERNAL RC FREQUENCIES – PIC10F220/222 AC CHARACTERISTICS Param Sym Characteristic No. F10 F Internal Calibrated OSC INTOSC ( Frequency † Data in the Typical (“Typ”) column is at 5V, 25°C unless otherwise stated. These parameters are for design guidance only and are not tested ...

  • Page 60

    ... Watchdog Timer Reset (1) I/O pin Note 1: I/O pins must be taken out of High-impedance mode by enabling the output drivers in software. 2: Runs on POR Reset only. TABLE 10-3: RESET, WATCHDOG TIMER AND DEVICE RESET TIMER – PIC10F220/222 AC CHARACTERISTICS Param Sym Characteristic No MCLR Pulse Width (low ...

  • Page 61

    ... A -40°C ≤ T ≤ +125°C (extended) A Min Typ No Prescaler 0 20* CY With Prescaler 10* No Prescaler 0 20* CY With Prescaler 10 40 PIC10F220/222 (1) Max Units Conditions — — ns — — ns — — ns — — ns — — ns Whichever is greater Prescale Value (1, 2, 4,..., 256) ...

  • Page 62

    ... PIC10F220/222 TABLE 10-5: A/D CONVERTER CHARACTERISTICS Standard Operating Conditions (unless otherwise stated) -40°C ≤ T Operating temperature A Param Sym Characteristic No. A01 N Resolution R A03 E Integral Error IL A04 E Differential Error DL A05 E Full-scale Range FS A06 E Offset Error OFF A07 E Gain Error GN A10 — Monotonicity A25 ...

  • Page 63

    ... V OVER 1,400 Typical: Statistical Mean @25°C 1,200 Maximum: Mean (Worst Case Temp) + 3σ (-40°C to 125°C) 1,000 800 600 400 200 0 2.0 2.5 © 2007 Microchip Technology Inc. PIC10F220/222 ( OSC Z XT Mode 4 MHz 4 MHz 3.0 3.5 4.0 4 Maximum Typical 5 ...

  • Page 64

    ... PIC10F220/222 FIGURE 11-2: I vs. V OVER 1,800 Typical: Statistical Mean @25°C 1,600 Maximum: Mean (Worst Case Temp) + 3σ (-40°C to 125°C) 1,400 1,200 1,000 800 600 400 200 0.0 2.0 2.5 FIGURE 11-3: TYPICAL I PD 1.10 Typical: Statistical Mean @25 1.00 0.90 0.80 ...

  • Page 65

    ... Microchip Technology Inc. vs. V (SLEEP MODE, ALL PERIPHERALS DISABLED) DD Maximum (Sleep Mode all Peripherals Disabled) Max. 125°C Max. 85°C 3.0 3.5 4.0 V ( 3.0 3.5 4.0 V (V) DD PIC10F220/222 4.5 5.0 5.5 4.5 5.0 5.5 DS41270E-page 63 ...

  • Page 66

    ... PIC10F220/222 FIGURE 11-6: MAXIMUM WDT I 25.0 Maximum: Mean (Worst Case Temp) + 3σ (-40°C to 125°C) 20.0 15.0 10.0 5.0 0.0 2.0 2.5 FIGURE 11-7: WDT TIME-OUT vs Max. 125° Max. 85° Typical. 25° Min. -40° 2.0 2.5 DS41270E-page 64 vs. V OVER TEMPERATURE ...

  • Page 67

    ... Microchip Technology Inc. PIC10F220/222 = 3.0V) DD (VDD = 3V, -40×C TO 125×C) Max. 125°C Max. 85°C Typical 25°C Min. -40°C 6.5 7.0 7.5 8.0 8.5 ...

  • Page 68

    ... PIC10F220/222 FIGURE 11-10: V vs. I OVER TEMPERATURE ( 3.5 3.0 2.5 2.0 1.5 Typical: Statistical Mean @25°C Maximum: Mean (Worst Case Temp) + 3σ 1.0 (-40°C to 125°C) 0.5 0.0 0.0 -0.5 -1.0 FIGURE 11-11: V vs. I OVER TEMPERATURE ( 5.5 5.0 4.5 4.0 Typical: Statistical Mean @25°C 3.5 Maximum: Mean (Worst Case Temp) + 3σ ...

  • Page 69

    ... Typical: Statistical Mean @25°C 3.5 Maximum: Mean (Worst Case Temp) + 3σ (-40°C to 125°C) 3.0 2.5 2.0 1.5 1.0 0.5 2.0 2.5 © 2007 Microchip Technology Inc. PIC10F220/222 vs (TTL Input, -40×C TO 125×C) Max. -40°C Typ. 25°C Min. 125°C 3.0 3.5 4 ...

  • Page 70

    ... PIC10F220/222 NOTES: DS41270E-page 68 © 2007 Microchip Technology Inc. ...

  • Page 71

    ... MPLAB PM3 Device Programmer - PICkit™ 2 Development Programmer • Low-Cost Demonstration and Development Boards and Evaluation Kits © 2007 Microchip Technology Inc. PIC10F220/222 12.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 72

    ... PIC10F220/222 12.2 MPASM Assembler The MPASM Assembler is a full-featured, universal macro assembler for all PIC MCUs. The MPASM Assembler generates relocatable object files for the MPLINK Object Linker, Intel files, MAP files to detail memory usage and symbol reference, absolute LST files that contain source lines and generated machine code and COFF files for debugging ...

  • Page 73

    ... PC via an RS-232 or USB cable. ® Flash DSCs The MPLAB PM3 has high-speed communications and optimized algorithms for quick programming of large memory devices and incorporates an SD/MMC card for file storage and secure data applications. PIC10F220/222 run-time development tool, TM (ICSP TM ...

  • Page 74

    ... PIC10F220/222 12.11 PICSTART Plus Development Programmer The PICSTART Plus Development Programmer is an easy-to-use, low-cost, prototype programmer. It connects to the PC via a COM (RS-232) port. MPLAB Integrated Development Environment software makes using the programmer simple and efficient. The PICSTART Plus Development Programmer supports most PIC devices in DIP packages pins. ...

  • Page 75

    ... In the event the full Microchip part number cannot be marked on one line, it will be carried over to the next line, thus limiting the number of available characters for customer-specific information. © 2007 Microchip Technology Inc. PIC10F220/222 Example 20JR Example PIC10F220 e I/P 07Q 3 0520 Example BJ0 ...

  • Page 76

    ... TABLE 13-1: 8-LEAD 2x3 DFN (MC) TOP MARKING Part Number Marking PIC10F220-I/MC PIC10F220-E/MC PIC10F222-I/MC PIC10F222-E/MC DS41270E-page 74 TABLE 13-2: Part Number BJ0 PIC10F220-I/OT BK0 PIC10F220-E/OT BL0 PIC10F222-I/OT BM0 PIC10F222-E/OT Note: NN traceability code. 6-LEAD SOT-23 (OT) PACKAGE TOP MARKING Marking 20NN A0NN 22NN A2NN represents ...

  • Page 77

    ... Dimension Limits MIN 0.90 A2 0.89 A1 0.00 E 2.20 E1 1.30 D 2.70 L 0.10 L1 0.35 φ 0° c 0.08 b 0.20 PIC10F220/222 φ NOM MAX 6 0.95 BSC 1.90 BSC – 1.45 – 1.30 – 0.15 – 3.20 – 1.80 – 3.10 – 0.60 – 0.80 – 30° ...

  • Page 78

    ... PIC10F220/222 8-Lead Plastic Dual In-Line (P) – 300 mil Body [PDIP] Note: For the most current package drawings, please see the Microchip Packaging Specification located at http://www.microchip.com/packaging N NOTE Number of Pins Pitch Top to Seating Plane Molded Package Thickness Base to Seating Plane Shoulder to Shoulder Width ...

  • Page 79

    ... Package may have one or more exposed tie bars at ends. 3. Package is saw singulated. 4. Dimensioning and tolerancing per ASME Y14.5M. BSC: Basic Dimension. Theoretically exact value shown without tolerances. REF: Reference Dimension, usually without tolerance, for information purposes only. © 2007 Microchip Technology Inc. PIC10F220/222 EXPOSED PAD ...

  • Page 80

    ... PIC10F220/222 APPENDIX A: REVISION HISTORY Revision A Original release of document. Revision B (03/2006) Table 3-1, GP1; Section 4.7, Program Counter; Table 5- 2; Figure 8-5; Section 9.1, ANDWF, SLEEP, SUBWF, SWAPF, XORLW. Revision C (08/2006) Added 8-Lead DFN pinout diagram, updated Table 1-1 with DFN package, updated Table 10-3 in Section 10.0, added 8-Lead DFN package marking information to section 13 ...

  • Page 81

    ... Internet Address.................................................................. 75 L Loading of PC ..................................................................... 19 © 2007 Microchip Technology Inc. M Memory Organization ......................................................... 13 Data Memory .............................................................. 14 Program Memory (PIC10F220) .................................. 13 ................ 32 Program Memory (PIC10F222) .................................. 13 Microchip Internet Web Site................................................ 75 MPLAB ASM30 Assembler, Linker, Librarian ..................... 62 MPLAB ICD 2 In-Circuit Debugger ..................................... 63 MPLAB ICE 2000 High-Performance Universal In-Circuit Emulator...................................................... 63 MPLAB Integrated Development Environment Software ...

  • Page 82

    ... PIC10F220/222 W Wake-up from Sleep ........................................................... 41 Watchdog Timer (WDT) ................................................ 33, 38 Period.......................................................................... 38 Programming Considerations ..................................... 38 WWW Address.................................................................... 75 WWW, On-Line Support........................................................ 3 Z Zero bit .................................................................................. 9 DS41270E-page 80 © 2007 Microchip Technology Inc. ...

  • Page 83

    ... Customers representative or field application engineer (FAE) for support. Local sales offices are also available to help customers. A listing of sales offices and locations is included in the back of this document. Technical support is available through the web site at: http://support.microchip.com PIC10F220/222 should contact their distributor, DS41270E-page 81 ...

  • Page 84

    ... Telephone: (_______) _________ - _________ Application (optional): Would you like a reply? Y Device: PIC10F220/222 Questions: 1. What are the best features of this document? 2. How does this document meet your hardware and software development needs you find the organization of this document easy to follow? If not, why? 4 ...

  • Page 85

    ... SOT-23, 6-LD (Pb-free DFN, 8-LD 2x3 (Pb-free) Pattern: Special Requirements © 2007 Microchip Technology Inc. PIC10F220/222 XXX Examples: Pattern a) PIC10F220-I/P = Industrial temp., PDIP package (Pb-free) b) PIC10F222T-E/OT = Extended temp., SOT-23 package (Pb-free), Tape and Reel c) PIC10F222-E/MC = Extended temp., DFN package (Pb-free) (Industrial) (Extended) . DS41270E-page 83 ...

  • Page 86

    ... 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 ...