st2024c Sitronix Technology Corporation, st2024c Datasheet - Page 33

no-image

st2024c

Manufacturer Part Number
st2024c
Description
24k 8-bit Single Chip Microcontroller
Manufacturer
Sitronix Technology Corporation
Datasheet
1
A built-in digital DAC is for analog sampling data or voice
signals. The structure of DAC is shown in Figure 13-13.
There is an interrupt signal from DAC to CPU whenever DAC
data update is needed and the
Ver 2.2
1
* In DAC mode, PSGCK must select SYSCK.
Address Name
Address Name
Address Name
4
4
$00F
$012
$013
$014
$016
$014
$016
.
Note: For Single-Pin Single Ended mode, the effective output resolution is 7 bit.
.
Bit 7~0: DAC[7~0] : DAC output data
Bit 0:
Bit 1:
Bit 3~2: DMD[1~0] : DAC output mode selection
Bit 6~4: PCK[2~0] : PSGCK selection for PSG and DAC
D
D
I
I
PMCR
PSG1L
PSG1H
DAC
PSGC
DAC
PSGC
G
G
DACE : PSG play as Tone(Noise) or DAC Generator selection bit
INH : DAC output inhibit control bit
000 = SYSCK / 2
X01 = SYSCK / 4
X10 = SYSCK / 8
011 = SYSCK / 16
100 = SYSCK *
1 = PSG is used as DAC Generator
0 = PSG is used as Tone(Noise) Generator
1 = DAC output inhibit
0 = DAC output enable
00 = Single-Pin mode
01 = Two-Pin Two Ended mode : 8 bit resolution
10 = Reserved
11 = Two-Pin Push Pull mode
I
I
T
T
A
A
L
L
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
D
D
A
A
PSG1[7] PSG1[6] PSG1[5] PSG1[4] PSG1[3] PSG1[2] PSG1[1] PSG1[0]
C
DAC[7]
DAC[7]
C
PULL
Bit 7
Bit 7
Bit 7
TABLE 14-31: DAC CONTROL REGISTER (PSGC)
TABLE 14-29: SUMMARY FOR DAC REGISTERS
-
-
-
-
-
TABLE 14-30: DAC DATA REGISTER (DAC)
DAC[6]
DAC[6]
PCK[2]
PCK[2]
PCK[2]
PCK[2]
PDBN
Bit 6
Bit 6
Bit 6
-
: 8 bit resolution
: 7 bit resolution
DAC[5]
DAC[5]
PCK[1]
PCK[1]
PCK[1]
PCK[1]
INTEG
Bit 5
Bit 5
Bit 5
-
33/54
DAC[4]
PCK[0]
PCK[0]
DAC[4]
PCK[0]
PCK[0]
Bit 4
Bit 4
Bit 4
-
-
same signal will decide the sampling rate of voice. In DAC
mode, the OSC can’t less 4 M Hz.
PSG1[11] PSG1[10]
DMD[1]
DMD[1]
DAC[3]
DAC[3]
PRBS
PRBS
Bit 3
Bit 3
Bit 3
-
DMD[0]
DMD[0]
DAC[2]
DAC[2]
C1EN
C1EN
Bit 2
Bit 2
Bit 2
-
PSG1[9] PSG1[8]
DAC[1]
DAC[1]
PSG0
C0EN
Bit 1
Bit 1
Bit 1
INH
INH
-
DACE=0
DACE=1
DACE=0
DACE=1
DAC[0]
DAC[0]
PSGB
Bit 0
Bit 0
Bit 0
100 - - -00
0000 0000
0000 0000
0000 0000
- 000 0000
- 000 0000
- 000 0000
- - - - 0000
- 000 00-0
ST2024C
Default
Default
Default
1/31/08

Related parts for st2024c