Datasheet

FS98O22
Rev. 1.6 42/146
To enable the internal and external oscillators, users need to set the right values for M7_CK and M6_CK as
shown in Table 5-4. If users execute the sleep instruction to make FS98O22 enter the SLEEP mode, both the
internal oscillators and the external oscillator will be disabled.
Table 5-5 oscillator state selection table
Input Oscillator State
Sleep instruction M7_CK M6_CK Internal External
1 X
7
X Disable Disable
0 0 0 Enable Enable
0 0 1 Enable Disable
0 1 0 Disable Enable
0 1 1 Enable Disable
5.2. CPU Instruction Cycle
Table 5-6 FS98O22 CPU instruction cycle register table
Address Name
Referenced
Section
Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
V
alue on Power
on Reset
14H MCK 5 M7_CK M6_CK M5_CK M3_CK M2_CK M1_CK M0_CK 00000000
User can setup M0_CK, M1_CK, M2_CK and M3_CK to select the instruction cycle
8
. In order to maintain a
stable ADC output, user could clear M2_CK to make CPU have a different operation clock cycle from ADC. In
the applications where a resolution of ADC is more than 13 bits, M2_CK should be set to zero.
Table 5-7 MCK selection table
M3_CK M0_CK MCK
X 0 ICK (1MHZ)
0 1 ECK (32768 HZ)
1 1 ECK/2 (16384HZ)
Table 5-8 instruction cycle selection table
M2_CK M1_CK Instruction Cycle
0 0 MCK/6.5
0 1 MCK/12.5
1 0 MCK/2
1 1 MCK/4
7
X means “don’t care”
8
Users must make sure that switching from one oscillator to the other can be made only after the oscillators
output is stabilized.
An NOP command should be added after the switching.
FORTUNE'
Properties
For Reference Only