sh66p51 SinoWealth Micro-Electronics Corp. Ltd, sh66p51 Datasheet - Page 17

no-image

sh66p51

Manufacturer Part Number
sh66p51
Description
Otp 2k 4-bit Micro-controller With Lcd Driver
Manufacturer
SinoWealth Micro-Electronics Corp. Ltd
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
sh66p51AF
Manufacturer:
SINOWEATH
Quantity:
214
Part Number:
sh66p51AF
Manufacturer:
SINOWEATH
Quantity:
20 000
Part Number:
sh66p51AH
Manufacturer:
SINOWEATH
Quantity:
3 000
Part Number:
sh66p51P
Manufacturer:
SINOWEA
Quantity:
8 000
7. Base Timer
The MCU has a base timer that is shared with the warm-up timer and the clock source is base timer pre-scaler output pulse
(scaled from OSC clock, Crystal 32.768kHz or RC 131kHz). After MCU is reset, it counts at every clock-input signal. When
it counts to $FF, right after next clock input, counter counts to $00 and generates an overflow. This causes the interrupt flag
of base timer to be set to “1”. Therefore, the base timer can function as an interval timer periodically, generating overflow
output as every 256th clock signal input.
The timer accepts 4096Hz or 16KHz clock, and base timer generates an accurate timing interrupt. The program for
accurate timing can reset this base time pre-scaler.
This clock-input source is selected by BTM register.
Address
$03
BTM.1
0
0
1
1
BTM.3
Bit3
1
32.768kHz
Else states
131kHz
or
BTM.2
Bit2
0
/8
BTM.0
4096/16kHz
0
1
0
1
BTM.1
Bit1
X
X
/1
/4
4Bit Scaler
BTM.0
Bit0
MPX
X
X
/8
/16
Prescaler Ratio
R/W
R/W Base timer mode register
R/W Enable the base timer
R/W
17
Disable the base timer, clear base timer counters
and keep them as $00
/16
/1
/4
/8
8 Bit base timer counter
reset
Remarks
Clock Source
f
f
f
OSC
f
OSC
OSC
OSC
/128
/32
/64
/8
SH66P51

Related parts for sh66p51