ML22Q234 [ROHM]
ML22Q234/244/254仅需从MCU输入简单的指令即可轻松播放语音。具有时钟同步串行接口、独立型接口和I2C接口,可满足客户不同的需求。另外,不仅具备高音质、高压缩算法HQ-ADPCM、振荡电路、1W单声道D类扬声器放大器等语音输出所需的功能,还具有改写来自MCU的语音数据的功能。仅需添加本LSI,即可轻松实现语音功能。;型号: | ML22Q234 |
厂家: | ROHM |
描述: | ML22Q234/244/254仅需从MCU输入简单的指令即可轻松播放语音。具有时钟同步串行接口、独立型接口和I2C接口,可满足客户不同的需求。另外,不仅具备高音质、高压缩算法HQ-ADPCM、振荡电路、1W单声道D类扬声器放大器等语音输出所需的功能,还具有改写来自MCU的语音数据的功能。仅需添加本LSI,即可轻松实现语音功能。 时钟 放大器 PC 高压 |
文件: | 总48页 (文件大小:1162K) |
中文: | 中文翻译 | 下载: | 下载PDF数据表文档文件 |
FEDL22Q234-02
Issued: Jun. 20, 2022
ML22Q234
ADPCM Speech Synthesis LSI
■ GENERAL DESCRIPTION
ML22Q234 is a speech synthesis LSI that incorporates Flash for storing sound code data, and can be controlled with a
Clock synchronization Serial interface.
By integrating D-class speaker amplifier, solution required for sound output is made possible with single chip.
● Playback time
Maximum playback time (sec) (at fs*1 = 6.4 kHz)
Product name
ML22Q234
Flash capacity (bit)
HQ-ADPCM
16-bit Straight PCM
676K
(when 30 phrases
are selected)
672K
33.8
6.88
(when 62 phrases
are selected)
33.6
6.72
Note: Flash capacity shows the numerical value of only a sound area
*1: Sampling frequency
● Speech synthesis algorithm:
HQ-ADPCM
4-bit ADPCM2
8-bit Nonlinear PCM
8-bit / 16-bit Straight PCM
(Can be specified for each phrase)
● Flash capacity:
● Sampling frequency (Fs):
676 Kbit (30 phrases selection),672 Kbit (62 phrases selection)
6.4kHz,8.0kHz,10.7kHz,12.8kHz,16.0kHz,
21.3kHz,25.6kHz,32.0kHz
(Can be specified for each phrase)
● Speaker driving amplifier:
● CPU command interface:
D-class amplifier (driven by 8 Ω)
Clock synchronization Serial interface
30 phrases or 62 phrases
● Maximum number of pharases:
● Disconnection detection function
● Speaker pin short detection function
● Source oscillation frequency:
● Power supply voltage:
8.192MHz (Typ) (internal)
2.0 to 5.5 V
● Flash memory access function by MCU
● Flash memory rewritable time:
● Operating temperature range:
● Package:
100 times
-40°C~+85°C
20-pin plastic TSSOP
ML22Q234-NNNTD/ML22Q234-xxxTD
(xxx: ROM code No.)
HQ-ADPCM is a high sound quality audio compression technology of "Ky's".
"Ky's" is a Registered trademark of National Universities corporate Kyushu
Institute of Technology
*1
1/48
FEDL22Q234-02
ML22Q234
The following table shows the differences from ML22Q244, ML22Q254.
Parameter
MCU interface
ML22Q234 (This product)
ML22Q254
I2C
ML22Q244
Clock synchronization Serial
Standalone
676 Kbit (when 30 phrases
are selected)
692 Kbit (when 30
phrases are selected)
Flash capacity
←
672 Kbit (when 62 phrases
are selected)
688 Kbit (when 62
phrases are selected)
HQ-ADPCM
4-bit ADPCM2
Speech synthesis algorithm
8-bit Nonlinear PCM
8-bit Straight PCM
16-bit Straight PCM
←
←
Maximum number of phrases:
Sampling frequency (kHz)
30/62
←
←
←
←
6.4/8.0/10.7/12.8/
16.0/21.3/25.6/32.0
8.192 MHz (internal
oscillation)
Clock frequency
←
←
Low-pass filter
FIR interpolation filter
D-class amplifier
←
←
←
←
Speaker driving amplifier
Speaker driving amplifier output
load
8Ω
←
←
Speaker driving amplifier output
voltage
1 W
Yes
←
←
←
←
Edit ROM function
Code setting : 32 levels
(Including Mute)
Code setting : 32 levels
(Including Mute)
Volume control
←
Command setting : 31 levels
4 ms to 1024 ms
(4 ms/step)
Silence insertion
Repeat function
←
←
←
←
←
Yes
Yes
Flash memory access function by
MCU
No
Power supply voltage
Operating temperature range
Package
2.0 to 5.5 V
-40 to +85°C
←
←
←
←
←
←
20-pin plastic TSSOP
2/48
FEDL22Q234-02
ML22Q234
■ BLOCK DIAGRAMS
DVDD
Address
Regulator
16bit
Multiplexer
676Kbit
Flash
DGND
VDDL
Controller
Phrase
Address Latch
16bit
Address Counter
ADPCM/PCM
Synthesizer
SPI
CSB
SCK
SI
Interface
LPF
TEST0
SPVDD
TEST1_N
SPGND
Timing
Controller
BUSYB
D-class
Speaker
Amplifier
OUTPUT
Interface
SPM
SPP
OSC
(internal)
RESET_N
3/48
FEDL22Q234-02
ML22Q234
■ PIN CONFIGURATIONS (TOP VIEW)
20-Pin Plastic TSSOP
RESET_N
NC
1
2
20
19
SPP
SPM
3
18 NC
SPGND
SPVDD
4
17
16
15
14
13
12
11
TEST0
TEST1_N
SCK
BUSYB
DGND
VDDL
5
6
7
SI
DVDD
NC
CSB
8
9
NC
NC
10
NC
NC:Unused pin
4/48
FEDL22Q234-02
ML22Q234
■ PIN DESCRIPTION
Initial value
(At the
RESET_N
Input)
Initial value
(At
standby)
Pin
Symbol
I/O
Description
1
2
3
SPP
SPM
O
O
-
Hi-Z
Hi-Z
-
Hi-Z
Hi-Z
-
Positive (+) output pin of the speaker amplifier built-in
Negative (-) output pin of the speaker amplifier built-in.
SPGND
Ground pin for the speaker amplifier.
Power supply pin for the speaker amplifier
Connect a bypass capacitor of 1 µF±30% or more between this pin and
4
SPVDD
-
-
-
SPGND pin.
BUSY output pin. When BUSYB use mode is set, the "L" level is outputted
during playback. When disconnection is detected with disconnection
detection function, and command processing in flash memory access
mode, the "L" level is outputted.
*1
5
BUSYB
O
Hi-Z
BUSYB unused mode and logic inversion can be set with Speech LSI
Utility.
6
7
DGND
VDDL
-
-
-
-
-
-
Digital ground pin.
Regulator output pin for internal logic circuitry.
Connect a capacitor of 1 µF±30% between this pin and DGND pin
Digital power supply pin.
Connect a capacitor of 1 µF±30% or more between this pin and DGND
pin.
Chip select pin.
Internal oscillation starts in response to turning “H” level down to “L” level,
and input through Clock synchronization Serial interface becomes
available. Pull-up resistor is built in.
8
DVDD
CSB
-
I
-
-
13
1
1
14
15
SI
I
I
1
1
Input pin for Clock synchronization Serial interface data.
Input pin for Clock synchronization Serial interface clock.
Initial value can be inverted by Speech LSI Utility.
*1
*1
SCK
Input pin for testing. This pin has a pull-up resistor built in. Fix this pin to
16
17
TEST1_N
TEST0
I
1
0
1
0
DVDD
.
I/O
Input/output pin for testing. Leave this pin open.
Reset pin.
Input “L” level for initialization, when power is turned on, or when voltage
falls below recommended operation power supply voltage range. After the
power supply voltage is stable, drive this pin to “H” level.
20
RESET_N
I
0
1
9
10
11
12
18
19
Unused pin.
N.C.
-
-
-
Leave this pin open.
*1: This value depends on Speech LSI Utility setting. Please refer to a "Code Option Setting Item" for details.
5/48
FEDL22Q234-02
ML22Q234
■ ABSOLUTE MAXIMUM RATINGS
(DGND = SPGND = 0 V)
Parameter
Symbol
Condition
Rating
Unit
DVDD
SPVDD
Power supply voltage
-0.3 to + 6.5
-0.3 to +2.0
V
Internal logic power supply
voltage
Ta = 25 °C
VDDL
V
Input voltage
VIN
PD
-0.3 to VDD +0.3
1
V
Power dissipation
W
Applied to pin other than SPP or
SPM
ISC1
-12 to +11
mA
Output short-circuit current
Storage temperature
ISC2
SPP pin, SPM pin
-
600
mA
°C
TSTG
-55 to +150
■ RECOMMENDED OPERATING CONDITIONS
(DGND = SPGND = 0 V)
Parameter
Symbol
Condition
-
Range
Unit
2.0 to 5.5
2.2 to 5.5
DVDD
SPVDD
Power supply voltage
V
Flash memory write
Flash memory rewrite cycles *1
Operating temperature range
N
-
100
times
°C
TOP1
TOP2
-
-40 to +85
0 to +40
Flash memory write
Capacitor externally connected
to DVDD pin
Capacitor externally connected
to SPVDD pin
CV
-
-
1±30% or more
1±30% or more
μF
μF
CSV
Capacitor externally connected
to VDDL pin
CL
-
-
1±30%
15
μF
FLASH Memory write cycle
YDR
years
*1: It means one erase and one program. Even when erasing is interrupted, it counts as one time.
6/48
FEDL22Q234-02
ML22Q234
■ ELECTRICAL CHARACTERISTICS
● DC Characteristics
DVDD = SPVDD = 2.0 to 5.5 V, DGND = SPGND = 0 V, Ta = -40 to +85°C
Parameter
“H” input voltage
“L” input voltage
“H” output voltage 1
“L” output voltage 1
“H” input current 1
Symbol
VIH
VIL
VOH1
VOL1
IIH1
Condition
Min.
0.7 × DVDD
Typ.
Max.
DVDD
0.3 × DVDD
Unit
V
V
V
V
-
-
-
-
-
-
-
0
IOH = -0.5 mA
IOL = 0.5mA
VIH = DVDD
DVDD-0.5
-
0.5
1
-
-
µA
VIH = DVDD
TEST0 pin
VIL = DGND
“H” input current 2
“L” input current 1
“L” input current 2
IIH2
IIL1
IIL2
0.02
-1
0.3
-
1.5
-
mA
µA
VIL = DGND
-1.5
-0.3
-0.02
mA
RESET_N pin, TEST1_N
VIL = DGND
CSB pin
VOH= DVDD= SPVDD
(High impedance)
BUSYB,SPP,SPM pin
VOH= DVDD
“L” input current 3
“H” output current 1
IIL3
-250
-
-30
-
-2
1
µA
µA
IOOH1
“H” output current 2
“L” output current 1
“L” output current 2
IOOH2
IOOL1
IOOL2
(Nch Open drain)
BUSYB pin
VOL=DGND=SPGND
(High impedance)
BUSYB,SPP,SPM pin
VOL=DGND
-
-
-
-
1
-
µA
µA
µA
-1
-1
(Pch Open drain)
BUSYB pin
-
No output load
DVDD= SPVDD=3.0 V
No output load
DVDD= SPVDD=5.0 V
IDD1
IDD2
-
-
-
3.0
5.0
2.0
6.0
9.0
3.5
Supply current during
playback
mA
Supply current during
stabilizing chattering
IDDC1
DVDD= SPVDD= 5.0 V
mA
µA
IDDS1
IDDS2
Ta ≤ 50°C
Ta ≤ 85°C
-
-
0.5
0.5
3.0
8.0
Standby supply current
-10 to +50°C
-40 to +85°C
8.069
7.946
8.192
8.192
8.315
8.438
Source oscillation frequency
fOSC
MHz
● Characteristics of Analog Circuitry
DVDD = SPVDD = 2.0 to 5.5 V, DGND = SPGND = 0 V, Ta = -40 to +85°C
Parameter
SPM, SPP output load
resistance
Symbol
RLSP
Condition
Min.
Typ.
Max.
Unit
-
8
-
-
Ω
Speaker amplifier output
voltage
SPVDD = 5.0 V, Sin wave f = 1 kHz
PSPO
-
1.0
-
W
RLSP = 8 Ω, THD ≥ 10%
● Power-on/Shutdown Sequence
DVDD = SPVDD = 2.0 to 5.5 V, DGND = SPGND = 0 V, Ta = -40 to +85°C
Parameter
Symbol
Condition
Min.
Typ.
Max.
Unit
RESET_N input pulse width
at Power on
tRSTR
-
100
-
-
µs
RESET_N input pulse width
at shut down
tRSTF
-
0
-
-
µs
7/48
FEDL22Q234-02
ML22Q234
● AC Characteristics
DVDD = SPVDD = 2.0 to 5.5 V, DGND = SPGND = 0 V, Ta = -40 to +85°C
Parameter
Initialization time after reset release
Symbol
tINIT
Condition
Min.
-
Typ.
Max.
Unit
ms
ms
µs
-
-
-
-
-
-
-
-
-
-
-
65
-
tESCK1
tESCK2
tCSH
Oscillation stop
2
SCK input enable time from CSB fall edge
Oscillating
10
-
SCK hold time from CSB rise edge
Data setup time from SCK rise edge
Data hold time from SCK rise edge
SCK cycle
-
-
-
-
-
-
-
200
50
-
ns
tDIS
-
ns
tDIH
50
-
ns
tSCYC
tSCKH
tSCKL
tVCYC
500
200
200
20
-
ns
SCK “H” level pulse width
SCK “L” level pulse width
Playback time
-
ns
-
ns
-
ms
BUSYB change time from "H" to "L", after a command
is inputted
tCB
-
-
-
400
µs
CSB “H” level pulse width
tCSW
-
-
1
-
-
-
-
ms
µs
Oscillation stop time, after playback
tOSST
500
Next command transmit timeꢀ
In the case of the playback
tNCM
tDCDS
tDCDE
tSD
-
-
-
-
-
1.5
-
-
-
-
-
10
-
ms
ms
s
Disconnection judging by the DISCONNECT command
start time
Disconnection judging by the DISCONNECT command
end time
1
BUSYB change time from "L" to "H", after over-current
detection of a speaker amplifier
-
80
µs
Processing time before playback start
Processing time after playback start
tPLBF
tPLAF
-
-
0.3
-
-
2.1
1.2
ms
ms
0.15
Fade-out time at Change Immediately mode or Change
Immediately Once mode
tFDO
-
-
22
-
ms
Note: Output pin load capacitance = 45 pF (max.)
8/48
FEDL22Q234-02
ML22Q234
● AC Characteristics (Flash memory access mode)
DVDD=SPVDD=2.2~5.5V,DGND=SPGND=0V,Ta=0~+40°C
Parameter
BUSYB change time from "H" to "L", after a command
is inputted
Symbol
Condition
Min.
Typ.
Max.
Unit
tFCB
-
-
50
µs
Command execution time
tFCP
tFER
tFCS
-
-
-
-
-
-
15
2.4
45
µs
s
Flash memory erase time
Checksum confirmation time
ms
Flash memory write verify processing time
(256 bytes input)
In Flash memory
access mode
tFWV
tFV
-
-
-
-
9
ms
ms
Flash memory verify time
(256 bytes input)
2.2
Sound code data transmission interval
tFDI
7
7
-
-
-
-
µs
µs
CSB hold time after voice code data transmission
tFCSH
Wait time for accepting the next command after
command processing
tFCE
0
-
-
µs
Note: Output pin load capacitance = 45 pF (max.)
9/48
FEDL22Q234-02
ML22Q234
■ PLAYBACK FUNCTION
●
Clock synchronization Serial interface data.
The CSB, SCK, SI pins are used to input the command data.
Driving the CSB pin from “H” to “L” level enables the serial MCU interface.
After the CSB pin becomes “L” level, the command is input through the SI pin from the MSB or LSB synchronized with
the SCK clock. The command shifts in through the SI pin at the rising edge of the SCK clock pulse. Then, a command is
executed at the rising edge of the eighth pulse of the SCK clock when 1-byte command is selected and the 16th pulse of
the SCK clock when 2-byte command is selected.
After a command input, should return the CSB pin to "H" level.
The initial value of the SCK pin, MSB/LSB of the SI pin data input, and 1-byte command/2-byte command are all chosen
with Speech LSI Utility.
Please refer to a "Code Option Setting Item" for details.
Input timing when 1-byte command is selected
•Normal (“H” Level),MSB fast selected
CSB
SCK
D7 D6 D5 D4 D3 D2 D1 D0
(MSB) (LSB)
SI
•Reversal (“L” Level),LSB fast selected
CSB
SCK
D0 D1 D2 D3 D4 D5 D6 D7
(LSB) (MSB)
SI
Input timing when 2-byte command is selected
•Normal (“H” Level),MSB fast selected
CSB
SCK
D15 D14 D13 D12 D11 D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 D0
(MSB) (LSB) (MSB) (LSB)
SI
1st byte.
2nd byte.
•Reversal (“L” Level),LSB fast selected
CSB
SCK
D8 D9 D10 D11 D12 D13 D14 D15 D0 D1 D2 D3 D4 D5 D6 D7
(MSB) (LSB)
SI
1st byte.
2nd byte.
(LSB)
(MSB)
10/48
FEDL22Q234-02
ML22Q234
● Speech synthesis algorithm
Supporting four types of Speech Synthesis algorithms, which are HQ-ADPCM, 4bit ADPCM2, 8-bit nonlinear PCM,
8-bit Straight PCM, and 16-bit Straight PCM. Any of these can be selected based on the characteristics of the sound to be
played back.
Speech Synthesis Compression
Suitable waveform
Characteristics
algorithm
rate*1
Sound including high
frequency components
4bit ADPCM2 algorithm is improved. Adopting
variable bit length enables high sound quality and
high data compression.
HQ-ADPCM
1/5
(such as sound effects)
Unique scheme which is a refined version of 4bit
4-bit ADPCM2
1/4
1/2
Normal voice sound wave ADPCM Offers higher sound quality with better
waveform followability.
A part around the center of the waveform is played
back with a sound quality equivalent to 10 bits.
8-bit Nonlinear PCM
Sound including high
frequency components
8-bit Straight PCM
16-bit Straight PCM
1/2
1
Normal 8-bit Straight PCM.
(such as sound effects)
Normal 16-bit Straight PCM.
*1: When the same sampling frequency is used.
● Memory Allocation and Creating Sound code Data
The sound code data consists of a sound management area, a sound data area, and an edit ROM area.
The sound control area manages setting infomation of 30 phrases or 62 phrases.
The sound area contains actual waveform data.
The edit ROM area contains data for effective use of sound data. For the details, refer to the section of “Edit ROM
Function”. The edit ROM area only available when the edit ROM is used.
The ROM data is created using Speech LSI Utility.
The 30 or 62 phrases can be switched using the Speech LSI Utility.
Please refer to a "Code Option Setting Item" for details.
Sound code data configuration (30 phrase selection)
Sound code data configuration (62 phrase selection)
0x00000
0x00000
Sound control area
0x001FF
0x00200
Sound control area
0x003FF
0x00400
Sound data area /
Edit ROM area*1
Sound data area /
Edit ROM area*1
0x153FF
0x153FF
*1: Edit ROM area depends on creation of the data
11/48
FEDL22Q234-02
ML22Q234
● Playback Time and Flash Capacity
The playback time depends on the memory capacity, sampling frequency, and the playback method. The equation to
know the playback time is shown below. But this is not applied if the edit ROM function is used.
1.024 × (Voice data area/Edit ROM area)(Kbit)
Playback time [sec]=
Sampling frequency [kHz] × Bit length
(Bit length is 3.2 at the HQ-ADPCM, 4 at the 4-bit ADPCM2 and 8/16 at the PCM.)
In the case that the sampling frequency is 8 kHz, algorithm is HQ-ADPCM, the playback time is as follows.
When 30 phrases are selected
1.024 × 676(Kbit)
≈ 27.0 [sec])
≈ 26.9 [sec])
Playback time=
8(kHz) × 3.2(bit)
When 62 phrases are selected
1.024 × 672(Kbit)
8(kHz) × 3.2(bit)
Playback time=
Make the playback time of one phrase more than 20 msec.
12/48
FEDL22Q234-02
ML22Q234
● Edit ROM function
The edit ROM function makes it possible to play back multiple phrases in succession. The following functions are set
using the edit ROM function:
• Continuous playback: There is no limit to set the number of times of the continuous playback. It depends on the
Flash capacity only.
• Silence insertion function: 4 ms to 1,024 ms
*Note: Silent insertion time varies for ±1 ms depends on the sampling frequency.
An independent phrase generated by edit ROM shall be 20 ms or longer.
It is possible to use sound ROM effectively to use the edit ROM function.
An example of the ROM structure, in a case of using the edit ROM function is as follows.
Example 1) Phrases using the Edit ROM Function
Phrase 2
Phrase 3
Phrase 4
Phrase 5
Phrase 6
Phrase 7
A
B
C
D
D
A
E
B
C
D
D
E
D
A
B
D
Silence (4 ms)
E
C
Silence (20 ms)
Example 2) Structure of the ROM storing contents of Example 1 (When 30 phrases are selected)
Sound control area
0x00200
A
B
D
C
Sound data area
E
Edit ROM area*1
*1:Information on phrases 2 to 7 stored
0x153FF
13/48
FEDL22Q234-02
ML22Q234
● Playback mode setup
Five playback modes are available. Can be set up for every phrase.
Set when the sound code data is generated.
Play Once mode
This mode is playback once.
All the commands become invalid during playback.
Phrase(m)
Phrase(n)
SI
BUSYB*1
Sound output
Status
Good morning
Awaiting
Playing Phrase(m)
Standby
*1:When used with default “H” level, CMOS output
command
Command
Standby
Next command must be input in the standby state after the playback ends.
Phrase(m)
Phrase(n)
SI
BUSYB*1
Sound output
Status
Good morning
Good afternoon
Awaiting
command
Awaiting
command
Playing Phrase(m)
Playing Phrase(n)
Command
Command
Standby
Standby
Standby
*1:When used with default “H” level, CMOS output
Scheduled Play Once mode
This mode is playback once.
When the next command is inputted during playback, after playback of the present phrase ends, playback of the next
command starts.
Phrase(m)
Phrase(n)
SI
BUSYB*1
Sound output
Status
Good morning
Good afternoon
Awaiting
command
Playing Phrase(m)
Playing Phrase(n)
Standby
Command
Standby
*1:When used with default “H” level, CMOS output
When a plurality of commands are inputted, the last command input at the end of the command is valid.
In the following case, the phrase (n) is not played back because the last command is STOP command.
Phrase(m)
Phrase(n)
STOP
SI
BUSYB*1
Sound output
Status
Good morning
Awaiting
Playing Phrase(m)
Command
Standby
command
Standby
*1:When used with default “H” level, CMOS output
14/48
FEDL22Q234-02
ML22Q234
Change Immediately Once mode
This mode is for playing back once.
When the following phrase is inputted into playback, playback of the present phrase is ended on the way, and playback of
the following phrase starts.
Phrase(m)
Phrase(n)
SI
BUSYB*1
Sound output
Status
Good morning
Good afternoon
Awaiting
command
Playing Phrase(n)
Fading out
Standby
Playing Phrase(m)
*1:When used with default “H” level, CMOS output
Command
Standby
When a plurality of commands are inputted, the last command input at the end of the phrase is valid.
In the following case, the last input phrase (o) is played back.
Phrase(m)
Phrase(n)
Phrase(o)
SI
BUSYB*1
Sound output
Status
Good morning
Good evening
Awaiting
command
Playing Phrase(o)
Fading out
Playing Phrase(m)
Standby
*1:When used with default “H” level, CMOS output
Command
Standby
Scheduled Play mode
Once the playback starts, it is repeated until the next command is input.
The next command input during the playback is executed after the playback ends.
When a plurality of commands are inputted, the last command input at the end of the phrase is valid, as in Scheduled Play
Once.
Phrase(m)
SI
STOP command
BUSYB*1
Sound output
Status
Good morning
Good morning
Awaiting
command
Playing Phrase(m)
Playing Phrase(m)
Standby
Command
Standby
*1:When used with default “H” level, CMOS output
Change Immediately mode
Once the playback starts, it is repeated until the next command is input.
When the next command is inputted, the phrase being played back is terminated, and the next command is executed.
When a plurality of commands are inputted, the last command input at the end of the phrase is valid, as in Change
Immediately Once.
Phrase(m)
STOP command
SI
BUSYB*1
Sound output
Status
Good morning
Good morning
Awaiting
command
Playing Phrase(m)
Playing Phrase(m)
Standby
Command
Fading out
*1:When used with default “H” level, CMOS output
Standby
● Volume setup function
15/48
FEDL22Q234-02
ML22Q234
Each phrase can set up the volume setup.
The volume is set when sound code data is generated and when PHRASE command is input.
For the setting of volume when PHRASE command is input, refer to “PHRASE command” in Description of Command
Functions.
The relationship between the setting and volume at the time of generating sound code data is as follows.
Value
00h
01h
02h
03h
04h
05h
06h
07h
08h
09h
Volume [dB]
+2.98
Value
0Ah
0Bh
0Ch
0Dh
0Eh
0Fh
10h
11h
12h
13h
14h
Volume [dB]
-0.41
Value
15h
16h
17h
18h
19h
1Ah
1Bh
1Ch
1Dh
1Eh
1Fh
Volume [dB]
-6.87
+2.70
-0.83
-7.79
+2.40
-1.28
-8.82
+2.10
-1.75
-9.99
+1.78
-2.25
-11.34
-12.94
-14.90
-17.44
-21.04
-27.31
OFF
+1.45
-2.77
+1.11
-3.34
+0.76
-3.94
+0.39
-4.58
+0.00
-5.28
-6.04
● Function of setting wait time before and after playback (WS1, WS2, WS3, WS4)
Wait time before playback (WS1, WS2) and after playback (WS3, WS4) can be set for each phrase.
Set when the sound code data is generated.
Phrase
SI
D7-D0 or D15-D0
BUSYB*1
WS1 WS2
WS3 WS4
SPP/SPM
Status
Hi-Z
Standby
Playing
Command processing
Standby
Awaiting oscillation stop
Awaiting command
*1:When used with default “H” level, CMOS output
WS1: Time after inputting a phrase address, until SPP/SPM pins are enabled.
WS2: Time after SPP/SPM pins are enabled, until playback is started.
WS3: Time after playback is completed, until SPP/SPM pins are disabled.
WS4: Time after SPP/SPM pins are disabled, until it will be in a standby state.
WS1-WS4 can be arbitrarily set up between 0 to1020 ms (4 ms unit).
16/48
FEDL22Q234-02
ML22Q234
● Speaker Pin Short Detection Function
The speaker pin short detection function detect the short-circuit between SPP pin and SPM pin, or between SPP/SPM pin
and GND during playback.
When short-circuit of a speaker pin is detected, the playback will be stopped automatically, BUSYB pin will become "H"
level, and LSI will become in a standby state.
Speaker short detection prevents IC destruction, but the detection circuit is effective to prevent destruction caused by
sudden accidents, and is not intended for use in the condition like short detection occurs continuously.
This function can be set up with the option screen of Speech Utility.
Please refer to a "Code Option Setting Item" for details.
Phrase
Phrase
SI
D7-D0 or D15-D0
D7-D0 or D15-D0
BUSYB*1
Speaker pin short
SPP/SPM
Status
Hi-Z
Hi-Z
Speaker pin short
Playing
Speaker pin short
Playing
Command
processing
Command processing
Standby
Standby
Awaiting command
Forced outage by speaker
Awaiting
command
*1:When used with default “H” level, CMOS output
17/48
FEDL22Q234-02
ML22Q234
■ PLAYBACK COMMANDS
● Playback Commands List
The following playback commands are used for the LSI. Use the playback commands in the condition ensuring that the
sound code data is set on the flash memory of this LSI.
Command
STOP
Description
Stop command.
The STOP command becomes effective for phrase other than those in Play Once mode and
Scheduled Play Once mode.
Disconnection detection command.
DISCONNECT
PHRASE
Speaker disconnection is detected. The STOP command must be input after using the
DISCONNECT command.
Playback command.
Playback phrase is selected from 30 phrases.
●
Playback Commands configuration
1-byte command and 2-byte command can be selected.
When the 2-byte command is selected, the volume can be expanded to 32 levels and the number of phrases can be
expanded to 62 phrases.
PHRASE command is allocated with a bit sequence other than the set values for STOP command and DISCONNECT
command.
These are set when the sound code data is generated.
Please refer to a "Code Option Setting Item" for details.
The command configuration when the initial value (STOP command is set to be 00b and DISCONNECT command is set
to be 01b) is as follows.
(1) 1-byte command (8 levels of volume and 30 phrases)
First byte
Command
D7
0
D6
0
D5
0
D4
0
D3
0
D2
0
D1
0
D0
0
STOP
DISCONNECT
0
0
0
0
0
0
0
1
V2
V1
V0
0
0
0
1
0
PHRASE
:
V2
V1
V0
1
1
1
1
1
(2) 2-byte command (initial value: 32 levels of volume and 62 phrases)
First byte
Second byte
Command
D15 D14 D13 D12 D11 D10
D9
0
D8
0
D7
0
D6
0
D5
0
D4
0
D3
0
D2
0
D1
0
D0
0
STOP
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
DISCONNECT
0
0
0
0
0
0
0
0
0
1
V4
V3
V2
V1
V0
0
0
0
0
0
0
1
0
PHRASE
:
:
0
0
0
V4
V3
V2
V1
V0
0
0
1
1
1
1
1
1
18/48
FEDL22Q234-02
ML22Q234
Any bit sequence can be set for STOP command and DISCONNECT command.
The following shows examples of a case where a non-initial value is set.
When STOP command is changed from the initial value, the number of phrase available decreases by one.
(1) 1-byte command (when STOP command is set to be 1Fh and DISCONNECT command is set to be 01h)
First byte
Command
D7
0
D6
0
D5
0
D4
0
D3
0
D2
0
D1
0
D0
0
1
*
DISCONNECT
PHRASE
STOP
0
0
0
0
0
0
0
1
V2
V1
V0
0
0
0
1
0
:
V2
0
V1
0
V0
0
1
1
1
1
1
1
1
1
0
1
*1:
00h cannot be set to PHRASE command. 29 phrases from 02h to 1Eh can be set to PHRASE command.
(2) 2-byte command (when STOP command is set to be 3Eh and DISCONNECT command is set to be 02h)
First byte
Second byte
Command
D15 D14 D13 D12 D11 D10
D9
0
D8
0
D7
0
D6
0
D5
0
D4
0
D3
0
D2
0
D1
0
D0
0
1
*
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
PHRASE
0
0
0
0
0
0
0
0
0
1
DISCONNECT
0
0
0
0
0
0
0
0
0
0
0
1
0
V4
V4
V4
0
V3
V3
V3
0
V2
V2
V2
0
V1
V1
V1
0
V0
V0
V0
0
0
0
0
0
0
0
1
1
PHRASE
0
0
:
0
0
1
1
1
1
1
1
1
1
1
1
1
1
0
1
1
1
0
1
STOP
0
0
PHRASE
V4
V3
V2
V1
V0
0
0
*1:
00h cannot be set to PHRASE command. 61 phrases of 01h, from 03h to 3Dh and 3Fh can be set to PHRASE
command.
19/48
FEDL22Q234-02
ML22Q234
● STOP command
(1) 1-byte command selection(initial value)
・command
0
0
0
0
0
0
0
0
0
0
0
(2) 2-byte command selection(initial value)
・command
0
0
0
0
0
0
0
0
0
0
0
0
0
*:Since it is a bit that is not used to identify the command, it can be set to any value.
The STOP command is used to stop the playback. BUSYB pin will become “H”, if the playback is stopped.
The STOP command becomes effective for the phrase waiting to be played in Scheduled Play Once mode, and in
Scheduled Play modem, Change Immediately Once mode, and Change Immediately mode.
STOP command used for phrases played back in Play Once mode or Scheduled Play Once mode, the STOP is ignored.
When STOP command is input in Scheduled Play mode, the playback stops after the phrase is played back to the end.
When STOP command is input in Change Immediately Once mode or Change Immediately mode, the sound fades out,
and the playback stops.
Operations where STOP command is effective are described below.
STOP command operation in the case of Scheduled Play Once mode
PHRASE command 1
PHRASE command 2
STOP command
SI
BUSYB*1
SPP/SPM
D7-D0 or D15-D0
D7-D0 or D15-D0
D7-D0 or D15-D0
Hi-Z
Playing (playback phrase 1 to the last)
Command processing
Awaiting command
Status
Standby
Standby
*1:When used with default “H” level, CMOS output
STOP command operation in the case of Scheduled Play mode
PHRASE command
STOP command
SI
BUSYB*1
SPP/SPM
D7-D0 or D15-D0
D7-D0 or D15-D0
Hi-Z
Playing (playback phrase to the last)
Status
Standby
Command rocessing
Awaiting command
Standby
*1:When used with default “H” level, CMOS output
STOP command operation in the case of Change Immediately Once mode or Change Immediately mode
PHRASE command
STOP command
SI
BUSYB*1
SPP/SPM
D7-D0 or D15-D0
D7-D0 or D15-D0
Hi-Z
Playing
Fading out
Status
Standby
Command rocessing
Standby
*1:When used with default “H” level, CMOS output
Awaiting command
20/48
FEDL22Q234-02
ML22Q234
● DISCONNECT command
(1) 1-byte command selection(initial value)
・command
0
0
0
0
0
0
0
0
0
1
0
(2) 2-byte command selection(initial value)
・command
0
0
0
0
0
*
*
0
0
0
0
0
1
*:Since it is a bit that is not used to identify the command, it can be set to any value.
The DISCONNECT command is used to diagnose whether the speaker is disconnected or not.
The command cannot be used during sound playback. The command shall be used during standby (no playback).
Disconnection detection result is output to BYSYB pin. "L” is output when the speaker is disconnected, and outputs "H”
when the speaker is not disconnected. Please input the STOP command to transition to standby state, after you use the
DISCONNECT command.
DISCONNECT command
STOP command
D7-D0 or D15-D0
D7-D0 or D15-D0
SI
tDCDS
BUSYB*1
Status
Disconnection judgment
(L: disconnect H: Connect)
Under speaker disconnection
detection
Disconnection detection
result output
Standby
Command
Command
Standby
Awaiting
*1:When used with default “H” level, CMOS output
When no STOP command is input after the execution of DISCONNECT command, the disconnection detection
automatically stops in one second, and transition to standby occurs.
DISCONNECT command
D7-D0 or D15-D0
SI
tDCDS
tDCDE
BUSYB*1
Disconnection judgment
(L: disconnect H: Connect)
Under speaker disconnection
detection
Disconnection detection
result output
Standby
Status
Command
Standby
Awaiting
*1:When used with default “H” level, CMOS output
21/48
FEDL22Q234-02
ML22Q234
● PHRASE command
(1) 1-byte command selection
・command
V2 V1 V0 F4 F3 F2 F1 F0
(2) 2-byte command selection
・command
0
0
0
V4 V3 V2 V1 V0
0
0
F5 F4 F3 F2 F1 F0
*:Since it is a bit that is not used to identify the command, it can be set to any value.
PHRASE command is playback command. Specifies an address of a phrase to be played back.
Command that is not set to be STOP command or DISCONNECT command is set to be PHRASE command.
An address of phrase to be played back is set when sound code data is generated with Speech LSI Utility.
Timings of PHRASE command are shown below.
Volume
Phrase
SI
D7-D0 or D15-D0
BUSYB*1
SPP/SPM
Hi-Z
Awaiting command
Playing
Status
Standby
Command
*1:When used with default “H” level, CMOS output
Set the playback Phrase with F4-F0 or F5-F0.
① 1-byte command selection(initial value)
No.
1
F4
0
F3
0
F2
0
F1
1
F0
0
Playing Phrase
Phrase 2
:
:
:
30
1
1
1
1
1
Phrase 1F
② 2-byte command selection(initial value)
No.
1
F5
0
F4
0
F3
0
F2
0
F1
1
F0
0
Playing Phrase
Phrase 2
:
:
:
62
1
1
1
1
1
1
Phrase 3F
22/48
FEDL22Q234-02
ML22Q234
The volume can be set up with V2-V0 or V4-V0 set.
This is used to playback sound with a volume other than one set when the sound code data is generated.
(1) When 1-byte command is selected.
V2
V1
V0
Volume [dB]
Volume set at
the time of
0
0
0
generating
sound code data
is used*1
0
0
0
1
1
1
1
0
1
1
0
0
1
1
1
0
1
0
1
0
1
+2.98
+1.78
0
-2.25
-5.28
-9.99
-21.04
*Note 1: For edited phrase, volume set for each registered phrase is used
(2) When 2-byte command is selected.
V4
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
V3
0
0
0
0
0
0
0
0
1
1
1
1
1
1
1
1
V2
0
0
0
0
1
1
1
1
0
0
0
0
1
1
1
1
V1
0
0
1
1
0
0
1
1
0
0
1
1
0
0
1
1
V0
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
Volume [dB]
+2.98
V4
V3
V2
V1
V0
Volume [dB]
-3.34
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
1
1
1
1
1
1
1
1
0
0
0
0
1
1
1
1
0
0
0
0
1
1
1
1
0
0
1
1
0
0
1
1
0
0
1
1
0
0
1
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
+2.70
+2.40
+2.10
+1.78
+1.45
+1.11
+0.76
+0.39
+0.00
-0.41
-0.83
-1.28
-1.75
-2.25
-2.77
-3.94
-4.58
-5.28
-6.04
-6.87
-7.79
-8.82
-9.99
-11.34
-12.94
-14.90
-17.44
-21.04
-27.31
Volume set at the
time of
generating sound
code data is
used*1
*Note 1: For edited phrase, volume set for each registered phrase is used
23/48
FEDL22Q234-02
ML22Q234
■ Flash memory access function by MCU interface
By sending dedicated commands to this function through the MCU interface, the following can be executed*1,*2
・Rewriting the sound code data in the Built-in flash memory.
.
・Verifying the sound code data in the Built-in flash memory.
・Checking the sound code data version*3.
This function always rewrites and verifies data from the start data. Cannot be specified as any address. Also, data in the
flash memory cannot be directly referenced.
● Flow of Flash memory access function by MCU interface
Flash memory
Write and Verify / Verify /
Version check START
Reset
(RESET_N input)
Standby State
*4
Flash memory access
mode entry
Failure
Mode entry result
Success
Write and Verify
Version check
Selecting Flash memory
processing
Verify
Write and Verify
processing
Version check
processing
Verify processing
Reset
(RESET_N input)
Standby State
Flash memory
Write and Verify / Verify /
Version check END
*Note 1: This function should be used under the conditions of DVDD=2.2 to 5.5V and Ta=0 to +40°C.
*Note 2: The sound playback function cannot be used while this function is in use.
*Note 3: The code option information in the sound code data is reflected when the flash memory is rewritten,
reset is input once, and initialization is performed. When checking the version of the new code data, execute it
after initialization.
*Note 4: Detailed processing flow is shown on the later page for
in the flow.
24/48
FEDL22Q234-02
ML22Q234
● Flow of Flash memory access function by MCU interface
The flash memory access function is controlled using the following dedicated commands.
Command value
Flash memory
processing
Command name
Description
1st byte 2nd byte
Flash memory access mode command:
FLASH_ACCESS
1Fh
00h
This command can be input only for the first time after this
reset. To cancel Flash memory access mode, input a reset.
Flash memory
access mode entry
Access code input command:
Access
Code*1
When the access code input in the second byte matches the
access code in the flash memory, entry to the flash memory
access mode is completed.
ACCESS_CODE
ERASE
C0h
A0h
Flash memory erase command:
After this command is input, the contents of the flash memory
are erased. Rewrite the sound code data with the contents of
the flash memory erased by this command. *3
40h
Write and verify mode entry command:
After this command is input, write and verify the input code
simultaneously by setting CSB to L, continuously inputting
the sound code data in even byte units, and then returning
CSB to H. Up to 256 bytes can be input at a time.
WRITE_VERIFY
WRITE_END
VERIFY
80h
80h
60h
60h
40h
C0h
C0h
C0h
Write and Verify
Write and verify mode exit command.
Verify mode entry command:
or
Verify
After this command is input, verify the input code
simultaneously by setting CSB to L, continuously inputting
the sound code data in even byte units, and then returning
CSB to H. Up to 256 bytes can be input at a time.
VERIFY_END
CHECKSUM
Verify mode exit command.
Checksum command:
Upper
Byte
Lower
Byte
The checksum of rewritten sound code data can be checked
by inputting this command after inputting the WRITE_END
or VERIFY_END commands.
Version check command:
It is possible to check that the code input in the second byte
matches the sound code data version in the flash memory.
Version
Code*1
Version check
CHECK_VER
40h
*Note 1: Access Code and Version Code can be set up with the option screen of Speech Utility.Please refer to a
"Code Option Setting Item" for details.
*Note 2: The checksum is the lower 16 bits of the sum of 8-bit units of the sound code data. In the .inf-file generated
by Speech LSI Utility, the checksum information of the created sound code data is displayed.
*Note 3: After the flash memory is erased, use the playback commands in the condition ensuring that the sound code data
is set on the flash memory of this LSI.
25/48
FEDL22Q234-02
ML22Q234
● Checking the processing status and results of control commands by BUSYB
The status and results of flash memory access control commands can be checked with BUSYB.
If the processing of each command fails, or if processing that deviates from the described processing flow is executed,
BUSYB may not return to the default state even if each command execution time is passed. In that case, enter reset and
try again from the flash memory access mode entry.
For the processing time of each command, see the timing chart for flash memory access mode and AC characteristics of
electrical characteristics (flash memory access mode).
Flash memory access mode control commands
SI/SCK
CSB
BUSYB*1
Results (L:failure H:success)
Command running
Commands standby
STATUS
Identifying commands
*1:When used with default “H” level, CMOS output
Commands standby
Inputting commands
26/48
FEDL22Q234-02
ML22Q234
● Flow of Flash memory access mode entry processing
After reset release
(Input RESET_N)
Standby State
Send FLASH_ACCESS command
Send ACCESS_CODE command
Failure
Access code unlock result
Success
Reset
(Input RESET_N)
Flash memory access mode
entry complete
Standby State
END
To the next process
27/48
FEDL22Q234-02
ML22Q234
● Flow of “Write and verify” or “Verify” processing
Flow of Write and Verify
Flow of Verify
After reset release
(Input RESET_N)
After reset release
(Input RESET_N)
Send ERASE command
Confirmation of
Failure
erasing result by BUSYB
Success
Send WRITE_VERIFY
command
Send VERIFY command
Continuous transmission of
sound code data
Continuous transmission of
sound code data
(While CSB is in the L state)
(While CSB is in the L state)
Confirmation of
Failure
Confirmation of
Failure
Write and Verify result by BUSYB
Verify result by BUSYB
Success
Success
No
No
All data input completed?
All data input completed?
Yes
Yes
Send VERIFY command
Send WRITE_VERIFY command
Send CHECKSUM command
Send CHECKSUM command
Confirmation of
Failure
Confirmation of
Failure
Checksum result by BUSYB
Checksum result by BUSYB
Success
Success
Reset
(Input RESET_N)
Reset
(Input RESET_N)
Reset
(Input RESET_N)
Reset
(Input RESET_N)
To the flow of flash memory
access mode entry
To the flow of flash memory
access mode entry
End
End
28/48
FEDL22Q234-02
ML22Q234
● Flow of Version check processing
After completion of the Flash memory
access mode entry
Send CHECK_VER
command
Confirmation of
Version check result
by BUSYB
Failure
Success
Reset
Reset
(Input RESET_N)
(Input RESET_N)
To the flow of flash memory
access mode entry
End
29/48
FEDL22Q234-02
ML22Q234
■ TIMING DIAGRAMS
● Power-On Timing
DVDD
5V
MIN 2.0V
MIN 2.0V
5V
SPVDD
VIH
tRSTF
tRSTR
tRSTR
CSB
VIL
VIH
tRSTF
RESET_N
VIL
VOH
Hi-Z
Hi-Z
BUSYB*1
Indefinite
VOL
Oscillation stopped
OSC
(internal)
Oscillation stopped
Oscillating
tINIT
VOH
VOL
Hi-Z
Hi-Z
SPP
VOH
VOL
SPM
Performing a reset
Initializing
Standby
Status
Performing a reset
*1: Used with default “H” level, CMOS output
When the power is turned on and off, there is no restriction on the order of turning on DVDD and SPVDD.
When DVDD or SPVDD falls below recommended operation power supply voltage range, “L” level must be
input to RESET_N pin.
● Power down timing (RESET_N pin)
tRSTR
RESET_N
Hi-Z
BUSYB*1
Indefinite
Oscillation
stopped
OSC
(internal)
Oscillating
Oscillating
tINIT
SPP
SPM
Playing
Initializing
Standby
Status
*1:Used with default “H” Level, CMOS output
Performing a reset
When DVDD or SPVDD falls below recommended operation power supply voltage range, “L” level must be
input to RESET_N pin.
30/48
FEDL22Q234-02
ML22Q234
●
Clock synchronization Serial interface timing
When 1-byte command is selected.
(When Normal (“H” level) is selected: SCK initial value is “H” level)
VIH
CSB
VIL
tESCK1
tSCKH
tCSH
(tESCK2
)
VIH
VIL
SCK
SI
tDIS tDIH
D7
tCB
tSCYC
tSCKL
VIH
VIL
D6
D5
D4
D3
D2
D1
D0
VOH
BUSYB*1 VOL
*1: Used with default “H” Level, CMOS output
(When Reversal (“L” level) is selected: SCK initial value is “L” level)
VIH
CSB
VIL
tESCK1
(tESCK2
tSCKH
tCSH
)
VIH
VIL
SCK
tDIS tDIH
D7
tCB
tSCKL tSCYC
D5
VIH
VIL
D6
D4
D3
D2
D1
D0
SI
VOH
VOL
BUSYB*1
*1: Used with default “H” Level, CMOS output
When 2-byte command is selected.
(When Normal (“H” level) is selected: SCK initial value is “H” level)
VIH
CSB
VIL
tESCK1
(tESCK2
tSCKH
tCSH
)
VIH
VIL
SCK
SI
tDIS tDIH
D15
tCB
tSCYC
tSCKL
VIH
VIL
D14
D13
D12
D11
D10
D9
D8
D7
D6
D5
D4
D3
D2
D1
D0
1st byte.
2nd byte.
VOH
BUSYB*1 VOL
*1: Used with default “H” Level, CMOS output
(When Reversal (“L” level) is selected: SCK initial value is “L” level)
VIH
CSB
VIL
tESCK1
(tESCK2
tCSH
tSCKH
)
VIH
VIL
SCK
SI
tDIS tDIH
D15
tCB
tSCKL tSCYC
D13
VIH
VIL
D14
D12
D11
D10
D9
D8
D7
D6
D5
D4
D3
D2
D1
D0
1st byte.
2nd byte.
VOH
BUSYB*1 VOL
*1: Used with default “H” Level, CMOS output
31/48
FEDL22Q234-02
ML22Q234
● Play Once/Scheduled Play Once/Change Immediately Once mode timing
After playback of phrase (m) ends, playback request for next phrase (n) is accepted and the phrase (n) is played back.
All the commands become invalid during playback of phrase (m).
CSB
D7-D0 or D15-D0
SI
tCSH
SCK
tESCK1
tCB
VOH
VOL
BUSYB*1
OSC
(internal)
Oscillating
tPLBF
WS1
WS2
tVCYC
Stabilizing
oscillation
Speaker enable
(internal)
SPP
SPM
Hi-Z
Hi-Z
Awaiting command
Standby
Playing
Status
Command processing
VIH
CSB
tESCK1
VIL
D7-D0 or D15-D0
SI
tCSH
SCK
tCB
VOH
VOL
BUSYB*1
OSC
(internal)
発振中
Oscillating
tPLAF
tOSST
tPLBF
WS3 WS4
WS1
WS2
Speaker
enable
Stabilizing
oscillation
(internal)
SPP
SPM
Hi-Z
Hi-Z
Playing
Playing
Status
Awaiting oscillation
Standby
Command processing
Awaiting
command
*1:Used with default “H” Level, CMOS output
32/48
FEDL22Q234-02
ML22Q234
● Scheduled Play Once mode and Scheduled Play mode Timing (Continuous Play)
In response to playback request for the next phrase (n), the phrase (m) is played back to the end, and then playback of
the phrase (n) starts.
tCSW
CSB
※1
tNCM
Phrase (n)
Phrase (m)
D7-D0 or D15-D0
D7-D0 or D15-D0
SI
tCSH
tESCK2
tCSH
SCK
tESCK1
tCB
VOH
VOL
BUSYB*1
OSC
(internal)
Oscillating
WS1(m)
WS2(m)
tPLBF
Stabilizing
oscillation
Speaker enable
(internal)
SPP
SPM
Hi-Z
Hi-Z
Awaiting command
Standby
Playing phrase (m)
Status
Command processing
VIH
CSB
SI
VIL
VIH
VIL
VIH
VIL
SCK
VOH
VOL
BUSYB*1
OSC
(internal)
Oscillating
WS3(n)
WS4(n)
tPLAF
tOSST
Speaker enable
(internal)
SPP
SPM
Hi-Z
Hi-Z
Playing
Playing phrase (n)
Status
Awaiting oscillation
*1:Used with default “H” Level, CMOS output
Standby
*Under Scheduled Play mode, playback is stopped by STOP command.
Note 1: In Scheduled Play Once mode, the phrase (n) is played back immediately after the end of the playback of the phrase (m),
in response to an input of a playback request (PHRASE command) for the next phrase (phrase (n)) within tNCM
.
33/48
FEDL22Q234-02
ML22Q234
● Change Immediately Once mode and Change Immediately mode Timing (Continuous Play)
After inputting the next PHRASEn command(Phrase(n)), fade-out of the playback(Phrase(m)) is carried
out and thePhrase(n) playback is started.
CSB
tCSW
フレーズ(m)
D7-D0 or D15-D0
SI
tCSH
SCK
tESCK1
tCB
VOH
VOL
BUSYB*1
OSC
(internal)
Oscillating
tPLBF
WS1(m)
WS2(m)
Stabilizing
oscillation
Speaker enable
(internal)
Hi-Z
Hi-Z
SPP
SPM
Awaiting command
Standby
Playing phrase (m)
Status
Command processing
VIH
VIL
CSB
Phrase (n)
VIH
D7-D0 or D15-D0
SI
tESCK2
VIH
tCSH
SCK
VIL
tFDO
Phrase (m) voice stop
Oscillating
VOH
VOL
BUSYB*1
OSC
(internal)
tOSST
tPLAF WS3(n)
WS4(n)
Speaker enable
(internal)
SPP
SPM
Hi-Z
Hi-Z
Status
Playing
Playing phrase (n)
Fade out processing Awaiting oscillation
*1:Used with default “H” Level, CMOS output
Standby
・Under Change Immediately mode, playback is stopped by STOP command.
34/48
FEDL22Q234-02
ML22Q234
● Scheduled Play Once mode and Scheduled Play mode Timing sound stop timing
After STOP command is input, the phrase is played back until the end, and the playback stops.
tCSW
CSB
STOP command
Phrase (m)
D7-D0 or D15-D0
D7-D0 or D15-D0
SI
tESCK2
tCSH
tCSH
SCK
tESCK1
tCB
VOH
VOL
BUSYB*1
OSC
(internal)
Oscillating
tPLBF
WS1
WS2
Stabilizing
oscillation
Speaker enable
(internal)
SPP
SPM
Hi-Z
Hi-Z
Awaiting command
Standby
Playing phrase
Command processing
Status
VIH
VIL
CSB
VIH
VIL
SI
SCK
VIH
VIL
VOH
VOL
BUSYB*1
OSC
(internal)
Oscillating
WS3(n)
WS4(n)
tPLAF
tOSST
Speaker enable
(internal)
Hi-Z
Hi-Z
SPP
SPM
Standby
Playing
(Play until the end of phrase)
Awaiting oscillation stop
*1:Used with default “H” Level, CMOS output
Status
35/48
FEDL22Q234-02
ML22Q234
● Change Immediately Once mode and Change Immediately mode sound stop timing
After STOP command is input, the sound fades out, and the playback stops.
CSB
tCSW
Phrase (m)
D7-D0 or D15-D0
SI
tCSH
SCK
tESCK1
tCB
VOH
VOL
BUSYB*1
OSC
(internal)
Oscillating
tPLBF
WS1
WS2
Stabilizing
oscillation
Speaker enable
(internal)
SPP
SPM
Hi-Z
Hi-Z
Playing phrase
Status
Awaiting command
Standby
Command processing
VIH
VIL
CSB
STOP command
VIH
D7-D0 or D15-D0
SI
tCSH
tESCK2
SCK
VIH
VIL
tFDO
VOH
VOL
BUSYB*1
OSC
(internal)
Oscillating
tPLAF
WS3
WS4
tOSST
Speaker enable
(internal)
Hi-Z
Hi-Z
SPP
SPM
Playing
Fade out processing
Awaiting oscillation stop
*1:Used with default “H” Level, CMOS output
Standby
Status
36/48
FEDL22Q234-02
ML22Q234
● Disconnection detection timing
VIH
CSB
VIL
DISCONNECT command
D7-D0 or D15-D0
SI
tCSH
SCK
tESCK1
tCB
tDCDS(min)
VOH
VOL
BUSYB*1
Stabilizing
oscillation
OSC
Oscillating
(internal)
Disconnection detecting
Status
Awaiting command
Standby
Command processing
VIH
VIL
CSB
STOP command
D7-D0 or D15-D0
SI
tESCK2
tCSH
SCK
tCB
tOSST
BUSYB*1
OSC
(internal)
Oscillating
Disconnection detecting
Command processing
Standby
Status
Awaiting oscillation
*1:Used with default “H” Level, CMOS output
● Speaker short detection timing
tSD
VOH
BUSYB*1
VOL
tOSST
OSC
(internal)
Oscillating
Speaker enable
(internal)
Speaker short
detection
(internal)
Hi-Z
Hi-Z
SPP
SPM
Playing
Short detection processing
Standby
Status
*1:Used with default “H” Level, CMOS output
37/48
FEDL22Q234-02
ML22Q234
● Flash memory access mode
Flash memory access mode entry
VIH
tCSW
CSB
VIL
ACCESS_CODE
command
FLASH_ACCESS
command
D15-D0
D15-D0
SI
tESCK2
tFCE
tCSH
tCSH
tFCP
SCK
tESCK1
tFCB
tFCB
tFCP
VOH
BUSYB*1
Oscillation
stabilizing
Results (L: failure H: success)
VOL
OSC
(internal)
Oscillating
Command inputting
Command inputting
Awaiting command
Checking access code match
Command
Status
Awaiting
command
Command being
executed
Standby
Command
identifying
identifying 定中
*1:When used with default “H” level, CMOS output
Flash memory erase or version check
VIH
tCSW
CSB
VIL
ERASE or CHECK_VER
Next command*2
command
D15-D0
D15-D0
SI
tESCK2
tCSH
tESCK2
SCK
ERASE:tFER
CHECK_VER:tFCP
tFCB
tFCE
VOH
VOL
BUSYB*1
Results (L: failure H: success)
Awaiting command
OSC
(internal)
Oscillating
Awaiting command
Status
Erasing or
checking version
定
Command
inputting
Command
inputting
Command
identifying
*1:When used with default “H” level, CMOS output
*2:To end only by version check, enter reset.
38/48
FEDL22Q234-02
ML22Q234
“Write and verify” or “Verify”
VIH
tCSW
CSB
VIL
WRITE_VERIFY or
VERIFYcommand
Sound code data
Sound code data
D15-D0
D7-D0
D7-D0
D7-D0
D7-D0
SI
tESCK2
tFDI
tCSH
tESCK2
SCK
WRITE_VERIFY:tFWV
VERIFY:tFV
tFCSH tFCB
tFCB
tFCP tFCE
VOH
BUSYB*1
Results (L: failure H: success)
VOL
OSC
(internal)
Oscillating
Data identifying 定中
Awaiting command
Status
Writing and Verifying
or Verifying
Awaiting
command
Command
Awaiting
command
Data inputting
inputting
Command
identifying 定中
Command
identifying 定
Command being
executed
VIH
VIL
tCSW
CSB
WRITE_END or
VERIFY_END command
CHECKSUM
command
D15-D0
D15-D0
SI
tESCK2
tESCK2
tFCE
tCSH
tCSH
SCK
tFCB
tFCB
tFCS
tFCP
VOH
VOL
BUSYB*1
Results (L: failure H: success)
OSC
(internal)
Oscillating
Command inputting
Awaiting command
Status
Awaiting
command
Command being
executed
Checksum processing
Command
identifying
Awaiting
command
Command
inputting
Command
identifying
*1:When used with default “H” level, CMOS output
*2:Sound code data input is in even byte units
39/48
FEDL22Q234-02
ML22Q234
■
Code Option Setting Item
Items set on Code Option Setting screen for Speech LSI Utility are as follows.
For the blank product(-NNNTD), the setting described as (Blank) or description about blank product in an each item is set.
Because Code Option Setting item contains MCU interface specification items, if the Code Option Setting Items are
changed, be sure to manage the settings before and after the change as MCU interface inconsistency does not occur.
・Speaker pin short detection function
☐ (Not used)
Use of speaker pin short detection function
☐ (Used) (Blank)
・Num of Phrases and Command type setting
〇30 phrases / 1 byte
(30 phrases can be played and communicate with 1-byte command)
Num of Phrases / Command type
〇62 phrases / 2 byte
(62 phrases can be played and communicate with 1-byte command)
(Blank)
Select 62 phrases / 2 byte when using the flash memory access function by MCU.
STOP/DISCONNECT Command
Command bit sequence
Set 00h
DISCONNECT command Set 01h
STOP command
Set any bit sequence (Blank) *1
Set any bit sequence
STOP command
〇Standard
〇Custom
DISCONNECT command (Set value different from STOP command)
(Blank) *2
*1 : 3Fh is set in the blank product.
*2 : 00h is set in the blank product.
・BUSYB Pin Setting
Use of BUSYB
Initial State
〇L level Output
〇H level Output
Condition
BUSYB pin status
Fixed to “L” output
Fixed to “H” output
*3
☐ (Not used)
*3
〇CMOS
Output initial value “L” with CMOS output
Output initial value “L” with Nch open drain
output
〇Nch Open Drain
〇L level Output
Output initial value HiZ with Pch open drain
output
Hiz output
〇Pch Open Drain
〇Hi-Z
☐ (Used)
Output initial value “H” with CMOS output
(Blank)
〇CMOS
Output initial value HiZ with Nch open drain
output
〇Nch Open Drain
〇H level Output
Output initial value “H” with Pch open drain
output
Hiz output
〇Pch Open Drain
〇Hi-Z
*3: Setting value invalid
Check Use of BUSYB when using the flash memory access function by MCU.
40/48
FEDL22Q234-02
ML22Q234
・Clock synchronization Serial interface setting (SPI setting)
Input serial data from LSB
Input serial data from MSB (Blank)
〇LSB first
〇MSB first
Data transfer type
Clock polarity
Use with initial value of SCK pin set to “H” level
Use with initial value of SCK pin set to “L” level (Blank)
〇Normal (H Level)
〇Normal (L Level)
・Sound code data version information (Speech ROM Information)
Speech ROM
Information
Set sound code data version information of any 8 bits string.
FFh is set in the blank product.
・Flash protect option
Flash protect option
Set FFh. Any access code can be unlocked
when ACCESS_CODE command is entered.
(Blank)
〇Not Use
Set 69h. The flash memory access function is
disabled. Select this if you do not use the flash
memory access function. *1
Access codes of any 8 bits string other than
FFh and 69h can be set. The flash memory
access mode can be entered when the access
codes match.
〇Use Lock protect
〇Use Access code
Select Use Lock protect when 30 phrases / 1 byte is selected by Command setting.
*1: FLASH_ACCESS command is invalid. Even with this setting, the flash memory can be rewritten
using SDCB Controller.
41/48
FEDL22Q234-02
ML22Q234
■ Phrase information Setting Item
The items to be set on the phrase info setting screen of Speech LSI Utility are as follows.
・Playback mode (EVENT Mode)
Set playback mode suitable for target playback, with reference to “Playback mode” in FUNCTIONAL DESCRIPTION.
・Volume setup
Set playback mode suitable for target playback, with reference to “Volume setup function” in FUNCTIONAL
DESCRIPTION.
・Setting Wait time before and after volume playback (WS1,WS2,WS3,WS4)
Set desired Wait time with reference to “Function of setting wait time before and after playback (WS1, WS2, WS3,
WS4)”.
42/48
FEDL22Q234-02
ML22Q234
■ TERMINATION OF THE VDDL PIN
The VDDL pin is the regulator output that is power supply pin for the internal logic circuits. Connect a capacitor between
this pin and the ground in order to prevent noise generation and power fluctuation.
The recommended capacitance value is shown below. However, it is important to evaluate and decide using the own
board.
Also, start the next operation after each output voltage is stabilized.
Recommended
capacitance value
Pin
Remarks
VDDL
1 µF ±30%
The larger the connection capacitance, the longer the settling time.
■ POWER SUPPLY WIRING
The power supplies of this LSI are divided into the following two:
• Power supply for logic circuitry (: DVDD
• Power supply for speaker amplifier (: SPVDD
)
)
The example of power connection is shown below
DVDD
DGND
SPVDD
SPGND
5V
DVDD
DGND
3V
SPVDD
SPGND
5V
43/48
FEDL22Q234-02
ML22Q234
■ APPLICATION CIRCUIT
RESET_N
MCU
CSB
SCK
SI
BUSYB
SPP
SPM
TEST0
SPVDD
DVDD
TES
5V
1µF
1µF
VDDL
1µF
DGND
SPGND
44/48
FEDL22Q234-02
ML22Q234
■ PACKAGE DIMENSIONS
Notes for Mounting the Surface Mount Type Package
The surface mount type packages are very susceptible to heat in reflow mounting and humidity absorbed in storage. Therefore,
before you perform reflow mounting, contact a ROHM sales office for the product name, package name, pin number, package
code and desired mounting conditions (reflow method, temperature and times).
PCB Layer
PCB
JEDEC 4layers
JEDEC 2layers
(W/L/t= 76.2 / 114.3 / 1.6 (mm))
Air cooling condition
Heat resistance(θja)
Heat resistance(θjc)
Maximum power consumption
of LSI (PMax)
Calm(0m/sec)
0.3[W]
68.48[oC/W]
0.61[oC/W]
74.00[oC/W]
0.61[oC/W]
during 8Ω/1W speaker amp. output
TjMax of this LSI is 110 oC. TjMax is expressed with the following formulas.
TjMax = TaMax + θJa × PMax
45/48
FEDL22Q234-02
ML22Q234
■ REVISION HISTORY
Page
Previous
Edition
Document No
Date
Description
Current
Edition
FEDL22Q234-01
Jun. 15, 2021
Jun. 20, 2022
-
8
-
8
Formal 1st edition.
Removed start time SPVDD after starting DVDD (tVDD
)
18, 25
18, 25
Added the note when using the playback commands
Changed the command setting value in the main text from binary
to hexadecimal
18, 19
40
18, 19
40
Revised the command bit string description of the STOP /
DISCONNECT command
FEDL22Q234-02
Added Code Optin Setting and its explanation of the blank prodect
(-NNNTD)
40, 41
40, 41
45
-
45
47
Described heat resistance and TjMax of this LSI
Added “Notes for product usage”
46/48
FEDL22Q234-02
ML22Q234
Notes for product usage
1. HANDLING OF UNUSED INPUT PINS
Fix the unused input pins to the power pin or GND to prevent to cause the device performing wrong
operation or increasing the current consumption due to noise, etc. If the handlings for the unused pins
are described in the chapters, follow the instruction.
2. STATE AT POWER ON
At the power on, the internal setting and output of the ports are undefined until the power supply
voltage reaches to the recommended operating condition and "L" level is input to the reset pin.
Be careful to design the application system does not work incorrectly due to the undefined data of
internal setting and output of the ports.
3. CHARACTERISTICS DIFFERENCE BETWEEN THE PRODUCTS
Electrical characteristics, noise tolerance, noise radiation amount, and the other characteristics are
different from each product.
When replacing from other product to LAPIS Technology products, please evaluate enough the
apparatus/system which implemented LAPIS Technology products.
4. USE ENVIRONMENT
When using LAPIS Technology products in a high humidity environment and an environment where
dew condensation, take moisture-proof measures.
47/48
FEDL22Q234-02
ML22Q234
Notes
1) The information contained herein is subject to change without notice.
2) When using LAPIS Technology Products, refer to the latest product information (data sheets, user’s manuals, application
notes, etc.), and ensure that usage conditions (absolute maximum ratings, recommended operating conditions, etc.) are within
the ranges specified. LAPIS Technology disclaims any and all liability for any malfunctions, failure or accident arising out of
or in connection with the use of LAPIS Technology Products outside of such usage conditions specified ranges, or without
observing precautions. Even if it is used within such usage conditions specified ranges, semiconductors can break down and
malfunction due to various factors. Therefore, in order to prevent personal injury, fire or the other damage from break down or
malfunction of LAPIS Technology Products, please take safety at your own risk measures such as complying with the derating
characteristics, implementing redundant and fire prevention designs, and utilizing backups and fail-safe procedures. You are
responsible for evaluating the safety of the final products or systems manufactured by you.
3) Descriptions of circuits, software and other related information in this document are provided only to illustrate the standard
operation of semiconductor products and application examples. You are fully responsible for the incorporation or any other
use of the circuits, software, and information in the design of your product or system. And the peripheral conditions must be
taken into account when designing circuits for mass production. LAPIS Technology disclaims any and all liability for any
losses and damages incurred by you or third parties arising from the use of these circuits, software, and other related
information.
4) No license, expressly or implied, is granted hereby under any intellectual property rights or other rights of LAPIS Technology
or any third party with respect to LAPIS Technology Products or the information contained in this document (including but not
limited to, the Product data, drawings, charts, programs, algorithms, and application examples, etc.). Therefore LAPIS
Technology shall have no responsibility whatsoever for any dispute, concerning such rights owned by third parties, arising out
of the use of such technical information.
5) The Products are intended for use in general electronic equipment (AV/OA devices, communication, consumer systems,
gaming/entertainment sets, etc.) as well as the applications indicated in this document. For use of our Products in applications
requiring a high degree of reliability (as exemplified below), please be sure to contact a LAPIS Technology representative and
must obtain written agreement: transportation equipment (cars, ships, trains, etc.), primary communication equipment, traffic
lights, fire/crime prevention, safety equipment, medical systems, servers, solar cells, and power transmission systems, etc.
LAPIS Technology disclaims any and all liability for any losses and damages incurred by you or third parties arising by using
the Product for purposes not intended by us. Do not use our Products in applications requiring extremely high reliability, such
as aerospace equipment, nuclear power control systems, and submarine repeaters, etc.
6) The Products specified in this document are not designed to be radiation tolerant.
7) LAPIS Technology has used reasonable care to ensure the accuracy of the information contained in this document. However,
LAPIS Technology does not warrant that such information is error-free and LAPIS Technology shall have no responsibility for
any damages arising from any inaccuracy or misprint of such information.
8) Please use the Products in accordance with any applicable environmental laws and regulations, such as the RoHS Directive.
LAPIS Technology shall have no responsibility for any damages or losses resulting non-compliance with any applicable laws
or regulations.
9) When providing our Products and technologies contained in this document to other countries, you must abide by the
procedures and provisions stipulated in all applicable export laws and regulations, including without limitation the US Export
Administration Regulations and the Foreign Exchange and Foreign Trade Act..
10) Please contact a ROHM sales office if you have any questions regarding the information contained in this document or LAPIS
Technology's Products.
11) This document, in part or in whole, may not be reprinted or reproduced without prior consent of LAPIS Technology.
(Note) “LAPIS Technology” as used in this document means LAPIS Technology Co., Ltd.
Copyright 2021-2022 LAPIS Technology Co., Ltd.
2-4-8 Shinyokohama, Kouhoku-ku, Yokohama 222-8575, Japan
https://www.lapis-tech.com/en/
48/48
相关型号:
ML22Q244
ML22Q234/244/254仅需从MCU输入简单的指令即可轻松播放语音。具有时钟同步串行接口、独立型接口和I2C接口,可满足客户不同的需求。另外,不仅具备高音质、高压缩算法HQ-ADPCM、振荡电路、1W单声道D类扬声器放大器等语音输出所需的功能,还具有改写来自MCU的语音数据的功能。仅需添加本LSI,即可轻松实现语音功能。
ROHM
ML22Q254
ML22Q234/244/254仅需从MCU输入简单的指令即可轻松播放语音。具有时钟同步串行接口、独立型接口和I2C接口,可满足客户不同的需求。另外,不仅具备高音质、高压缩算法HQ-ADPCM、振荡电路、1W单声道D类扬声器放大器等语音输出所需的功能,还具有改写来自MCU的语音数据的功能。仅需添加本LSI,即可轻松实现语音功能。
ROHM
ML22Q274
ML22Q274/ML22Q284/ML22Q294有内置闪存,用于存储语音代码数据,ML22Q274可以通过时钟同步串行接口控制,ML22Q284可以独立控制,ML22Q294可以通过I2C控制。 车载质量的语音合成LSI。ML22Q274配备了一个D类扬声器放大器,使得在单个芯片上实现语音再现的解决方案成为可能。
ROHM
ML22Q284
ML22Q274/ML22Q284/ML22Q294有内置闪存,用于存储语音代码数据,ML22Q274可以通过时钟同步串行接口控制,ML22Q284可以独立控制,ML22Q294可以通过I2C控制。 车载质量的语音合成LSI。ML22Q274配备了一个D类扬声器放大器,使得在单个芯片上实现语音再现的解决方案成为可能。
ROHM
ML22Q294
ML22Q274/ML22Q284/ML22Q294有内置闪存,用于存储语音代码数据,ML22Q274可以通过时钟同步串行接口控制,ML22Q284可以独立控制,ML22Q294可以通过I2C控制。 车载质量的语音合成LSI。ML22Q274配备了一个D类扬声器放大器,使得在单个芯片上实现语音再现的解决方案成为可能。
ROHM
ML22Q532
ML2253x系列是内置串行音频接口的车载级4通道混合语音合成LSI,可提供Flash存储器内置型和外置型两种类型的产品。产品采用实现高音质的HQ-ADPCM、16位D/A转换器和低通滤波器,并内置用来直接驱动扬声器的1.0W单声道扬声器放大器。另外,还配备了车载应用所需的故障检测功能,可以检测LSI内部的异常以及LSI与扬声器之间连接线的异常。语音输出所需的功能已经全部集成于1枚芯片中,因此仅需增加本LSI,即可轻松实现语音功能。
ROHM
ML22Q533
ML2253x系列是内置串行音频接口的车载级4通道混合语音合成LSI,可提供Flash存储器内置型和外置型两种类型的产品。产品采用实现高音质的HQ-ADPCM、16位D/A转换器和低通滤波器,并内置用来直接驱动扬声器的1.0W单声道扬声器放大器。另外,还配备了车载应用所需的故障检测功能,可以检测LSI内部的异常以及LSI与扬声器之间连接线的异常。语音输出所需的功能已经全部集成于1枚芯片中,因此仅需增加本LSI,即可轻松实现语音功能。
ROHM
©2020 ICPDF网 联系我们和版权申明