ST2202A
14.2 Tone Generator
14.2.1 General Description
TheꢀtoneꢀfrequencyꢀisꢀdecidedꢀbyꢀPSGCKꢀandꢀ12ꢁbitꢀprogrammableꢀdividerꢀ(PSG[11~0]).ꢀPleaseꢀreferꢀtoꢀFIGUREꢀ14ꢁ3ꢀ
and.FIGUREꢀ14ꢁ4.
ꢀ
12ꢀBitꢀAutoꢁreloadꢀUpꢀCounter
ꢀꢀꢀPSG0[11~8]
ꢀꢀꢀPSG0[7~0]
C0[11~8]
C0[7~0]
OUTPUT
Toneꢀout
Channelꢀ0
LOAD
ꢀꢀꢀC0EN
PSGCK
Latch
Enable
CLOCK
FrequencyꢀofꢀChannelꢀ0ꢀToneꢀ=ꢀPSGCK/(1000HꢁPSG0[11~0])/2
ꢀ
FIGURE 14-3 Tone Generator Channel 0
ꢀ
ꢀ
12ꢀBitꢀAutoꢁreloadꢀUpꢀCounter
ꢀꢀꢀPSG1[11~8]
ꢀꢀꢀPSG1[7~0]
C1[11~8]
C1[7~0]
OUTPUT
Toneꢀout
Channelꢀ1
LOAD
ꢀꢀꢀC1EN
PSGCK
Latch
Enable
CLOCK
FrequencyꢀofꢀChannelꢀ1ꢀToneꢀ=ꢀPSGCK/(1000HꢁPSG1[11~0])/2
ꢀ
FIGURE 14-4 Tone Generator Channel 1
ꢀ
ꢀ
14.2.2 PSG Tone Programming
SettingꢀPSGꢀcontrolꢀbitꢀDACEꢀ(PSGC[0])ꢀwillꢀmakeꢀPSGꢀ
blockꢀfunctionsꢀasꢀaꢀsoundꢀgeneratorꢀofꢀ2ꢀchannels.ꢀSettingꢀ
C1ENꢀwillꢀenableꢀtoneꢀgeneratorꢀwhenꢀPSGꢀisꢀinꢀtoneꢀ
ꢀ
function.ꢀNoiseꢀorꢀtoneꢀfunctionꢀisꢀselectedꢀbyꢀPRBS.ꢀ
ꢀ
Verꢀ2.5ꢀ
34
/75
ꢀ
9/16/2008ꢀ