st2064b Sitronix Technology Corporation, st2064b Datasheet - Page 19

no-image

st2064b

Manufacturer Part Number
st2064b
Description
8 Bit Microcontroller With 64k Bytes Rom
Manufacturer
Sitronix Technology Corporation
Datasheet
1
Ver. 3.0
1
ST2064B has dual clock sources, OSC (RC) and OSCX
(32768Hz crystal). The system clock (SYSCK) can be
switched between OSC and OSCX, and is controlled by XSEL
(SYS[7]). When system clock is switched, the warm-up cycles
occur at the same time. Clock source being used is shown at
Note:
Address Name
1
1
$030
.
1. XSEL (SYS[7]) shows which clock source is used for SYSCK when it is read.
2. System warm-up of 16 or 256 oscillation cycles occurs when system clock (SYSCK) is changed or power on reset.
.
Bit 7: XSEL : SYS [XSEL] must be 0.
Bit 6: OSTP : OSC stop control bit
Bit 5: XSTP : OSCX stop control bit
Bit 4: TEST : Test bit ,must be “ 0”
O
O
S
S
SYS
1 = Disable OSC
0 = Enable OSC
1 = Disable OSCX
0 = Enable OSCX
C
C
I
I
L
L
OSCX
L
L
XSEL
OSC
R/W
R/W
A
A
T
T
O
O
R
R
XSEL
Bit 7
OSTP
Bit 6
IN1
TABLE 11-1 System Control Register (SYS)
IN0
FIGURE 11-1 System Clock Diagram
MUX2
SEL
XSTP
Bit 5
OUTPUT
19/57
TEST
Bit 4
XSEL (read). Read and test XSEL to confirm SYSCK is
already switched over. Other blocks, such as LCD controller,
Timer1, Base Timer and PSG, can utilize these two clock
sources as well.
WSKP
Bit 3
Frequency divided by 2
IN
WAIT
Bit 2
/2
OUT
Bit 1
-
LVDET
Bit 0
SYSCK
Default
0000 00-0
ST2064B
5/8/09

Related parts for st2064b