PIC10F202 Microchip Technology Inc., PIC10F202 Datasheet - Page 44

no-image

PIC10F202

Manufacturer Part Number
PIC10F202
Description
6-pin, 8-bit Flash Microcontrollers Data Sheet
Manufacturer
Microchip Technology Inc.
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC10F202-E/OT
Manufacturer:
MICROCHIP
Quantity:
8 720
Part Number:
PIC10F202-I/OT
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
PIC10F202-I/P
Manufacturer:
MICROCHIP
Quantity:
12 000
Part Number:
PIC10F202-I/P
Manufacturer:
Microchip Technology
Quantity:
1 812
Part Number:
PIC10F202-I/P
Manufacturer:
MICRCOHI
Quantity:
20 000
Part Number:
PIC10F202T-E/OT
Manufacturer:
XILINX
Quantity:
101
Part Number:
PIC10F202T-I/MC
Manufacturer:
ATMEL
Quantity:
978
Company:
Part Number:
PIC10F202T-I/MC
Quantity:
3 300
Part Number:
PIC10F202T-I/MC011
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
PIC10F202T-I/MC012
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
PIC10F202T-I/MC086
Manufacturer:
MICROCH
Quantity:
20 000
Part Number:
PIC10F202T-I/OT
0
Company:
Part Number:
PIC10F202T-I/OT
Quantity:
27 000
information on variation over voltage and temperature).
PIC10F200/202/204/206
9.2
9.2.1
The PIC10F200/202/204/206 devices are offered with
Internal Oscillator mode only.
• INTOSC: Internal 4 MHz Oscillator
9.2.2
The internal oscillator provides a 4 MHz (nominal) system
clock (see Section 12.0 “Electrical Characteristics” for
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 9-1:
DS41239D-page 42
W
INDF
TMR0
PCL
STATUS
STATUS
FSR
OSCCAL
GPIO
CMCON
OPTION
TRISGPIO
Legend:
Note 1:
Note:
Register
2:
3:
(3)
(3)
Oscillator Configurations
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.
See Table 9-2 for Reset value for specific conditions.
PIC10F204/206 only.
INTERNAL 4 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
RESET CONDITIONS FOR REGISTERS – PIC10F200/202/204/206
Address
00h
01h
02h
03h
03h
04h
05h
06h
07h
Power-on Reset
qqqq qqqu
xxxx xxxx
xxxx xxxx
1111 1111
00-1 1xxx
00-1 1xxx
111x xxxx
1111 1110
---- xxxx
1111 1111
1111 1111
---- 1111
9.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
• Wake-up from Sleep on comparator 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, GPWUF and CWUF 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 9-1 for a full description of Reset
states of all registers.
(1)
Reset
Wake-up On Pin Change, Wake on
MCLR Reset, WDT Time-out,
Comparator Change
© 2007 Microchip Technology Inc.
qqqq qqqu
q00q quuu
qq0q quuu
uuuu uuuu
uuuu uuuu
1111 1111
111u uuuu
uuuu uuuu
---- uuuu
uuuu uuuu
1111 1111
---- 1111
(1)
(2)
(2)

Related parts for PIC10F202