PIC10F222-I/MC Microchip Technology, PIC10F222-I/MC Datasheet

no-image

PIC10F222-I/MC

Manufacturer Part Number
PIC10F222-I/MC
Description
IC PIC MCU FLASH 512X12 8DFN
Manufacturer
Microchip Technology
Series
PIC® 10Fr

Specifications of PIC10F222-I/MC

Core Size
8-Bit
Program Memory Size
768B (512 x 12)
Core Processor
PIC
Speed
8MHz
Peripherals
POR, WDT
Number Of I /o
3
Program Memory Type
FLASH
Ram Size
23 x 8
Voltage - Supply (vcc/vdd)
2 V ~ 5.5 V
Data Converters
A/D 2x8b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
8-DFN
Controller Family/series
PIC10
No. Of I/o's
4
Ram Memory Size
23Byte
Cpu Speed
8MHz
No. Of Timers
1
Digital Ic Case Style
DFN
Processor Series
PIC10F
Core
PIC
Data Bus Width
8 bit
Data Ram Size
23 B
Interface Type
USB
Maximum Clock Frequency
8 MHz
Number Of Programmable I/os
4
Number Of Timers
1
Maximum Operating Temperature
+ 85 C
Mounting Style
SMD/SMT
3rd Party Development Tools
52715-96, 52716-328, 52717-734
Development Tools By Supplier
PG164130, DV164035, DV244005, DV164005, PG164120
Minimum Operating Temperature
- 40 C
On-chip Adc
8 bit, 2 Channel
Package
8DFN EP
Device Core
PIC
Family Name
PIC10
Maximum Speed
8 MHz
Operating Supply Voltage
2.5|3.3|5 V
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With
AC164334 - MODULE SOCKET FOR 8L 2X3MM DFNAC163020-2 - ADAPTER PROGRAM PIC10F 2X3 DFNAC162070 - HEADER INTRFC MPLAB ICD2 8/14P
Eeprom Size
-
Connectivity
-
Lead Free Status / Rohs Status
 Details

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC10F222-I/MC
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
This document includes the
programming specifications for the
following devices:
• PIC10F220
• PIC10F222
1.0
The PIC10F220/222 is programmed using a serial
method. The Serial mode will allow the PIC10F220/222
to be programmed while in the user’s system. This
allows for increased design flexibility. This programming
specification applies to PIC10F220/222 devices in all
packages.
Pin Diagrams
TABLE 1-1:
© 2007 Microchip Technology Inc.
GP1
GP0
MCLR/V
V
V
Legend: I = Input, O = Output, P = Power
DD
SS
Pin Name
6-Lead SOT-23
8-Lead DIP
PROGRAMMING THE
PIC10F220/222
PP
PIN DESCRIPTIONS (DURING PROGRAMMING)
Program/Verify mode
Memory Programming Specification
GP0/AN0/ICSPDAT
GP1/AN1/ICSPCLK
GP1/AN1/ICSPCLK
Function
ICSPCLK
ICSPDAT
GP2/T0CKI/F
V
V
DD
SS
OSC
V
V
N/C
DD
SS
4
Pin Type
I/O
1
2
3
1
2
3
4
P
P
P
I
PIC10F220/222
During Programming
6
5
4
8
7
6
5
1.1
The PIC10F220/222 requires one power supply for
V
1.2
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.
DD
Clock input – Schmitt Trigger input
Data input/output – Schmitt Trigger input
Programming Power
Power Supply
Ground
(5.0V) and one for V
GP3/MCLR/V
V
GP2/T0CKI/F
GP3/MCLR/V
V
N/C
GP0/AN0/ICSPDAT
Hardware Requirements
Program/Verify Mode
DD
SS
Pin Description
PP
OSC
PP
PP
4
(12V).
DS41266C-page 1

Related parts for PIC10F222-I/MC

PIC10F222-I/MC Summary of contents

Page 1

... Memory Programming Specification This document includes the programming specifications for the following devices: • PIC10F220 • PIC10F222 1.0 PROGRAMMING THE PIC10F220/222 The PIC10F220/222 is programmed using a serial method. The Serial mode will allow the PIC10F220/222 to be programmed while in the user’s system. This allows for increased design flexibility ...

Page 2

... In the configuration memory space, 0x100-0x13F for the PIC10F220 and 0x200-0x23F for the PIC10F222 are physically implemented. However, only locations 0x100-0x103 and 0x200-0x203 are available. Other locations are reserved. ...

Page 3

... The programming sequence loads a word, programs, verifies and finally increments the PC. Program/Verify mode entry will set the address to 0x1FF for the PIC10F220 and 0x3FF for the PIC10F222. The Increment Address command will increment the PC. The available commands are shown in Table 3-1. FIGURE 3-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

... A timing diagram of this command is shown in Figure 3- not possible to decrement the address counter. To reset this counter, the user must either exit and re-enter Program/Verify mode or increment the PC from 0x1FF for the PIC10F220 or 0x3FF for the PIC10F222 to 0x000. FIGURE 3-5: INCREMENT ADDRESS COMMAND 1 ...

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

... Checksum is calculated by reading the contents of the PIC10F220/222 memory locations and adding up the opcodes up to the maximum user addressable location (e.g., 0x1FF for the PIC10F222). Any Carry bits exceeding 16 bits are neglected. Finally, the Configuration Word (appropriately masked) is added to the checksum. Checksum computation for the PIC10F220/222 is shown in Table 5-2 ...

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. TABLE 5-2: CHECKSUM COMPUTATIONS – PIC10F222 Device Code-Protect PIC10F222 OFF SUM[0x000:0x1FE] + CFGW & 0x01F ON SUM[0x00:0x3F] + CFGW & ...

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

Related keywords