PIC10F220-E/OT Microchip Technology, PIC10F220-E/OT Datasheet - Page 31
![384B Flash, 16B RAM, 4 I/O, 8bit ADC 6 SOT-23 BAG](/photos/16/3/160337/6-sot23-large-300dpi-lyrd_sml.jpg)
PIC10F220-E/OT
Manufacturer Part Number
PIC10F220-E/OT
Description
384B Flash, 16B 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 PIC10F220-E/OT
Processor Series
PIC10F
Core
RISC
Data Bus Width
8 bit
Program Memory Type
Flash
Program Memory Size
256 B
Data Ram Size
16 B
Interface Type
RS-232, USB
Maximum Clock Frequency
8 MHZ
Number Of Programmable I/os
4
Number Of Timers
1
Maximum Operating Temperature
+ 125 C
Mounting Style
SMD/SMT
Package / Case
SOT-23-6
Operating Temperature Range
- 40 C to + 125 C
Processor To Be Evaluated
PIC10F220
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
16 x 8
Voltage - Supply (vcc/vdd)
2 V ~ 5.5 V
Data Converters
A/D 2x8b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 125°C
Lead Free Status / Rohs Status
Details
7.0
The A/D converter allows conversion of an analog
signal into an 8-bit digital signal.
7.1
The A/D Converter has a single clock source setting,
INTOSC/4. The A/D Converter requires 13 T
to complete a conversion. The divisor values do not
affect the number of T
conversion. The divisor values determine the length of
the T
7.2
Due to the nature of the design, there is no external
voltage reference allowed for the A/D Converter.
The A/D Converter reference voltage will always be
V
7.3
The ANS<1:0> bits are used to configure pins for ana-
log input. Upon any Reset ANS<1:0> defaults to 11.
This configures pins AN0 and AN1 as analog inputs.
Pins configured as analog inputs are not available for
digital output. Users should not change the ANS bits
while a conversion is in process. ANS bits are active
regardless of the condition of ADON.
7.4
The CHS bits are used to select the analog channel to
be sampled by the A/D Converter. The CHS bits
should not be changed during a conversion. To
acquire an analog signal, the CHS selection must
match one of the pin(s) selected by the ANS bits. The
Internal Absolute Voltage Reference can be selected
regardless of the condition of the ANS bits. All channel
selection information will be lost when the device
enters Sleep.
TABLE 7-1:
© 2007 Microchip Technology Inc.
Prior to Sleep
Prior to Sleep
Entering Sleep
Wake
DD
Note:
.
AD
period.
ANALOG-TO-DIGITAL (A/D)
CONVERTER
Clock Divisors
Voltage Reference
Analog Mode Selection
A/D Converter Channel Selection
Due to the fixed clock divisor, a conversion
will complete in 13 CPU instruction cycles.
EFFECTS OF SLEEP AND WAKE ON ADCON0
Unchanged
AD
ANS1
x
x
1
periods required to perform a
Unchanged
ANS0
x
x
1
AD
periods
CHS1
x
x
1
1
7.5
The GO/DONE bit is used to determine the status of a
conversion, to start a conversion and to manually halt a
conversion in process. Setting the GO/DONE bit starts
a conversion. When the conversion is complete, the A/
D Converter module clears the GO/DONE bit. A con-
version can be terminated by manually clearing the
GO/DONE bit while a conversion is in process. Manual
termination of a conversion may result in a partially
converted result in ADRES.
The GO/DONE bit is cleared when the device enters
Sleep, stopping the current conversion. The A/D Con-
verter does not have a dedicated oscillator, it runs off of
the system clock.
The GO/DONE bit cannot be set when ADON is clear.
7.6
This A/D Converter does not have a dedicated A/D
Converter clock and therefore no conversion in Sleep
is possible. If a conversion is underway and a Sleep
command is executed, the GO/DONE and ADON bit
will be cleared. This will stop any conversion in process
and power-down the A/D Converter module to con-
serve power. Due to the nature of the conversion pro-
cess, the ADRES may contain a partial conversion. At
least 1 bit must have been converted prior to 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 < T
• T
Note:
AD
= 1/(F
The GO/DONE bit
Sleep
CHS0
x
x
1
1
The A/D Converter module consumes
power when the ADON bit is set even
when no channels are selected as analog
inputs. For low-power applications, it is
recommended that the ADON bit be
cleared when the A/D Converter is not in
use.
OSC
AD
PIC10F220/222
< 50 μs
/divisor)
GO/DONE
AD
0
1
0
0
must meet the following:
DS41270E-page 29
ADON
0
1
0
0