PIC10F222-I/OT Microchip Technology, PIC10F222-I/OT Datasheet - Page 36
![768B Flash, 23B RAM, 4 I/O, 8bit ADC 6 SOT-23 BAG](/photos/16/3/160337/6-sot23-large-300dpi-lyrd_sml.jpg)
PIC10F222-I/OT
Manufacturer Part Number
PIC10F222-I/OT
Description
768B Flash, 23B RAM, 4 I/O, 8bit ADC 6 SOT-23 BAG
Manufacturer
Microchip Technology
Series
PIC® 10Fr
Datasheet
1.PIC10F220-IMC.pdf
(86 pages)
Specifications of PIC10F222-I/OT
Processor Series
PIC10F
Core
RISC
Data Bus Width
8 bit
Program Memory Type
Flash
Program Memory Size
512 B
Data Ram Size
23 B
Interface Type
RS-232, 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
Package / Case
SOT-23-6
Operating Temperature Range
- 40 C to + 85 C
Processor To Be Evaluated
PIC10F222
Supply Current (max)
100 nA
Core Processor
PIC
Core Size
8-Bit
Speed
8MHz
Connectivity
-
Peripherals
POR, WDT
Number Of I /o
4
Eeprom Size
-
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
Lead Free Status / Rohs Status
Details
PIC10F220/222
8.2
8.2.1
The PIC10F220/222 devices are offered with internal
oscillator mode only.
• INTOSC: Internal 4/8 MHz Oscillator
8.2.2
The internal oscillator provides a 4/8 MHz (nominal)
system clock (see Section 10.0 “Electrical Charac-
teristics” for information on variation over voltage and
temperature).
In addition, a calibration instruction is programmed into
the last address of memory, which contains the calibra-
tion value for the internal oscillator. This location is
always uncode protected, regardless of the code-pro-
tect settings. This value is programmed as a MOVLW XX
instruction where XX is the calibration value and is
placed at the Reset vector. This will load the W register
with the calibration value upon Reset and the PC will
then roll over to the users program at address 0x000.
The user then has the option of writing the value to the
OSCCAL Register (05h) or ignoring it.
OSCCAL, when written to with the calibration value, will
“trim” the internal oscillator to remove process variation
from the oscillator frequency.
TABLE 8-1:
DS41270E-page 34
W
INDF
TMR0
PC
STATUS
FSR
OSCCAL
GPIO
ADCON0
ADRES
OPTION
TRIS
Legend:
Note 1:
Note:
Register
Oscillator Configurations
INTERNAL 4/8 MHz OSCILLATOR
Erasing the device will also erase the pre-
programmed internal calibration value for
the internal oscillator. The calibration
value must be read prior to erasing the
part so it can be reprogrammed correctly
later.
OSCILLATOR TYPES
u = unchanged, x = unknown, – = unimplemented bit, read as ‘0’, q = value depends on condition.
Bits <7:2> of W register contain oscillator calibration values due to MOVLW XX instruction at top of memory.
RESET CONDITIONS FOR REGISTERS – PIC10F220/222
Address
00h
01h
02h
03h
04h
05h
06h
07h
08h
—
—
—
Power-on Reset
qqqq qqqu
xxxx xxxx
xxxx xxxx
1111 1111
0--1 1xxx
111x xxxx
1111 1110
---- xxxx
11-- 1100
xxxx xxxx
1111 1111
---- 1111
(1)
MCLR Reset, WDT Time-out, Wake-up On Pin Change,
8.3
The device differentiates between various kinds of
Reset:
• Power-on Reset (POR)
• MCLR Reset during normal operation
• MCLR Reset during Sleep
• WDT Time-out Reset during normal operation
• WDT Time-out Reset during Sleep
• Wake-up from Sleep on pin change
Some registers are not reset in any way, they are
unknown on POR and unchanged in any other Reset.
Most other registers are reset to “Reset state” on
Power-on Reset (POR), MCLR, WDT or Wake-up on
pin change Reset during normal operation. They are
not affected by a WDT Reset during Sleep or MCLR
Reset during Sleep, since these Resets are viewed as
resumption of normal operation. The exceptions to this
are TO, PD and GPWUF bits. They are set or cleared
differently in different Reset situations. These bits are
used in software to determine the nature of Reset. See
Table 8-1 for a full description of Reset states of all
registers.
Reset
qqqq qqqu
uuuu uuuu
uuuu uuuu
1111 1111
q00q quuu
111u uuuu
uuuu uuuu
---- uuuu
11-- 1100
uuuu uuuu
1111 1111
---- 1111
© 2007 Microchip Technology Inc.
(1)