OKI MSM9888L

E2D0083-27-44
Pr
el
im
GENERAL DESCRIPTION
The MSM 9888L is a recording and playback IC that is controlled by the micro-controller in serial
mode, compresses voice with the Oki ADPCM system with high tone quality, and directly stores
voice data inthe serial voice flash momory. This IC can operate in a range of 2.7 to 3.6 V and
contains a mask ROM. Since the package is small and backup is not needed, this recording and
playback IC is suitable for the voice system such as handy terminals.
FEATURES
• Voice analyzing and synthesizing system
: 4-bit OKI ADPCM system•8-bit OKI non-linear PCM system
(for ROM playback only)
• Built-in 12-bit A/D•D/A converter
• Built-in LPF
: Attenuation rate –40 dB/oct
• Sampling frequency (for 4.096 MHz of source oscillation frequency)
: 2.0 kHz, 2.7 kHz, 3.2kHz, 4.0 kHz, 5.3 kHz, 6.4 kHz, 8 kHz
• External memory for variable message
: 1Mb, 2Mb, 4Mb, 8Mb, serial voice flash memory
• Recording time (When the 1Mb serial voice flash is used)
: Approximately 32 seconds (Fsam=8.0 kHz)
: Approximately 40 seconds (Fsam=6.4 kHz)
: Approximately 65 seconds (Fsam=4.0 kHz)
• Built-in 512Kb mask ROM for fixed message
• Playback time for fixed message
: Approximately 15 seconds (Fsam=8.0 kHz)
: Approximately 20 seconds (Fsam=6.4 kHz)
: Approximately 31 seconds (Fsam=4.0 kHz)
• Number of pharase
Variable message : 63 phrases
Fixed message
: 255 phrases
• Any data can be written to and read from a part in the voice flash memory.
• Serial microcontroller interface
• Source oscillation frequency : 4 MHz to 6 MHz
• Supply voltage
: 2.7 V to 3.6 V
• Operating temperature
: –10°C to 70°C
• Package :
30-pin plastic SSOP (SSOP30-P-56-0.65-K)(Product name : MSM9888LGS-AK)
1/14
y
Flash-driving Recording and Playback IC
ar
This version:MSM9888L
Jan. 1998
Previous version: May. 1997
in
¡ Semiconductor
MSM9888L
¡ Semiconductor
¡ Semiconductor
MSM9888L
BLOCK DIAGRAM
LOUT
AMON FIN
FOUT
AOUT ADIN
SG
LPF
LIN
ADC
DAC
CS
DI
DO
SG
TEST0
ADPCM/PCM
Analyzer/Synthesizer
MCU
I/F
ROM
512Kbit
MASK ROM
TEST1
TEST2
SCK
BUSY
AVDD
MON
AGND
DVDD
Flash Controller
Timing Controller
FRESET FPRT FCS FSCK
FDO
FDI
XT
XT
DGND
RESET
PIN CONFIGURATION (TOP VIEW)
SG
AMON
FIN
ADIN
FOUT
AOUT
AVDD
DVDD
CS
XT
XT
SCK
DO
DI
MON
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
AGND
LOUT
LIN
FRESET
FPRT
FCS
FSCK
FDI
FDO
DGND
BUSY
TEST2
TEST1
TEST0
RESET
30-Pin Plastic SSOP
2/14
¡ Semiconductor
MSM9888L
PIN DESCRIPTION
Pin
Symbol
I/O
Description
14
DI
I
Inputs the 8-bit command data.
13
DO
O
Outputs the 8-bit status data.
12
SCK
I
Inputs the data transfer clock for the DI and DO pins.
9
CS
I
20
BUSY
O
15
MON
O
Outputs "H" level during recording or playback.
Accepts the SCK pulse, when CS is "L" level. Does not accept the SCL pulse
when CS is "H" level.
Indicates "H" level during command execution. When driven high, do not input a
command from the external micro-controller.
23
FDI
O
1s connected to the DI pin of the serial voice flash memory.
22
FDO
I
1s connected to the DO pin of the serial voice flash memory.
24
FSCK
O
1s connected to the SCK pin of the serial voice flash memory.
25
FCS
O
1s connected to the CS pin of the serial voice flash memory.
26
FPRT
O
1s connected to the PRT pin of the serial voice flash memory.
27
FRESET
O
1s connected to the RESET pin of the serial voice flash memory.
10
XT
I
Oscillator connecting pins. When using an external clock, input the clock from
11
XT
O
the XT pin and keep the XT pin open.
The LSI is reset and starts oscillation when "L" level is input, keep "L" level during
16
RESET
I
1
SG
O
28
LIN
I
29
LOUT
O
Built-in OP amplifier's output pin
4
ADIN
I
Built-in 12-bit AD converter's input signal
2
AMON
O
3
FIN
I
5
FOUT
O
6
AOUT
O
17-19
TEST0-2
I
8
DVDD
—
21
DGND
—
7
AVDD
—
30
AGND
—
oscillation stabilization time. Set to "H" level after oscillation stabilizes.
Analog reference voltage (Signal Ground) output pin
Built-in OP amplifier's invention input pin. The non-invention input pin is
internally connected to SG.
Connected to the LOUT pin when recording mode, and to the DA converter's
output pin when playback mode. Connected to the built-in LPF's input (FIN pin).
Built-in LPF's input pin
Built-in LPF's output pin. Connected to the AD converter's input (ADIN pin).
Built-in LPF's output pin. This is the output pin the played back waveform and
connected to the speaker driving amplifier.
LSI testing pins. Fix to "L".
Digital power supply pin. Insert a bypass capacitor of 0.1mF or higher between
this pin and DGND pin.
Digital DGND pin
Analog power supply pin. Insert a bypass capacitor of 0.1mF or higher between
this pin and AGND pin.
Analog GND pin
3/14
¡ Semiconductor
MSM9888L
TIMING DIAGRAM
Flash driving Timing
MSB
LSB
FDI
FDO
FSCK
FCS
MCU I/F driving Timing
<When data write>
CS
First byte
MSB
DI
2
Second byte
3
4
5
6
7
LSB
MSB
2
3
4
MSB
2
3
4
Hi-Z
DO
SCK
BUSY
Data I/O not
permitted
<When data read>
CS
DI
DO
MSB
2
3
4
5
6
7
LSB
SCK
BUSY
Preparation for
output data
Next data can
be input
4/14
¡ Semiconductor
MSM9888L
APPLICATION CIRCUITS EXAMPLE
MCU
AVDD
DI
FDI
DI
DO
FDO
DO
SCK
FSCK
SCK
FCS
CS
FRESET
BUSY
MON
LIN
MSM9888L
RESET
FPRT
CS
RESET
MSM9891L
MSM9892L
MSM9893L
DVDD
PRT
MSC1157
AOUT
Voice input
SG
LOUT
AMON
XT
FIN
XT
FOUT
ADIN
TEST0
TEST1
TEST2
DGND
AGND
5/14
¡ Semiconductor
MSM9888L
COMMAND LIST
D7
D6
D5
D4
D3
NOP
0
0
0
0
0
0
0
0
No function
0
0
0
1
0
S2
S1
S0
Starts recording
0
0
C5
C4
C3
C2
C1
C0
REC
D2
D1
Function
Command
D0
0
0
1
0
0
0
0
M0 Starts playback
C7
C6
C5
C4
C3
C2
C1
C0
STOP
0
0
1
1
0
0
0
0
Terminates recording/playback.
PAUSE
0
1
0
0
0
0
0
0
Pauses or resets pause.
PLY
BLKRW
DTRW
DEL
PDWN
BYTEW
BYTER
0
1
0
1
0
0
0
D7
D6
D5
D4
D3
D2
D1
M1 Sets and reads the recording time.
D0
Reads data from or writes data to the flash memory.
0
1
1
0
Pb
Pa
P9
P8
P7
P6
P5
P4
P3
P2
P1
P0
0
1
1
1
0
0
0
0
0
0
C5
C4
C3
C2
C1
C0
1
0
0
0
0
0
0
0
Stops the clock to select the power-down mode.
1
0
0
1
0
0
0
B8
Writes the data written with W7-0 to the address
B7
B6
B5
B4
B3
B2
B1
B0
indicated by B8-0 to the flash memory buffer.
W7
W6
W5
W4
W3
W2
W1
W0
1
0
1
0
0
0
0
B8
Reads data inside the buffer at the address indicated by
Erases phrases.
B7
B6
B5
B4
B3
B2
B1
B0
B8-0.
WEND
1
0
1
1
0
0
0
0
Writes buffer data to the flash memory then quits.
END
1
1
0
0
0
0
0
0
Quits without writing buffer data to the flash memory.
1
1
1
0
1
0
1
0
Initializes the voice area part of the flash memory.
INIT
STATUS
0
0
0
0
0
0
F1
F0
U7
U6
U5
U4
U3
U2
U1
U0
1
1
1
1
1
1
1
1
Outputs the status.
C5 to C0 : Phrase No.
S2 to S1 : Sampling frequency
Pb to P0 : Page address on the flash memory
B8 to B0 : Block address on the flash memory
F1 to F0 : Type of flash memory connected
U7 to U0 : Number of user data blocks
X=don't care
6/14
¡ Semiconductor
MSM9888L
MODE0 setting
MODE1 setting
M0
Function
M1
0
Flash playback
0
1
ROM playback
Function
Sets the number of blocks to be
record/played back with D7-0.
1
Sets the channel recorded with D7-0 and
outputs the recording time.
Channel designation
Function
C7
C6
C5
C4
C3
C2
C1
C0
0
0
0
0
0
0
0
1
Phrase1
0
0
0
0
0
0
1
0
Phrase2
0
0
0
0
0
0
1
1
Phrase3
•
•
•
•
•
•
•
•
•
0
0
1
1
1
0
1
1
Phrase59
0
0
1
1
1
1
1
1
Phrase63
0
1
0
0
0
0
0
0
Phrase64 (ROM only)
•
•
•
•
•
•
1
1
1
1
1
1
1
1
Phrase254 (ROM only)
1
1
1
1
1
1
1
1
Phrase255 (ROM only)
Page designation
Pb Pa P9 P8 P7 P6 P5 P4 P3 P2 P1 p0
Function
0
0
0
0
0
0
0
0
0
0
0
0
Designates flash memory page 000h.
0
0
0
0
0
0
0
0
0
0
0
1
Designates flash memory page 001h.
0
0
0
0
0
0
0
0
0
0
1
0
Designates flash memory page 002h.
0
0
0
0
0
0
0
0
0
0
1
1
Designates flash memory page 003h.
•
•
•
•
•
•
•
•
•
•
•
•
1
1
1
1
1
1
1
1
1
1
0
1
Designates flash memory page FFDh.
1
1
1
1
1
1
1
1
1
1
1
0
Designates flash memory page FFEh.
1
1
1
1
1
1
1
1
1
1
1
1
Designates flash memory page FFFh.
7/14
¡ Semiconductor
MSM9888L
COMMAND DESCRIPTIONS
1) NOP
• Command
• Description
2) REC
• Command
0
0
0
0
0
0
0
0
Non-operation
No function available.
0
0
0
1
0
S2 S1 S0
C7 C6 C5 C4 C3 C2 C1 C0
• Description
Records the phrases designated by C7-C0 with the sampling frequency designated
by S2-S0.
• Others
Sampling frequency
S2
S1
S1
Function
0
0
0
2kHz
0
0
1
2.7kHz
0
1
0
3.2kHz
0
1
1
4kHz
1
0
1
5.3kHz
1
1
0
6.4kHz
1
1
1
8kHz
Phrase designation (1 to 63 phrases)
Function
C7
C6
C5
C4
C3
C2
C1
C0
0
0
0
0
0
0
0
1
Phrase1
0
0
0
0
0
0
1
0
Phrase2
0
0
0
0
0
0
1
1
Phrase3
•
•
•
•
•
•
•
•
•
0
0
1
1
1
1
1
0
Phrase62
0
0
1
1
1
1
1
1
Phrase63
8/14
¡ Semiconductor
3) PLY
• Command
0
0
MSM9888L
1
0
0
0
0
M0
C7 C6 C5 C4 C3 C2 C1 C0
• Description
Plays back the phrases recorded on the flash memory when M0 is "0".
Designate the phrases with C7-C0 (1 to 63 phrases).
Plays back the phrases in the mask ROM when M0 is "1".
Designate the phrases with C7-C0 (1 to 255 phrases).
4) STOP
• Command
• Description
5) PAUSE
• Command
• Description
6) BLKRW
• Command
0
0
1
1
0
0
0
0
Quits recording or playback.
0
1
0
0
0
0
0
0
Pauses recording or playback.
Restarts recording or playback if the PAUSE command is input again.
0
1
0
1
0
0
0
M1
D7 D6 D5 D4 D3 D2 D1 D0
Output
• Note
O7 O6 O5 O4 O3 O2 O1 O0
Outputs O7-O0 only when M1 is "1".
• Description
Designate the number of blocks to be recorded/played back withD7-D0 when
M1 is "0". Outputs, using O7-O0, the number of blocks that recorded the phrases
(1 to 63 phrases) designated with D7-D0.
• Blocks
The entire flash memory is divided into 256 blocks.
One-block size =
Flash memory size
256
(bits)
9/14
¡ Semiconductor
7) DTRW
• Command
0
1
MSM9888L
1
0
Pb Pa P9 P8
P7 P6 P5 P4 P3 P2 P1 P0
• Description
Selects the DTRW mode. Inputs data to or outputs data from the flash memory
page designated with Pb-P0. To reset the DTRW mode, input the WEND
command or END command. The flash memory consists of 264 bytes per page.
The number of pages on each flash memory is as follows:
M9891L
M9892L
M9893L
M9894L
1M
2M
4M
8M
Memory size
One-block size
Number of pages
8) DEL
• Command
• Description
9) PDWN
• Command
• Description
10) BYTEW
• Command
0
1
1
1
0
bits
bits
bits
bits
4224
8448
16896
33792
bits
bits
bits
bits
512
1024
2048
4096
Pages
Pages
Pages
Pages
0
0
0
C7 C6 C5 C4 C3 C2 C1 C0
Erases the phrases designated with C7-C0 (flash memory only).
1
0
0
0
0
0
0
0
Stops the clock and sets the power-down mode after the command is input. To
reset the power-down mode, input RESET.
1
0
0
1
0
0
0
B8
B7 B6 B5 B4 B3 B2 B1 B0
W7 W6 W5 W4 W3 W2 W1 W0
• Note
This command is valid only in DTRW mode.
• Description
Rewrites the content of the page designated with the DTRW command in units
of bytes. Designate the address in the page with B8-B0 and input data with W7W0.
10/14
¡ Semiconductor
11) BYTER
• Command
1
0
MSM9888L
1
0
0
0
0
B8
B7 B6 B5 B4 B3 B2 B1 B0
Output
• Note
• Description
12) WEND
• Command
O7 O6 O5 O4 O3 O2 O1 O0
This command is valid only in DTRW mode.
Reads the content of the page designated with the DTRW command in units of
byte. When the address in the page is designated with B8-B0, data is output after
the command input.
1
0
1
1
0
0
0
0
• Note
This command is valid only in DTRW mode.
• Description
Writes the content of the page designated with the DTRW command to the flash
memory then exits the DTRW mode.
13) END
• Command
1
1
0
0
0
0
0
0
• Note
This command is valid only in DTRW mode.
• Description
Exits the DTRW mode without writing the content of the page designated with
the DTRW command to the flash memory.
11/14
¡ Semiconductor
14) INIT
• Command
MSM9888L
1
1
1
0
1
0
1
0
0
0
0
0
0
0
F1 F0
U7 U6 U5 U4 U3 U2 U1 U0
• Description
Initializes the area that eliminates the number of blocks designated with U7-U0)
from the end of the flash memory blocks as the recording/playback area. Also,
selects the type of the flash memory with F1-F0.
Block No..
00H
Voice area
0FFh - U
0FFh - U + 1
User area
0FFh
F1 F0
Flash memory size
Product name
0
0
1Mbits
MSM9891L
0
1
2Mbits
MSM9892L
1
0
4Mbits
MSM9893L
1
1
8Mbits
MSM9894L
12/14
¡ Semiconductor
15) STATUS
• Command
Output
• Description
1
1
MSM9888L
1
1
1
1
1
1
O7 O6 O5 O4 O3 O2 O1 O0
Outputs the M9888 status.
O7; MON
Outputs "1" during execution of the REC or PLY command. It includes the
memory management time in addition to the recording/playback time. Also,
outputs the same value as that of the MON pin.
O6; VPM
Outputs "1" during pause.
O5; RPM
Outputs "1" during actual recording by the REC command or during voice
output by the PLT command. Otherwise, "0" is output.
O3; MEMFUL
Outputs "1" when there is no voice area on the flash memory.
O2; NAR
Outputs "0" when the next phrase can be input during continuous voice
playback.
O4, O1, and O0 have no function.
13/14
¡ Semiconductor
MSM9888L
PACKAGE DIMENSIONS
(Unit : mm)
SSOP30-P-56-0.65-K
Mirror finish
Package material
Lead frame material
Pin treatment
Solder plate thickness
Package weight (g)
Epoxy resin
42 alloy
Solder plating
5 mm or more
0.19 TYP.
Notes for Mounting the Surface Mount Type Package
The SOP, QFP, TSOP, SOJ, QFJ (PLCC), SHP and BGA are surface mount type packages, which
are very susceptible to heat in reflow mounting and humidity absorbed in storage.
Therefore, before you perform reflow mounting, contact Oki’s responsible sales person for the
product name, package name, pin number, package code and desired mounting conditions
(reflow method, temperature and times).
14/14