OKI MSM9803-xxxRS, MSM9805-xxxGS-AK, MSM9805-xxxGS-K, MSM9805-xxxRS, MSM9803-xxxGS-K Datasheet

...
E2D0018-39-93
This version: Sep. 1999
MSM9802/03/05-xxx¡ Semiconductor
¡ Semiconductor
Previous version: May. 1997
MSM9802/03/05-xxx
Voice Synthesis IC with Built-in Mask ROM
GENERAL DESCRIPTION
The MSM9802/03/05 is a PCM voice synthesis IC with built-in mask ROM. This IC has two user selectable playback algorithms, OKI Non-linear PCM and straight PCM. It also contains a current mode 10-bit D/A converter and a low-pass filter. External control has been made easy by the built-in edit ROM that can form sentences by linking phrases. By using Oki's Sound Analysis and Editing Tool, ROM data such as Phrase Control Table can be easily set, created, edited, and evaluated. With the stand-alone mode/microcontroller interface mode switching pin, the MSM9802/03/ 05 can support various applications.
FEATURES
Device
MSM9802 MSM9803 MSM9805
* Actual voice ROM area is smaller by 11 Kbits.
• ROM custom
• 8-bit OKI nonlinear PCM method/8-bit straight PCM method
• Built-in edit ROM
• Random playback function
• Sampling frequency : 4.0 kHz/5.3 kHz/6.4 kHz/8.0 kHz/10.6 kHz/12.8 kHz/
• Maximum number of phrases : 63 (Microcontroller interface mode)
• Built-in current mode 10-bit D/A converter
• Built-in low-pass filter
• Standby function
• RC oscillation (256 kHz)/ceramic oscillation (4.096 MHz) selectable
• Package options: 18-pin plastic DIP (DIP18-P-300-2.54) (Product name: MSM9802-xxxRS/MSM9803-xxxRS/
24-pin plastic SOP (SOP24-P-430-1.27-K) (Product name: MSM9802-xxxGS-K/MSM9803-xxxGS-K/
30-pin plastic SSOP (SSOP30-P-56-0.65-K) (Product name: MSM9802-xxxGS-AK/MSM9803-xxxGS-
Chip
ROM size*
512 Kbits 16.0 10.0 8.0 4.0
1 Mbit 32.4 20.2 16.2 8.1
2 Mbits 65.1 40.7 32.5 16.2
=4.0 kHz f
f
SAM
16.0 kHz Note: If RC oscillation is selected, 10.6 kHz, 12.8 kHz, and
16.0 kHz cannot be selected.
56 (Stand-alone mode)
Speech period (sec)
=6.4 kHz f
SAM
MSM9805-xxxRS)
MSM9805-xxxGS-K)
AK/MSM9805-xxxGS-AK)
=8.0 kHz f
SAM
xxx indicates code number.
=16.0 kHz
SAM
Note: This data sheet explains a stand-alone mode and a microcontroller interface mode,
separately.
1/51
MSM9802/03/05-xxx¡ Semiconductor
CONTENTS
(1) Stand-alone Mode
BLOCK DIAGRAM ............................................................................................................................. 3
PIN CONFIGURATION ..................................................................................................................... 4
PIN DESCRIPTIONS ........................................................................................................................... 6
ABSOLUTE MAXIMUM RATINGS ................................................................................................. 8
RECOMMENDED OPERATING CONDITIONS ........................................................................... 8
ELECTRICAL CHARACTERISTICS ................................................................................................ 9
TIMING DIAGRAMS ....................................................................................................................... 12
FUNCTIONAL DESCRIPTION....................................................................................................... 14
1. Playback Code Specification ............................................................................................. 14
2. Pull-up/Pull-down Resistor .............................................................................................. 14
3. Stand-alone Mode ............................................................................................................... 14
APPLICATION CIRCUITS .............................................................................................................. 19
(2) Microcontroller Interface Mode
BLOCK DIAGRAM ........................................................................................................................... 21
PIN CONFIGURATION ................................................................................................................... 22
PIN DESCRIPTIONS ......................................................................................................................... 24
ABSOLUTE MAXIMUM RATINGS ............................................................................................... 25
RECOMMENDED OPERATING CONDITIONS ......................................................................... 25
ELECTRICAL CHARACTERISTICS .............................................................................................. 26
TIMING DIAGRAMS ....................................................................................................................... 29
FUNCTIONAL DESCRIPTION....................................................................................................... 31
1. Playback Code Specification ............................................................................................. 31
2. Address Data ....................................................................................................................... 31
3. Stop Code ............................................................................................................................. 32
4. Generating Pseudo - BUSY Signal through NAR pin .................................................... 33
APPLICATION CIRCUIT................................................................................................................. 34
(3) Common
1. Sampling Frequency ........................................................................................................... 35
2. Recording/Playback Time................................................................................................. 35
3. Playback Method ................................................................................................................ 36
4. Phrase Control Table ..........................................................................................................37
5. RC Oscillation ...................................................................................................................... 39
6. Ceramic Oscillation ............................................................................................................ 40
7. Low-pass Filter .................................................................................................................... 42
8. Standby Transition.............................................................................................................. 43
9. Voice Output Unit Equivalent Circuit (AOUT, V
Pins) .......................................... 44
REF
D/A CONVERTER CURRENT CHARACTERISTICS ................................................................ 45
PAD CONFIGURATION ................................................................................................................. 46
2/51
3/51
MSM9802/03/05-xxx¡ Semiconductor
(1) STAND-ALONE MODE (CPU/STD: "L" level)
BLOCK DIAGRAM
512-Kbit (MSM9802) 1-Mbit (MSM9803) 2-Mbit (MSM9805)
Multiplexer
Address & Switching Controller
6
PCM
Synthesizer
10
8
10-Bit
DAC
&
LPF
AOUT
DATA
Controller
16-Bit (MSM9802) 17-Bit (MSM9803) 18-Bit (MSM9805)
Timing Controller
GNDV
DD
RESET
Random
Circuit
I/O
Interface
OSC
XT/RC
XT/CR
A2 A1
A0 SW2 SW1 SW0
RND
BUSY
OSC1 OSC2
OSC3/TEST
CPU/STD
V
REF
16-Bit (MSM9802) 17-Bit (MSM9803) 18-Bit (MSM9805)
Address Counter
ROM
(Including 11 Kbits of
Edit ROM & Address ROM)
PIN CONFIGURATION (TOP VIEW)
MSM9802/03/05-xxx¡ Semiconductor
A0 A1
A2
RESET
XT/CR
BUSY
GND
V
REF
AOUT
1 2
3 4 5 6 7 8 9
18
SW2
17
SW1
16
SW0
15
RND
14
CPU/STD
13
OSC3/TEST
12
OSC2
11
OSC1
10
V
DD
18-Pin Plastic DIP
Note: Applicable to MSM9802-xxxRS, MSM9803-xxxRS, and MSM9805-xxxRS.
V
1
DD
24
AOUT
23 22
21 20 19 18 17 16 15 14 13
NC
NC
RND
NC
SW0 SW1 SW2
2 3
4 5 6 7 8 9
10 11 12
OSC1 OSC2
OSC3/TEST
CPU/STD XT/CR
NC: No connection
24-Pin Plastic SOP
V
REF
GND NC
BUSY
NC
RESET
NC A2
A1 A0
Note: Applicable to MSM9802-xxxGS-K, MSM9803-xxxGS-K, and MSM9805-xxxGS-K.
4/51
MSM9802/03/05-xxx¡ Semiconductor
V
DD
OSC1 OSC2
NC NC
OSC3/TEST
NC
CPU/STD
NC
RND
NC
SW2
30 29
28 27 26 25 24 23 22
21 20
16
AOUT V
GND NC NC
BUSY
NC XT/CR NC
RESET
NC
A0
1 2
3 4 5 6 7 8 9
10 11 12 19NC NC 13 18SW0 A2 14 17SW1 A1 15
REF
NC: No connection
30-Pin Plastic SSOP
Note: Applicable to MSM9802-xxxGS-AK, MSM9803-xxxGS-AK, and MSM9805-xxxGS-AK.
5/51
PIN DESCRIPTIONS
MSM9802/03/05-xxx¡ Semiconductor
Pin
DIP4SOP17SSOP
21
62025
51823
14 7 8
82329
92430
72228
10 1 1
11 2 2
12 3 3
13 5 6
15810
Symbol Type Description
The IC enters the standby state if this pin is set to "L" level. At this time, oscillation stops and AOUT drives a current of 0mA and becomes GND
RESET I
level, then the IC returns to the initial state. Apply a "L" pulse upon power-on. This pin has an internal pull-up resistor. Outputs "L" level while voice is being played back.
BUSY O
At power-on, this pin is at "H" level. XT/RC switching pin. Set to "H" level if ceramic oscillation is used.
XT/CR I
Set to "L" level if RC oscillation is used. Microcontroller interface/stand-alone mode switching pin.
CPU/STD I
Set to "L" level if the MSM9802/03/05 is used in stand-alone mode. Volume setting pin. If this pin is set to GND level, the maximum current is forced in. If this pin is set to V
V
REF
I
is forced in. A pull-down resistor of approx. 10 W is internally connected to this pin during operation. Voice output pin.
AOUT O
The voice signals are output as current changes. In standby state, this pin drives a current of 0 mA and becomes GND level.
GND
Ground pin. Power supply pin. Insert a bypass capacitor of 0.1 mF or more between
V
DD
and GND pins.
V
DD
Ceramic oscillator connection pin when ceramic oscillation is selected.
OSC1 I
RC connection pin when RC oscillation is selected. Input from this pin if external clock is used. Ceramic oscillator connection pin when ceramic oscillation is selected. RC connection pin when RC oscillation is selected.
OSC2 O
Leave this pin open if external clock is used. Outputs "L" level in standby state. Leave this pin open when ceramic oscillation is used.
OSC3/TEST O
RC connection pin when RC oscillation is selected. Outputs "H" level in standby state when RC oscillation is selected. Random playback starts if RND pin is set to "L" level. Fetches addresses from random address generation circuit in the IC at
RND I
fall of RND. Set to "H" level when the random playback function is not used. This pin has internal pull-up resistor.
level, the minimum current
DD
6/51
MSM9802/03/05-xxx¡ Semiconductor
Pin
DIP SOP SSOP
16-18 10-12 13-15
1-3 13-15 16-18
Symbol Type Description
Phrase input pins corresponding to playback sound.
SW0 - SW2 I
A0 - A2 I
If input changes, SW0 to SW2 pins fetch addresses after 16 ms and start voice synthesis. Each of these pins has internal pull-down resistor. Phrase input pins corresponding to playback sound. Input logic of A0 pin becomes invalid if the random playback function is used.
7/51
ABSOLUTE MAXIMUM RATINGS
Parameter Symbol Condition Rating Unit
Power Supply Voltage Input Voltage Storage Temperature
T
V
V
DD
IN
STG
Ta=25°C
RECOMMENDED OPERATING CONDITIONS
Parameter Symbol Condition Range Unit
Power Supply Voltage V Operating Temperature
Master Clock Frequency 1
T
f
OSC1
OSC2
DD
op
2.0 to 5.5 V
MSM9802/03/05-xxx¡ Semiconductor
–0.3 to +7.0 V
–0.3 to VDD+0.3 V
–55 to +150 °C
–40 to +85 °C
Min. Max.
Typ.
4.0963.5 4.5 256200 300Master Clock Frequency 2 f
(GND=0 V)
(GND=0 V)
MHzWhen crystal is selected
kHzWhen RC is selected (*1)
*1 The accuracy of the oscillation frequency when RC oscillation is selected depends largely on
the accuracy of the external R and C.
8/51
ELECTRICAL CHARACTERISTICS
DC Characteristics
(V
=5.0 V, GND=0 V, Ta=–40 to +85°C, unless otherwise specified)
DD
Parameter Symbol Condition Unit
"H" Input Voltage V "L" Input Voltage
*1
*2
*3
*4
Standby Current I
V
Pin Pull-down Resistance
REF
IH
V
IL
V
OH
V
OL
IH1
Internal pull-down resistor
Applies to OSC1 pin only.
I
IH2
IH3
IL1
IL2
V
DD1
AOUT bias voltage=0V
At maximum output current
DD2
V
AOUT bias voltage=0V
DS
At maximum output current,
AOUT
V
AOUT bias voltage=0V
R
VREF
MSM9802/03/05-xxx¡ Semiconductor
Min. Max.
——V
4.2 — — 0.8
4.6
DD
V
IH=VDD
REF=VDD
REF
REF
,
=GND,
=GND,
Typ.
—V —V"H" Output Voltage IOH=–1 mA — 0.4 ——10"H" Input Current 1 I 9030 200"H" Input Current 2 I
—15"H" Input Current 3
–10 "L" Input Current 1 I
–90–200 –30"L" Input Current 2 I
0.4—1Dynamic Supply Current 1 I
—16Dynamic Supply Current 2 I
V"L" Output Voltage IOL=2 mA µAVIH=V µA
µA
µAVIL=GND µAInternal pull-up resistor
mA
mA
—10µATa=–40 to +70°C ——50
9.5615AOUT Output Current I
10713
µATa=70 to 85°C
mA
kW
*1 Applicable to SW0-SW2 *2 Applicable to RESET, RND *3 Dynamic supply current (excluding DAC output current) *4 Dynamic supply current at maximum output current
9/51
DC Characteristics
(V
=3.1 V, GND=0 V, Ta=–40 to +85°C, unless otherwise specified)
DD
Parameter Symbol Condition Unit
"H" Input Voltage V "L" Input Voltage
*1
*2
*3
*4
Standby Current I
V
Pin Pull-down Resistance
REF
IH
V
IL
V
OH
V
OL
IH1
IH2
Internal pull-down resistor
Applies to OSC1 pin only.
IH3
IL1
IL2
V
DD1
AOUT bias voltage=0V
At maximum output current
I
DD2
V
AOUT bias voltage=0V
DS
At maximum output current,
AOUT
V
AOUT bias voltage=0V
R
VREF
MSM9802/03/05-xxx¡ Semiconductor
Min. Max.
——V
2.7 — — 0.5
2.6
DD
V
IH=VDD
REF=VDD
REF
REF
,
=GND,
=GND,
Typ.
—V —V"H" Output Voltage IOH=–1 mA — 0.4 ——10"H" Input Current 1 I 3010 100"H" Input Current 2 I
—15"H" Input Current 3 I
–10 "L" Input Current 1 I
–30–100 –10"L" Input Current 2 I
0.15 0.5Dynamic Supply Current 1 I
5.5Dynamic Supply Current 2
V"L" Output Voltage IOL=2 mA µAVIH=V µA
µA
µAVIL=GND µAInternal pull-up resistor
mA
mA
—5µATa=–40 to +70°C ——20
3.21.4 5AOUT Output Current I
10713
µATa=70 to 85°C
mA
kW
*1 Applicable to SW2-SW0 *2 Applicable to RESET, RND *3 Dynamic supply current (excluding DAC output current) *4 Dynamic supply current at maximum output current
10/51
AC Characteristics
Parameter Symbol Condition Unit
Master Clock Duty Cycle f
RESET Input Pulse Width RESET Input Time After Power-on
BUSY
Output Time t
duty
t
w(RST)
t
D(RST)
t
w(RAN)
w(SW)
SBS
CHA
CHB
, t
DAR
DAF
STB
BLN
RA
f
MSM9802/03/05-xxx¡ Semiconductor
(V
=5.0 V, GND=0 V, Ta=–40 to +85°C)
DD
Min. Max.
—50%
40 60 10
0—
(note)
(note)
(note) (note) (note)
SAM
=8 kHz
(note) (note)
Typ.
—µs —µs —100 — —16 SW0-SW2 Input Pulse Width t ——10 1514 16Chattering Prevention Time 1 t ——16Chattering Prevention Time 2 t
6460 68D/A Converter Change Time t 250200 300Standby Transition Time t 375350 500Silence Time Between Phrases t
1615 17Random Address Fetch Time t
µsRND Input Pulse Width
ms
µs— ms— ms ms— ms
µs
µs
(Note) Proportional to master the periods of oscillation frequencies f
The rated values show values when the standard master oscillation frequency is used.
OSC1
and f
OSC2
.
11/51
TIMING DIAGRAMS
AC Characteristics at Power-On
MSM9802/03/05-xxx¡ Semiconductor
V
DD
VDDMin
t
D(RST)
RESET (I)
t
W(RST)
BUSY (O)
SW2-SW0 (I)
AC Characteristics in Standby Status and when the IC is Activated
A2-A0 (I)
SW2-SW0 (I)
SW0 (I)
BUSY (O)
t
t
SBS
First phrase
First phrase"000" "000" t
w(SW)
CHA
Address data fetch
AOUT (O)
t
DAR
Standby status
Oscillation start
Repeated Playback Timing
A2-A0 (I)
SW2-SW0 (I)
SW0 (I)
BUSY (O)
AOUT (O)
Standby transition time
D/A converter change time
First phrase
First phrase"000" "000"
t
STB
Single phrase
playback
t
DAF
Standby status
Single phrase
repeated playback
t
BLN
12/51
Timing when Changing from SW2 to SW0 During Playback
MSM9802/03/05-xxx¡ Semiconductor
A2-A0 (I)
SW2-SW0 (I)
SW2 (I) "L"
SW1 (I)
SW0 (I)
BUSY (O)
AOUT (O)
First phrase
First phrase"000" "000"
First phrase
playback
First phrase playback stops
t
CHB
Repeated Playback Timing for Random Playback
RND (I)
Second phrase
Second phrase "000"
t
BLN
Second phrase
playback
BUSY (O)
AOUT (O)
First phrase
playback
repeated playback
Oscillation start
Timing when Changing from A2 to A0 During Playback
A2-A0 (I)
SW2-SW0 (I)
(Ex.)
"000" "000"
SW0 (I)
First phrase
First phrase
t
CHA
First phrase
Same phrase
t
BLN
Second phrase
(Second phrase)
Second phrase
Address data fetch
BUSY (O)
AOUT (O)
First phrase
playback
t
BLN
Second phrase
playback
13/51
MSM9802/03/05-xxx¡ Semiconductor
FUNCTIONAL DESCRIPTION
1. Playback Code Specification
The user can specify a maximum of 56 phrases. Table 1.1 shows the settings by the A2-A0 and SW2-SW0 pins.
Table 1.1 User-specified Phrases
A2-A0 Code Details
000
111
SW2-SW0
000 001
111
Inhibit code
User-specified phrase
(56 phrases)
2. Pull-up/Pull-down Resistor
The RESET and RND pins have internal pull-up resistors and the SW2-SW0 pins have internal pull-down resistors.
3. Stand-alone Mode
In a stand-alone mode, the SW input interface function and the random playback function can be used.
3.1 SW input interface
With the SW input interface, speech synthesis starts when the state of the SW2-SW0 pins has changed. To prevent chattering, the address data is latched 16 ms (t
) after the state of SW2-
CHA
SW0 has changed. Voice synthesis does not start if the state of the A2-A0 pins has changed. Set the RND pin to "H" level if the random playback function is not used.
Set the A2-A0 pins to "L" level at power-on or at reset. The SW input interface is effective when the MSM9802/03/05 is operated using a push-button switch. Voice synthesis starts when an address is changed by pressing the push-button switch. If the push-button switch is released during playback, then playback stops after the current phrase is completed.
A2-A0 (I)
SW2-SW1 (I) "L"
t
CHA
t
w(SW)
SW0 (I)
BUSY (O)
AOUT (O)
Oscillation start
Figure 3.1 SW Input Interface Single-Phrase Playback Timing
14/51
MSM9802/03/05-xxx¡ Semiconductor
If playback is attempted at an unused address in the phrases, AOUT goes to 1/2 I
AOUT
and
playback does not occur. Figure 3.2 shows the timing.
A2-A0 (I)
SW2-SW1 (I) "L"
SW0 (I)
BUSY (O)
AOUT (O)
Oscillation start
Figure 3.2 Timing when Playback is Attempted at an Unused Phrase Address
In the SW input interface, no phrase is triggered when SW2 to SW0 are all set to "0". Therefore, when the circuit consists of a diode matrices that use push-button switches, the maximum playback phrases are 56 phrases.
A2-A0
000 001 002
111
8 codes
SW2-SW0
¥
¥
(000)
001 002
111
7 codes
Code Prohibited
= 56 Phrases
= 56
3.2 Random playback function
The random playback function randomly generates 15 different addresses corresponding to the four bits of the addresses of A0 and SW2-SW0 (except ALL "L") on the IC, after which playback commences.
Therefore, any input to A0 and SW2 to SW0 pins from external control is invalid. Hold these 4 pins either "H" or "L" level. SW2 to SW0 pins may be held open as they have internal pull-down resistor.
Playback may not occur if all the 15 addresses have not been assigned a phrase. Care must be taken when creating ROM data.
For example, when four phrases, "sunny", "rainy", "cloudy", and "snowy", are to be played randomly, set the phrases as shown in Table 3.1 in which a phrase is assigned to all the 15 addresses. The four phrases are then played back at random as shown below.
15/51
MSM9802/03/05-xxx¡ Semiconductor
Table 3.1 Random Address Setup Example
A2, A1 A0, SW2-SW0 Phrase
00 0001
0010 0011 0100 0101
1110 1111
sunny
rainy cloudy snowy
sunny
rainy snowy
Random playback starts when the timing shown in Figure 3.3 is input to the RND pin. A random address is fixed based on the "H" level time of the RND pin during IC oscillation. Random address is captured at the fall of the RND pin, and voice playback commences. Therefore, when power is turned on, or when RESET is input, the phrase at fixed address "0001" is played while the random counter remains initialized until random playback is initiated.
RESET (I)
RND (I)
BUSY (O)
AOUT (O)
Oscillation start
t
W (RAN)
t
RA
t
W (RAN)
Random address fixed time Random address fixed time
t
RA
Playback
(Address = 0001)
Playback
(Address = random)
Figure 3.3 Random Address Capture
16/51
Loading...
+ 36 hidden pages