DatasheetQ Logo
Electronic component search and free download site. Transistors,MosFET ,Diode,Integrated circuits

PIC10F204T-I/OT(2014) View Datasheet(PDF) - Microchip Technology

Part Name
Description
Manufacturer
PIC10F204T-I/OT
(Rev.:2014)
Microchip
Microchip Technology 
PIC10F204T-I/OT Datasheet PDF : 88 Pages
First Prev 31 32 33 34 35 36 37 38 39 40 Next Last
PIC10F200/202/204/206
9.2 Oscillator Configurations
9.3 Reset
9.2.1
OSCILLATOR TYPES
The PIC10F200/202/204/206 devices are offered with
Internal Oscillator mode only.
• INTOSC: Internal 4 MHz Oscillator
9.2.2 INTERNAL 4 MHz OSCILLATOR
The internal oscillator provides a 4 MHz (nominal) system
clock (see Section 12.0 “Electrical Characteristics” for
information on variation over voltage and temperature).
In addition, a calibration instruction is programmed into
the last address of memory, which contains the
calibration value for the internal oscillator. This location
is always uncode protected, regardless of the code-
protect 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.
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.
Note:
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.
TABLE 9-1: RESET CONDITIONS FOR REGISTERS – PIC10F200/202/204/206
Register
Address
Power-on Reset
MCLR Reset, WDT Time-out,
Wake-up On Pin Change, Wake on
Comparator Change
W
qqqq qqqu(1)
qqqq qqqu(1)
INDF
00h
xxxx xxxx
uuuu uuuu
TMR0
01h
xxxx xxxx
uuuu uuuu
PCL
02h
1111 1111
1111 1111
STATUS
03h
00-1 1xxx
q00q quuu(2)
STATUS(3)
03h
00-1 1xxx
qq0q quuu(2)
FSR
04h
111x xxxx
111u uuuu
OSCCAL
05h
1111 1110
uuuu uuuu
GPIO
06h
---- xxxx
---- uuuu
CMCON(3)
07h
1111 1111
uuuu uuuu
OPTION
1111 1111
1111 1111
TRISGPIO
---- 1111
---- 1111
Legend:
Note 1:
2:
3:
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.
DS40001239F-page 36
2004-2014 Microchip Technology Inc.

Share Link: 

datasheetq.com  [ Privacy Policy ]Request Datasheet ] [ Contact Us ]