PIC10F202-E/P Microchip Technology, PIC10F202-E/P Datasheet - Page 37
![no-image](/images/manufacturer_photos/0/4/439/microchip_technology_sml.jpg)
PIC10F202-E/P
Manufacturer Part Number
PIC10F202-E/P
Description
IC PIC MCU FLASH 512X12 8DIP
Manufacturer
Microchip Technology
Series
PIC® 10Fr
Datasheets
1.PIC10F200T-IOT.pdf
(96 pages)
2.PIC10F200T-IOT.pdf
(6 pages)
3.PIC10F200T-IOT.pdf
(18 pages)
4.PIC10F202-EP.pdf
(88 pages)
Specifications of PIC10F202-E/P
Program Memory Type
FLASH
Program Memory Size
768B (512 x 12)
Package / Case
8-DIP (0.300", 7.62mm)
Core Processor
PIC
Core Size
8-Bit
Speed
4MHz
Peripherals
POR, WDT
Number Of I /o
3
Ram Size
24 x 8
Voltage - Supply (vcc/vdd)
2 V ~ 5.5 V
Oscillator Type
Internal
Operating Temperature
-40°C ~ 125°C
Processor Series
PIC10F
Core
PIC
Data Bus Width
8 bit
Data Ram Size
24 B
Interface Type
USB
Maximum Clock Frequency
4 MHz
Number Of Programmable I/os
4
Number Of Timers
1
Operating Supply Voltage
2 V to 5.5 V
Maximum Operating Temperature
+ 125 C
Mounting Style
Through Hole
3rd Party Development Tools
52715-96, 52716-328, 52717-734
Development Tools By Supplier
PG164130, DV164035, DV244005, DV164005, PG164120
Minimum Operating Temperature
- 40 C
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With
AC162059 - HEADER INTRFC MPLAB ICD2 8/14PINAC164037 - MODULE SKT 6L PROMATE II SOT23
Eeprom Size
-
Data Converters
-
Connectivity
-
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
7.1.2
Since the prescaler output is synchronized with the
internal clocks, there is a small delay from the time the
external clock edge occurs to the time the Timer0
module is actually incremented. Figure 7-4 shows the
delay from the external clock edge to the timer
incrementing.
FIGURE 7-4:
7.2
An 8-bit counter is available as a prescaler for the
Timer0 module or as a postscaler for the Watchdog
Timer (WDT), respectively (see Figure 9-6). For
simplicity, this counter is being referred to as
“prescaler” throughout this data sheet.
The PSA and PS<2:0> bits (Option<3:0>) determine
prescaler assignment and prescale ratio.
When assigned to the Timer0 module, all instructions
writing to the TMR0 register (e.g., CLRF 1, MOVWF 1,
BSF 1,x, etc.) will clear the prescaler. When assigned
to WDT, a CLRWDT instruction will clear the prescaler
along with the WDT. The prescaler is neither readable
nor writable. On a Reset, the prescaler contains all ‘0’s.
2004 Microchip Technology Inc.
Note:
Note 1: Delay from clock input change to Timer0 increment is 3 T
External Clock/Prescaler
External Clock Input or
Increment Timer0 (Q4)
Prescaler
Output After Sampling
2: External clock if no prescaler selected; prescaler output otherwise.
3: The arrows indicate the points in time where sampling occurs.
Prescaler Output
TIMER0 INCREMENT DELAY
The prescaler may be used by either the
Timer0 module or the WDT, but not both.
Thus, a prescaler assignment for the
Timer0 module means that there is no
prescaler for the WDT and vice versa.
in measuring the interval between two edges on Timer0 input = ±4 T
TIMER0 TIMING WITH EXTERNAL CLOCK
Timer0
(2)
(3)
Q1 Q2 Q3 Q4
(1)
Preliminary
Q1 Q2 Q3 Q4
T0
PIC10F200/202/204/206
7.2.1
The prescaler assignment is fully under software
control (i.e., it can be changed “on-the-fly” during pro-
gram execution). To avoid an unintended device Reset,
the following instruction sequence (Example 7-1) must
be executed when changing the prescaler assignment
from Timer0 to the WDT.
EXAMPLE 7-1:
CLRWDT
CLRF
MOVLW
OPTION
CLRWDT
MOVLW
OPTION
OSC
to 7 T
Q1 Q2 Q3
TMR0
‘00xx1111’b ;These 3 lines (5, 6, 7)
‘00xx1xxx’b ;Set Postscaler to
OSC
T0 + 1
OSC
SWITCHING PRESCALER
ASSIGNMENT
(Duration of Q = T
max.
Q4
CHANGING PRESCALER
(TIMER0
;Clear WDT
;Clear TMR0 & Prescaler
;are required only if
;desired
;PS<2:0> are 000 or 001
;desired WDT rate
Q1 Q2 Q3 Q4
OSC
T0 + 2
Small pulse
misses sampling
). Therefore, the error
WDT)
DS41239A-page 35