PEDL22330FULL-06
Issue Date:Feb. 15, 2010
ML22Q330/330/Q331/331
ADPCM Speech Synthesis LSI
Preliminary
GENERAL DESCRIPTION
The ML22330/ML22Q330/ML22331/ML22Q331, which include mask ROM and Flash memory for storing speech data,
respectively, are speech synthesis LSIs which can controll speech playback utilizing a serial interface.
It includes speaker amplifier and 16bit DA Converter, so it is possible to have high quality sound and solution for playback with
1chip.
FEATURES
•
Playback Time
Product Name
ML22Q330/330
ML22Q331/331
Capasitance
of ROM(bit)
640K
896K
Maximum Playback time(s)
(Fsam=8.0kHz)
HQ-ADPCM
4bitADPCM2
16bitPCM
20
5
―
35
28
7
•
Speech sysnthesis system:
•
Speech ROM capacity
•
Sampling frequency:
•
Analog output:
•
Interface:
•
Sequencer output function:
•
Maximum event count:
•
Input pin setting:
•
Output pin setting:
•
•
•
•
•
•
Source oscillation frequency:
Power supply voltage:
Flash memory rewrite cycles
Operating temperature range:
Package:
Product name:
4-bit ADPCM2
8-bit/16-bit straight PCM system
8-bit nonlinear PCM system
HQ-ADPCM (*1) (ML22Q331/331)
(can be specified for each phrase)
ML22330:
640-Kbit Mask ROM (TBD)
ML22Q330: 640-Kbit Flash (TBD)
ML22331:
896-Kbit Mask ROM (TBD)
ML22Q331: 896-Kbit Flash (TBD)
8.0/16.0 /32.0kHz, 6.4/12.8/25.6 kHz/, 10.7/21.3 kHz
(fsam can be specified in units of phrase)
Built-in 16-bit DA converter
Synchronous serial interface
MSB first, LSB first, or default level of synchronous clock is selectable based on ROM data
16 types
30 events
High-impedance input (CMOS input), pull-down input, or pull-up input is selectable based
on ROM data
High-impedance output, CMOS output, Pch open drain output, Nch open drain output, or
LED drive is selectable based on ROM data
4.096 MHz (Typ.)
2.3V to 5.5V
80 times (ML22Q330/Q331)
−40°C
to +85°C
30-pin plastic SSOP (SSOP30-56-0.65-6K)
ML22330-xxxMB (xxx: ROM code number)
ML22331-xxxMB (xxx: ROM code number)
ML22Q330-NNNMB/ML22Q330-xxxMB(xxx: ROM code number)
ML22Q331-NNNMB/ML22Q331-xxxMB(xxx: ROM code number)
(*1)
HQ-ADPCM is audio compression technology featuring high-quality sound. It was developed by “Ky’s”.
“Ky’s” is a registered trademark of Kyushu Institute of Technology, one of the national universities in Japan.
1/30
PEDL22330FULL-06
ML22Q330/330/Q331/331
DESCRIPTION OF FUNCTIONS
Event Activation
When CSEL pin is changed from “H” into “L”,power-down is released and the event number specified with SIN0 pin is internally
captured by SCK0 and the event execution according to the number is started.
Disconnection Detection
Set the event1 (EVIN0=“H”, EVIN1-4=“L”) , operate the disconnection detection. If disconnection detection, the “ERR” pin
output “H”. And the 100ms “H” pulse is output right after the event start.
During the event operating, the disconnention detecction can’t be operated.
Thermal Detection
In the case of setting the thermal detection mode, if higher temperature than the judgement temperature, the “ERR” pin output
“H”.
Edit Phrase
Two or more voice phrases are joined and it can be played continuously. Moreover, the silent section can be inserted between
voice phrases.
2/30
PEDL22330FULL-06
ML22Q330/330/Q331/331
Setting of Mask Option
The following table shows the items which can be set by using the Mask option (ROM data):
Parameter
Setting of the internal speaker amplifier
Setting of thermal detection
Setting of judgement temperature
SCK0 pin setting
SIN0 pin setting
Setting of the initial value of SEQ3-6 pin
output
Setting of SEQ3-6 pin output
Setting value
Use or unuse of the internal speaker amplifier selectable
Use or unuse of thermal detection selectable
150°C or 125°C or 100°C selectable
“H” input or “L” input of default selectable
LSB first or MSB first selectable
“L” output, or “H” output state selectable
(SEQ0 pin can specify only the “L” output)
CMOS output, Nch open drain, Pch open drain, high-impedance or LED drive pin
selectable
(SEQ0 pin can specify only the CMOS output)
Use or unuse of the SEQ output of SEQ0-6 pins selectable
(SEQ0 pin can specify only the “use”)
4-bit ADPCM2 / 8-bit/16-bit straight PCM system
8bit nonlinear PCM
HQ-ADPCM (apply to ML22Q341/341)
8.0/16.0 /32.0kHz, 6.4/12.8/25.6 kHz/, 10.7/21.3 kHz
Play once mode, scheduled play mode and change immediately mode can be
selected for each execution event.
SEQ pattern: 01h to 10h selectable
SEQ pattern 01h to 08h : Level Output
SEQ pattern 09h to 0Ch : Pulse Output
SEQ pattern 0Dh to10h : Edit silent/sound detection output with edit playback
0 to 1020 ms ((00h~FFh)×4ms) selectable
1 to 256 times ((00h~FFh)+1 times) output selectable
4 to 1024 ms ((00h~FFh)×4ms+4ms) selectable
Setting of use or unuse of SEQ3-6 pins
Speech synthesis system
Sampling frequency
Event execution mode
Setting of the SEQ output pattern of SEQ3-6
pins
Transfer time for pop noise elimination, play
start, and power down: WS1 ~ WS4
Setting of the count of Pulse output of SEQ
output pattern
Delay time / Pulse width of SEQ output
pattern: t
SEQD
/t
SEQW
And volume setting is as follows.
Setting value
00h
01h
02h
03h
04h
05h
06h
07h
08h
09h
Volume [dB]
+2.98
+2.70
+2.40
+2.10
+1.78
+1.45
+1.11
+0.76
+0.39
+0.00
Setting value
0Ah
0Bh
0Ch
0Dh
0Eh
0Fh
10h
11h
12h
13h
14h
Volume [dB]
-0.41
-0.83
-1.28
-1.75
-2.25
-2.77
-3.34
-3.94
-4.58
-5.28
-6.04
Setting value
15h
16h
17h
18h
19h
1Ah
1Bh
1Ch
1Dh
1Eh
1Fh
Volume [dB]
-6.87
-7.79
-8.82
-9.99
-11.34
-12.94
-14.90
-17.44
-21.04
-27.31
OFF
3/30
PEDL22330FULL-06
ML22Q330/330/Q331/331
Event contents
There are three kinds of event contents, Stop (00h), Disconnection Detection (01h), and Play (02h~1Fh), as follows.
EVENT
No.
00h
01h
02h
03h
04h
05h
06h
07h
:
:
18h
19h
1Ah
1Bh
1Ch
1Dh
1Eh
1Fh
Contents
Stop
Disconnection Detection
Play
↑
↑
↑
↑
↑
:
:
↑
↑
↑
↑
↑
↑
↑
↑
4/30
PEDL22330FULL-06
ML22Q330/330/Q331/331
BLOCK DIAGRAM
ML22Q330-NNN/ML22Q331-NNN
V
DD
GND
V
DDL
Regulator
Address
Controller
16bit
Multiplexer
640Kbit(896Kbit)
Flash
VPP
CSEL
SCK0
SIN0
SPI
Interface
Phrase
Address Latch
16bit
Address Counter
ADPCM/PCM
Synthesizer
LPF
TEST
SEQ6/LED3
SEQ5/LED2
SEQ4/LED1
SEQ3/LED0
SEQ0
ERR
Timing
Controller
SEQ
Interface
OSC
16bit DAC
SP
AMP
SPV
DD
SPGND
SPM
SPP
RESET_N
OSC0
OSC1 AOUT
SG
SPIN
():Applies to ML22Q331
5/30