ML22765 [ROHM]
P2ROM™内置型;型号: | ML22765 |
厂家: | ROHM |
描述: | P2ROM™内置型 |
文件: | 总74页 (文件大小:2287K) |
中文: | 中文翻译 | 下载: | 下载PDF数据表文档文件 |
Dear customer
LAPIS Semiconductor Co., Ltd. ("LAPIS Semiconductor"), on the 1st day of October,
2020, implemented the incorporation-type company split (shinsetsu-bunkatsu) in which
LAPIS established a new company, LAPIS Technology Co., Ltd. (“LAPIS
Technology”) and LAPIS Technology succeeded LAPIS Semiconductor’s LSI business.
Therefore, all references to "LAPIS Semiconductor Co., Ltd.", "LAPIS Semiconductor"
and/or "LAPIS" in this document shall be replaced with "LAPIS Technology Co., Ltd."
Furthermore, there are no changes to the documents relating to our products other than
the company name, the company trademark, logo, etc.
Thank you for your understanding.
LAPIS Technology Co., Ltd.
October 1, 2020
FEDL227XX-07
Issue Date: Oct.25, 2017
ML2272X-XXX/ML2276X-XXX
Speech Synthesis LSI with Built-in P2ROM Including Speech-Speed Conversion/Pitch Conversion Functions
GENERAL DESCRIPTION
The ML2272X(ML22725/ML22724/ML22723-XXX) and ML2276X(ML22765/ML22764/ML22763-XXX) are
speech synthesis LSIs with built-in P2ROM that stores speech data.
These LSIs include speech speed conversion, pitch conversion, edit ROMs, ADPCM2 decoders, 16-bit DA
converters, low pass filters, and monaural speaker amplifiers. The ML2272X supports the synchronous serial
interface and the ML2276X supports the I2C interface. By integrating all the functions required for speech
output into a single chip, these LSIs can be more easily incorporated in compact portable devices.
•Built-in memory capacity and maximum vocal reproduction time:
the following table (in 4-bit ADPCM2 mode)
Maximum vocal reproduction time (sec) *
Product name
ROM capacity
FS = 8.0 kHz
522
FS = 16 kHz
FS = 32 kHz
ML22725-XXX/ML22765
ML22724-XXX/ML22764
ML22723-XXX/ML22763
16 Mbits
8 Mbits
4 Mbits
261
130
64
130
64
260
129
32
(*: Speech -speed or pitch conversion functions is not used.)
•voice synthesis method:
•Sampling frequency(FS):
4-bit ADPCM2
8-bit Nonlinear PCM
8-bit PCM, 16-bit PCM
Can be specified for each phrase.
4.0 / 5.3 / 6.4 / 8.0 / 10.6 / 12.0 / 12.8 / 16.0 / 21.3 / 24.0 / 25.6 / 32.0 /
48.0 kHz
FS can be specified for each phrase.
•Built-in low-pass filter and 16-bit DA converter
•Speaker driving amplifier:
0.7 W (8Ω , DVDD=5 V, Ta=25°C)
Analog input: 2ch (internal: 1ch, external: 1ch)
3-wired serial clock-synchronized (ML2272X)
I2C interface (ML2276X)
•CPU command interface:
•Maximum number of phrases:
•Memory bank switching:
•Volume control:
4096 phrases, from 000h to 3FFh (1024 phrases/bank)
Enabled between bank 1 and bank 4 using the SEL0 and SEL1 pins.
32 levels (OFF is included) can be set by CVOL command.
50 levels (OFF is included) can be set by AVOL command.
LOOP commands
•Repeat function:
•Speech speed conversion function
•Pitch conversion function
•Source oscillation frequency:
•Power supply voltage:
•Operating temperature range:
•Package:
×0.50 to ×2.00 (150 levels: 0.01 step)
±20% (40 levels: 1% step width)
4.096 MHz
2.7 to 3.6V / 4.5 to 5.5 V
–40°C to +85°C
30-pins plastic SSOP (P-SSOP30-56-0.65-ZK6-MC)
ML22725-xxxMB,ML22724-xxxMB, ML22723-xxxMB
ML22765-xxxMB,ML22764-xxxMB, ML22763-xxxMB
(xxx: ROM code No.)
•Product name:
1/73
FEDL227XX-07
ML2272X-XXX/ML2276X-XXX
The table below summarizes the differences from the ML2216 and ML22800 series.
ML22725/ML22724/
ML22723-XXX
←
ML22765/ML22764/
ML22763-XXX
I2C
Parameter
ML2216
ML22800 series
CPU interface
Serial
←
4-bit ADPCM2
8-bit straight PCM
8-bit nonlinear PCM
16-bit straight PCM
Playback method
←
1024 (256/bank)
←
←
←
←
←
Maximum number
of phrases
256
4096 (1024/bank)
4.0/5.3/6.4/8.0/
10.6/12.0/12.8/
16.0/21.3/24.0/
25.6/32.0/48.0
4.0/5.3/6.4/
8.0/10.6/12.8
16.0
Sampling frequency
(kHz)
4.096MHz
(with a built-in crystal
oscillator circuit)
12 bits
Clock frequency
←
←
←
D/A converter
Low-pass filter
Speaker driving
amplifier
12 bits
16 bits
←
←
3rd order comb filter 3rd order comb filter FIR interpolation filter
Built-in 0.3W
(8Ω, DVDD = 5 V)
Built-in 0.7W
(8Ω, DVDD = 5 V)
No
←
←
Speech speed/pitch
conversion
No
←
Yes
Edit ROM function
Volume control
Yes
16 levels
Yes
←
←
←
←
←
32 levels
Silence insertion
20 ms to 1024 ms
(4 ms/step)
Yes
←
←
←
←
←
←
Repeat function
Interval at which a
seam is silent
during continuous
playback (Note)
Power supply
voltage
No
←
←
←
2.7 V to 5.5 V
44-pin QFP
2.7 V to 3.6 V
30-pin SSOP
2.7 V to 5.5 V
←
←
Package
←
*1: Continuous playback as shown below is possible.
(Playback method: 8-bit straight PCM, 8-bit non-linear PCM, 16-bit straight PCM)
1 phrase
1 phrase
No silence interval
2/73
FEDL227XX-07
ML2272X-XXX/ML2276X-XXX
BLOCK DIAGRAMS
(ML22725/ML22724/ML22723-XXX)
DVDD
21/20/19bit Multiplexer
16/8/4Mbit ROM
Address Controller
DGND
VDDL
VDDR
Phrase Address
Latch
21/20/19bit
Address Counter
ADPCM Synthesizer
PCM Synthesizer
LPF
CSB
SCK
SI
SO
CBUSYB
I/O
Interface
DIPH
SEL0
SEL1
Timing
Controller
16bit DAC
TESTI0,1
TESTO
RESETB
SP-AMP
XT
OSC
PLL
XTB
SPM SPP
AIN
SPVDD SPGND
(ML22765/ML22764/ML22763-XXX)
DVDD
21/20/19bit Multiplexer
16/8/4Mbit ROM
Address Controller
DGND
VDDL
VDDR
Phrase Address
Latch
21/20/19bit
Address Counter
ADPCM Synthesizer
PCM Synthesizer
LPF
SDA2-0
SCL
SDA
CBUSYB
SEL0
I/O
Interface
Timing
Controller
SEL1
TESTI0,1
TESTO
16bit DAC
RESETB
SP-AMP
XT
OSC
PLL
XTB
SPM SPP
AIN
SPVDD SPGND
3/73
FEDL227XX-07
ML2272X-XXX/ML2276X-XXX
PIN CONFIGURATIONS (TOP VIEW)
ML22725/ML22724/ML22723-XXXMB (Synchronous serial interface)
AIN
TESTI0
RESETB
TESTO
DIPH
SEL0
SEL1
DGND
CSB
SCK 10
SI 11
1
2
3
4
5
6
7
8
9
30 SPM
29 SPP
28 SPGND
27 SPVDD
26 DGND
25 SG
24 TESTI1
23 VDDR
22 DVDD
21 VDDL
20 NC
SO 12
19 DGND
18 NC
17 DVDD
16 XTB
CBUSYB 13
DGND 14
XT 15
NC: No Connection
30-Pin Plastic SSOP
ML22765/ML22764/ML22763-XXXMB (I2C interface)
AIN
TESTI0
RESETB
TESTO
SAD0
SEL0
30 SPM
29 SPP
28 SPGND
27 SPVDD
26 DGND
25 SG
1
2
3
4
5
6
SEL1
24 TESTI1
23 VDDR
22 DVDD
21 VDDL
20 NC
19 DGND
18 NC
17 DVDD
16 XTB
7
8
9
10
11
12
13
14
15
DGND
SAD1
SCL
SDA
SAD2
CBUSYB
DGND
XT
NC: No Connection
30-Pin Plastic SSOP
4/73
FEDL227XX-07
ML2272X-XXX/ML2276X-XXX
PIN DESCRIPTION (COMMON TO ALL PRODUCTS)
Initial value
Pin
1
Symbol
AIN
I/O
I
Description
(*1)
0
Input pin for speaker amplifier.
Input pin for testing.
2
TESTI0
I
0
Fix this pin to “L” level (DGND level). This pin has a pull-down resistor
built in.
Input pin for reset..
At the “L” level, the LSI enters initial state. During reset, the entire
circuitry stops and enters power down state. Input “L” level when
power is supplied. After the power supply voltage is stable, drive this
pin to “H” level. Then the entire circuitry can be powered up.
This pin has a pull-up resistor built in.
0
(*2)
3
RESETB
TESTO
I
Output pin for testing.
Leave this pin open.
4
O
I
Hi-Z
0
SEL0
SEL1
Memory bank switching pins.
6, 7
Fix these pins to “L” level when the memory bank function is not used.
Digital ground pin. Also serves as a ground pin for the internal
memory.
8, 14,
19, 26
DGND
—
—
Output pin for command processing status..
13
15
CBUSYB
O
I
1
0
This pin outputs “L” level during command processing. Any command
should be entered when this pin is “H” level.
Connect to the crystal or ceramic resonator.
A feedback resistor around 1 MΩ is built in between this pin and the
XTB pin. Use this pin if need to use an external clock.
If the resonator is used, connect it as close to this pin as possible.
Connects to the crystal or ceramic resonator.
When to use an external clock, leave this pin open.
If the resonator is used, connect it as close to this pin as possible.
Power supply pins for logic circuitry.
XT
16
XTB
O
1
17, 22
DVDD
—
—
Connect a capacitor of 0.1 µF or more between these pins and DGND
pins.
18, 20
21
N.C
—
—
—
0
No-connected pins. Leave these pins open.
Regulator output pin for internal logic circuitry.
Connect a capacitor recommended between this pin and DGND pin.
Regulator output pin for Built-in ROM.
Connect a capacitor recommended between this pin and DGND pin.
Input pin for testing.
VDDL
23
24
25
27
VDDR
TESTI1
SG
—
I
0
0
Fix this pin to “L” level (DGND level). This pin has a pull-down resistor
built in.
Reference voltage output pin for the speaker amplifier built-in.
Connect a capacitor recommended between this pin and DGND pin.
Power supply pin for the speaker amplifier.
Connect a bypass capacitor of 0.1F or more between this pin and
SPGND pin.
—
—
0
SPVDD
—
28
29
30
SPGND
SPP
—
O
O
—
0
Ground pin for the speaker amplifier.
Positive(+) output pin of the speaker amplifier built-in.
Serves as the LINE output (*3), if built-in speaker amplifier is not used.
Negative(-) output pin of the speaker amplifier built-in.
SPM
Hi-Z
5/73
FEDL227XX-07
ML2272X-XXX/ML2276X-XXX
*1: Indicates the initial value during reset input or power down.
*2: “H” during power down.
*3: Outputs a voice signal before amplified by the speaker amplifier built-in.
PIN DESCRIPTION (FOR ML2272X SYNCHRONOUS SERIAL INTERFACE)
Initial value
Pin
Symbol
I/O
Description
Set pin of the SCK clock edge.
(*1)
When this pin is “L” level, rising edge is available for input(SI) and falling
edge is available for output(SO).
5
DIPH
I
0
When this pin is “H” level, falling edge is available for input(SI) and
rising edge is available for output(SO).
Chip select pin.
9
CSB
SCK
I
I
1
0
At the “L” level, data input/output is available.
Synchronous clock input pin for serial interface.
Input pin of synchronous serial data.
10
When the DIPH pin is “L” level, data is shifted in at the rising edges of
the SCK clock pulses.
When the DIPH pin is “H” level, data is shifted in at the falling edges of
the SCK clock pulses.
11
12
SI
I
0
Output pin of synchronous serial data.
When the DIPH pin is “L” level, data is output at the falling edges of the
SCK clock pulses.
When the DIPH pin is “H” level, data is output at the rising edges of the
SCK clock pulses.
SO
O
Hi-Z
When the CSB pin is “H” level, this pin is Hi-Z state.
*1: Indicates the initial value during reset input or power down.
6/73
FEDL227XX-07
ML2272X-XXX/ML2276X-XXX
PIN DESCRIPTION (FOR ML2276X I2C INTERFACE)
Initial value
Pin
Symbol I/O
SAD0
Description
(*1)
5, 9, 12
10
SAD1
SAD2
I
0
Set pin of the slave address.
Clock input pin for I2C serial interface.
This pin should be connected to pull-up resistor.
Input/output pin for I2C serial data.
Use for setting the mode of write/read and writing address, writing data
or reading data.
This pin should be connected to pull-up resistor.
(N-ch MOS) open drain, when output mode.
High impedance(Hi-Z), when input mode.
SCL
SDA
I
0
11
IO
0
*1: Indicates the initial value during reset or power down.
7/73
FEDL227XX-07
ML2272X-XXX/ML2276X-XXX
ABSOLUTE MAXIMUM RATINGS
(DGND = SPGND = 0 V, Ta = 25°C)
Parameter
Symbol
DVDD
SPVDD
VIN
Condition
—
Rating
Unit
,
Power supply voltage
−0.3 to +7.0
V
Input voltage
−0.3 to DVDD+0.3
V
—
Power dissipation
PD
938
mW
Applies to all pins except
SPM, SPP, VDDL, and VDDR
10
mA
mA
.
Output short-circuit
current
Applies to SPM and SPP
pins.
IOS
300
Applies to VDDL and VDDR
50
mA
°C
pins.
—
Storage temperature
TSTG
−55 to +150
RECOMMENDED OPERATING CONDITIONS
(DGND = SPGND = 0 V)
Range Unit
Parameter
Symbol
DVDD
SPVDD
TOP
Condition
,
Power supply voltage
Operating temperature
—
—
2.7 to 5.5
V
−40 to +85
Typ.
°C
Min.
3.5
Max.
4.5
Master clock frequency
fOSC
—
—
MHz
pF
4.096
External capacitors for
crystal oscillator
Cd, Cg
15
30
45
8/73
FEDL227XX-07
ML2272X-XXX/ML2276X-XXX
ELECTRICAL CHARACTERISTICS
DC Characteristics (for the 3V applications)
DVDD = SPVDD = 2.7 to 3.6 V, DGND = AGND = 0 V, Ta = −40 to +85°C
Parameter
“H” input voltage
“L” input voltage
Symbol
VIH
Condition
—
Min.
Typ.
—
Max.
DVDD
0.14×DVDD
—
Unit
V
0.86×DVDD
VIL
—
0
DVDD−0.4
DVDD−0.4
—
—
V
“H” output voltage 1
“H” output voltage 2 (*1)
“L” output voltage 1
“L” output voltage 2 (*1)
“L” output voltage 3 (*2)
“H” input current 1
“H” input current 2 (*3)
“H” input current 3 (*4)
“L” input current 1
“L” input current 2 (*3)
“L” input current 3 (*5)
“H” output leak current 3
(*6)
VOH1
VOH2
VOL1
VOL2
VOL3
IIH1
IOH = −1 mA
IOH = −50 µA
IOL = 2 mA
IOL = 50 µA
IOL = 3 mA
VIH = DVDD
VIH = DVDD
VIH = DVDD
VIL = GND
VIL = GND
VIL = GND
—
V
—
—
V
—
0.4
V
—
—
0.4
V
—
—
0.4
V
—
—
10
µA
µA
µA
µA
µA
µA
IIH2
0.3
2.0
30
—
15
IIH3
2
200
—
IIL1
−10
−15
−200
IIL2
−2.0
−30
−0.3
−2
IIL3
IILOH
IILOL
IDD
VOH = DVDD
VOL = GND
—
−10
—
—
—
—
10
—
20
µA
µA
“L” output leak current 3
(*6)
Supply current during
playback
f
OSC = 4.096 MHz
No output load
mA
Ta = −40 to +40°C
Ta = −40 to +85°C
—
—
1
1
10
20
µA
µA
Power-down supply
current
IDDS
*1: Applies to the XTB pin.
*2: Applies to the SCL and SDA pins.
*3: Applies to the XT pin.
*4: Applies to the TESTI0 pin.
*5: Applies to the RESETB pin.
*6: Applies to the TESTO pin.
9/73
FEDL227XX-07
ML2272X-XXX/ML2276X-XXX
DC Characteristics (for the 5V applications)
DVDD = SPVDD = 4.5 to 5.5 V, DGND = SPGND = 0 V, Ta = −40 to +85°C
Parameter
“H” input voltage
“L” input voltage
Symbol
VIH
Condition
—
Min.
0.8×DVDD
0
Typ.
—
Max.
DVDD
0.2×DVDD
—
Unit
V
VIL
—
—
V
“H” output voltage 1
“H” output voltage 2 (*1)
“L” output voltage 1
“L” output voltage 2 (*1)
“L” output voltage 3 (*2)
“H” input current 1
“H” input current 2 (*3)
“H” input current 3 (*4)
“L” input current 1
“L” input current 2 (*3)
“L” input current 3 (*5)
“L” output leak current 2
(*6)
VOH1
VOH2
VOL1
VOL2
VOL3
IIH1
IOH = −1 mA
IOH = −50µA
IOL = 2 mA
IOL = 50 µA
IOL = 3 mA
VIH = DVDD
VIH = DVDD
VIH = DVDD
VIL = GND
VIL = GND
VIL = GND
DVDD−0.4
DVDD−0.4
—
—
V
—
—
V
—
0.4
V
—
—
0.4
V
—
—
0.4
V
—
—
10
µA
µA
µA
µA
µA
µA
IIH2
0.8
5.0
100
—
20
IIH3
20
400
—
IIL1
−10
−20
−400
IIL2
−5.0
−100
−0.8
−20
IIL3
IILOH
IILOL
IDD
VOH = DVDD
VOL = GND
—
−10
—
—
—
—
10
—
25
µA
µA
“L” output leak current 3
(*6)
Supply current during
playback
f
OSC = 4.096 MHz
No output load
mA
Power-down supply
current
Ta = −40 to +40°C
Ta = −40 to +85°C
—
—
1
1
15
30
µA
µA
IDDS
*1: Applies to the XTB pin.
*2: Applies to the SCL and SDA pins.
*3: Applies to the XT pin.
*4: Applies to the TESTI0 pin.
*5: Applies to the RESETB pin.
*6: Applies to the TESTO pin.
10/73
FEDL227XX-07
ML2272X-XXX/ML2276X-XXX
Characteristics of Analog Circuitry (for the 3V applications)
DVDD = SPVDD = 2.7 to 3.6 V, DGND = SPGND = 0 V, Ta = −40 to +85°C
Parameter
AIN input resistance
AIN input voltage range
LINE output load
resistance
Symbol
RAIN
Condition
Min.
15
Typ.
20
Max.
25
Unit
kΩ
Vp-p
VAIN
DVDD×2/3
RLA
VAO
During 1/2 DVDD output
No output load
10
kΩ
LINE output voltage
range
DVDD/6
DVDD×5/6
V
SG output voltage
SG output resistance
SPM, SPP output load
resistance
VSG
RSG
0.95×VDDL/2
VDDL/2
96
1.05×VDDL/2
V
During power down
57
135
kΩ
RLSP
PSPO
8
Ω
Speaker amplifier output
power
SPVDD = 3.3V, f = 1kHz
RSPO = 8Ω, THD≥10%
100
300
mW
Output offset voltage
between SPM and SPP
with no signal present
SPIN–SPM gain = 0dB
VOF
−50
+50
mV
With a load of 8Ω
Characteristics of Analog Circuitry (for the 5V applications)
DVDD = SPVDD = 4.5 to 5.5 V, DGND = SPGND = 0 V, Ta = −40 to +85°C
Parameter
AIN input resistance
AIN input voltage range
LINE output load
resistance
Symbol
RAIN
Condition
Min.
15
Typ.
20
Max.
25
Unit
kΩ
Vp-p
VAIN
DVDD×2/3
RLA
VAO
During 1/2 DVDD output
No output load
10
kΩ
LINE output voltage
range
DVDD/6
DVDD×5/6
V
SG output voltage
SG output resistance
SPM, SPP output load
resistance
VSG
RSG
0.95×VDDL/2
VDDL/2
96
1.05×VDDL/2
V
During power down
57
135
kΩ
RLSP
8
Ω
SPVDD = 5.0V, f = 1kHz
Speaker amplifier output
power
PSPO
RSPO = 8Ω, THD≥10%
500
700
mW
Ta=25°C
Output offset voltage
between SPM and SPP
with no signal present
SPIN–SPM gain = 0dB
VOF
−50
+50
mV
With a load of 8Ω
11/73
FEDL227XX-07
ML2272X-XXX/ML2276X-XXX
AC Characteristics (Common to All Products)
DVDD = SPVDD = 2.7 to 5.5 V, DGND = SPGND = 0 V, Ta = −40 to +85°C
Applicable
command
Parameter
Symbol
Condition
Min. Typ. Max. Unit
Master clock duty cycle
fduty
tRST
—
—
—
40
100
—
50
—
—
60
—
%
µs
µs
RESETB input pulse width
Reset noise rejection pulse width
tNRST
0.1
STOP, SLOOP,
CLOOP, CVOL,
AVOL
tINT
2
—
—
µs
Command input interval time
Command input enable time
fOSC = 4.096 MHz
PUP
tINTP
10
—
—
—
—
ms
RDSTAT
(After status read)
SLOOP
(Continuous play
by PLAY/MUON)
PUP
tINTRD
500
µs
tcm
fOSC = 4.096 MHz
—
—
10
ms
tPUP1
tPD1
fOSC = 4.096 MHz
fOSC = 4.096 MHz
2.0
—
2.5
—
3.0
20
ms
PDWN
µs
2nd byte of AMODE
(PUP = “0”
fOSC = 4.096 MHz
When an external
clock is input
tPUPA1
58
60
62
ms
SPEN = “0”,
DAEN = “0”→”1”)
2nd byte of AMODE
(PUP = “1”
tPUPA2
tPOPA3
tPDA1
fOSC = 4.096 MHz
90
93
95
ms
ms
ms
SPEN = ”0”,
DAEN = “0”→”1”)
2nd byte of AMODE
(SPEN = “0” →”1”)
2nd byte of AMODE
(PUP = “0”
f
OSC = 4.096 MHz
CBUSYB “L” level output time
46*2
108
60*3
110
70*4
112
AVOL=“0Eh~3Fh”
fOSC = 4.096 MHz
SPEN = “0”,
DAEN = “1”→”0”)
2nd byte of AMODE
(PUP = “1”
tPDA2
fOSC = 4.096 MHz
140
142
144
ms
SPEN = “0”,
DAEN = “1” →”0”)
2nd byte of AMODE
(SPEN = “1” →”0”)
f
OSC = 4.096 MHz
tPDA3
tCB1
0.2*2 6.5*3 17*4
ms
ms
AVOL=“0Eh~3Fh”
fOSC = 4.096 MHz
CBUSYB “L” level output time 1(*1)
—
—
2
Note: Output pin load capacitance = 45 pF
*1: Applies to the case that a command is input except after a PUP, PDWN, or 2nd byte of AMODE command
input.
*2: The value when AVOL=”0Eh” is set.
*3: The value when AVOL=”23h” is set.
*4: The value when AVOL=”3Fh” is set.
12/73
FEDL227XX-07
ML2272X-XXX/ML2276X-XXX
AC Characteristics of Synchronous Serial Command Interface (Applied to ML2272X)
DVDD = SPVDD = 2.7 to 5.5 V, DGND = SPGND = 0 V, Ta = −40 to +85°C
Applicable
command
Parameter
Symbol
Condition
Min. Typ. Max. Unit
SCK input enable time from CSB fall edge
SCK hold time from CSB rise edge
Data floating time from CSB rise edge
Data setup time from SCK rise edge
Data hold time from SCK rise edge
Data output delay time from SCK fall edge
Data setup time from SCK fall edge
Data hold time from SCK fall edge
Data output delay time from SCK rise edge
SCK “H” level pulse width
tESCK
tCSH
—
100
100
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
ns
ns
ns
ns
ns
ns
ns
ns
ns
ns
ns
ns
ns
—
tDOZ
RL = 3 kΩ
DIPH = “0”
DIPH = “0”
RL = 3 kΩ
DIPH = “1”
DIPH = “1”
RL = 3 kΩ
—
100
—
tDIS1
50
tDIH1
50
—
tDOD1
tDIS2
—
80
—
50
tDIH2
50
—
tDOD2
tSCKH
tSCKL
tDBSY1
tDBSY2
—
80
—
100
100
—
SCK “L” level pulse width
—
—
CBUSYB output delay time from SCK rise edge
CBUSYB output delay time from SCK fall edge
DIPH = “0”
DIPH = “1”
150
150
—
Note: Output pin load capacitance = 45 pF
AC Characteristics of I2C Command Interface (Applied to ML2276X)
DVDD = SPVDD = 2.7 to 5.5 V, DGND = SPGND = 0 V, Ta = −40 to +85°C
(High-speed mode)
Parameter
Symbol
tSCL
Unit
kHz
µs
Min.
0
Max.
400
SCL clock frequence
Hold time for (repeated) START condition
After this period, the first clock pulse is generated.
SCL “L” level pulse width
THD;STA
0.6
—
tLOW
tHIGH
tSU;STA
tHD;DAT
tSU;DAT
tr
1.3
0.6
—
—
µs
µs
µs
µs
ns
ns
ns
µs
µs
PF
SCL “H” level pulse width
Setup time for repeated START condition
Data hold time: For I2C bus devices
Data setup time
0.6
—
0
0.9
—
100
20
SDA and SCL signal rise time
300
300
—
SDA and SCL signal fall time
tf
20
Setup time for STOP condition
tSU;STO
tBUF
0.6
Bus free time between STOP condition and START condition
Capacitive load for each bus line
Noise margin at a “L” level in each device connected (including
hysteresis)
1.3
—
Cb
—
400
0.1×
DVDD
0.1×
DVDD
VnL
VnH
—
—
V
V
Noise margin at a “H” level in each device connected (including
hysteresis)
Note: Output pin load capacitance = 45 pF
13/73
FEDL227XX-07
ML2272X-XXX/ML2276X-XXX
TIMING DIAGRAMS ( 3-WIRED SERIAL CLOCK-SYNCHRONIZED (ML2272X) )
Power-On Timing
5V
5V
SPVDD
DVDD
RESETB
Status
tRST
VIH
VIL
Performing a
reset
Power-down
Oscillation is stopped after power-on.
Power-Up Timing
CSB
SCK
SI
tPUP1
VOH
VOL
CBUSYB
VOH
VOL
NAR
(internal)
VOH
VOL
BUSYB
(internal)
Oscillation stopped
Power-down
Oscillating
XTXTB
Command is being
processed
Oscillation stabilized
Awaiting command
Status
14/73
FEDL227XX-07
ML2272X-XXX/ML2276X-XXX
Power-Down Timing (At the PDWN command Input)
CSB
SCK
SI
tPD1
CBUSYB VOH
VOL
VOH
NCR
(internal)
VOL
VOH
BUSYB
(internal)
VOL
Oscillation
stopped
Oscillating
XT•XTB
Command is
Awaiting command
Power-down
Status
being processed
Power-Down Timing (At the RESETB Input)
RESETB
tRST
Oscillating
Oscillation stopped
XTXTB
V
DDLSG
GND
Hi-Z
SPM
GND
SPP
Playing
Power-down
Status
Note: The same timing is applied in the case that the RESETB signal is input during command waiting.
15/73
FEDL227XX-07
ML2272X-XXX/ML2276X-XXX
Playback Start Timing by the PLAY Command
PLAY command
st byte
PLAY command
2nd byte
1
CSB
SCK
SI
tCB1
tCB1
VOH
VOL
CBUSYB
VOH
VOL
NCR
(internal)
(*1)
VOH
VOL
BUSYB
(internal)
1/2SPVDD
SPM
1/2SPVDD
SPP
Address is being
controlled
Command standby
Awaiting command
Playing
Awaiting command
Status
Command is being
processed
Note: The time length of “L” level of BUSYB is tCB1 + voice reproduction time + 12ms.
Playback Stop Timing
STOP command
CSB
SCK
SI
tCB1
VOH
CBUSYB
VOL
VOH
NCR
(internal)
VOL
VOH
BUSYB
(internal)
VOL
1/2SPVDD
SPM
1/2SPVDD
SPP
Status
Playing
Awaiting command
Command is being processed
16/73
FEDL227XX-07
ML2272X-XXX/ML2276X-XXX
Continuous Playback Timing by the PLAY Command
PLAY command
2nd byte
PLAY command PLAY command
1st byte 2nd byte
CSB
SCK
SI
tcm
(*2)
tCB1
tCB1
tCB1
CBUSYB VOH
VOL
VOH
NCR
(*1)
(internal)VOL
BUSYB
(internal)
1/2SPVDD
SPM
1/2SPVDD
SPP
Awaiting command
Playing phrase 1
Playing phrase 2
Status
Address is being controlled
Address is being controlled
*1: The time length of “L” level of the NCR signal during playback varies depending on the input timing of
command.
*2: The following PLAY command must be inputted within tcm. When it cannot, please input the
phrase 2 PLAY command after checking that BUSYB became “H”(phrase 1 playback has been finished).
Continuous Playback Timing by the START Command
START command
START command
SCL
SDA
A
6
A
5
A
4
W A
A
A
tcm
(*2)
tCB1
tCB1
CBUSYB VOH
VOL
VOH
NCR
(*1)
(internal)VOL
BUSYB
(internal)
1/2SPVDD
1/2SPVDD
SPM
SPP
Awaiting command
Playing phrase 1
Playing phrase 2
Status
Address is being controlled
Address is being controlled
*1: The time length of “L” level of the NCR signal during playback varies depending on the input timing of
command.
*2: Please input the following START command within tcm. When it cannot, please input the
phrase 2 START command after checking that BUSYB became “H”(phrase 1 playback has been finished).
17/73
FEDL227XX-07
ML2272X-XXX/ML2276X-XXX
Silence Insertion Timing by the MUON Command
PLAY command
2nd byte
MUON command MUON command
1st byte 2nd byte
PLAY command PLAY command
1st byte 2nd byte
CSB
SCK
SI
tcm
tcm
(*2)
(*2)
tCB1
tCB1
tCB1
tCB1
tCB1
VOH
VOL
CBUSYB
VOH
VOL
NCR
(internal)
(*1)
(*1)
BUSYB
(internal)
1/2SPVDD
SPM
1/2SPVDD
SPP
Awaiting command
Playing
Silence is being inserted
Playing
Status
Address is being controlled
*1: The time length of “L” level of the NCR signal during playback or silence insertion varies depending on
the input timing of command.
*2: The following MUON commnad or PLAY command must be inputted within tcm. When it
cannot, please input the MUON commnad or PLAY command after checking that BUSYB
became “H”(playback has been finished).
Repeat Playback Set/Release Timing by the SLOOP and CLOOP Commands
SLOOP command
CLOOP command
PLAY command
2nd byte
VIH
VIL
CSB
SCK
SI
tINT
tcm
tCB1
tCB1
tCB1
VOH
VOL
CBUSYB
NCR
VOH
VOL
BUSYB
(internal)
1/2SPVDD
SPM
1/2SPVDD
SPP
Awaiting command
Playing
Playing
Awaiting command
Status
Address is being
controlled
Address is being
controlled
Command is being processed
*1: The SLOOP commnad must be inputted within tcm.
18/73
FEDL227XX-07
ML2272X-XXX/ML2276X-XXX
Timing of Volume Change by the CVOL Command
CVOL command
1st byte
CVOL command
2nd byte
CSB
SCK
SI
tCB1
tCB1
CBUSYB VOH
VOL
VOH
NCR
(internal)
VOL
VOH
BUSYB
(internal)
VOL
Awaiting command
Awaiting command
Awaiting command
Status
Command is being
processed
Command is being
processed
Timing of Volume Change by the AVOL Command
AVOL command
1st byte
AVOL command
2nd byte
CSB
SCK
SI
tCB1
tCB1
CBUSYBVOH
VOL
VOH
NCR
(internal)
VOL
VOH
BUSYB
(internal)
VOL
Awaiting command
Awaiting command
Awaiting command
Status
Command is being
processed
Command is being
processed
19/73
FEDL227XX-07
ML2272X-XXX/ML2276X-XXX
TIMING DIAGRAMS ( I2C INTERFACE (ML2276X) )
Power-On Timing
5V
SPVDD
5V
DVDD
tRST
VIH
RESETB
VIL
Performing a
Power-down
Status
reset
Oscillation is stopped after power-on.
Power-Up Timing
SCL
SDA
A
6
A
5
A
4
W A
A
tPUP1
VOH
VOL
CBUSYB
VOH
VOL
NCR
(internal)
VOH
VOL
BUSYB
(internal)
Oscillation stopped
Power-down
Oscillating
XT・XTB
Command is being
processed
Oscillation stabilized
Awaiting command
Status
20/73
FEDL227XX-07
ML2272X-XXX/ML2276X-XXX
Power-Down Timing (At the PDWN command Input)
SCL
A
6
A
5
A
4
SDA
W A
A
tPD1
CBUSYBVOH
VOL
VOH
NCR
(internal)VOL
VOH
BUSYB
(internal) VOL
Oscillation
stopped
Oscillating
XT・XTB
Command is
Awaiting command
Power-down
Status
being processed
Power-Down Timing (At the RESETB Input)
RESETB
tRST
Oscillating
Oscillation stopped
XT・XTB
V
DDL・SG
GND
Hi-Z
SPM
GND
SPP
Playing
Power-down
Status
Note: The same timing is applied in the case that the RESETB signal is input during command waiting.
21/73
FEDL227XX-07
ML2272X-XXX/ML2276X-XXX
Playback Start Timing by the PLAY Command
PLAY command
1st byte
PLAY command
2nd byte
SCL
A
6
A
5
A
4
SDA
W A
A
A
tCB1
tCB1
VOH
VOL
CBUSYB
VOH
VOL
NCR
(internal)
(*1)
VOH
VOL
BUSYB
(internal)
1/2SPVDD
1/2SPVDD
SPM
SPP
Command standby
Awaiting command
Playing
Awaiting command
Status
Command is being
processed
Address is being controlled
*1: The maximum length of the “L” interval of BUSYB is tCB1 + voice reproduction time + 12ms.
Playback Stop Timing
STOP command
SCL
A
6
A
5
A
4
SDA
W A
A
tCB1
VOH
VOL
CBUSYB
VOH
VOL
NCR
(internal)
VOH
VOL
BUSY
(internal)
1/2SPVDD
SPM
1/2SPVDD
SPP
Playing
Awaiting command
Status
Command is being processed
22/73
FEDL227XX-07
ML2272X-XXX/ML2276X-XXX
Continuous Playback Timing by the PLAY Command
PLAY command
2nd byte
PLAY command
1st byte
PLAY command
2nd byte
SCL
SDA
A
6
A
5
A
4
W A
A
A
A
tcm
(*2)
tCB1
tCB1
tCB1
CBUSYB VOH
VOL
VOH
NCR
(*1)
(internal)VOL
BUSYB
(internal)
1/2SPVDD
1/2SPVDD
SPM
SPP
Awaiting command
Playing phrase 1
Playing phrase 2
Status
Address is being controlled
Address is being controlled
*1: The time length of “L” level of the NCR signal during playback varies depending on the input timing of
command.
*2: The following PLAY command must be inputted within tcm. When it cannot, please input the
phrase 2 PLAY command after checking that BUSYB became “H”(phrase 1 playback has been finished).
Continuous Playback Timing by the START Command
START command
START command
SCL
SDA
A
6
A
5
A
4
W A
A
A
tcm
(*2)
tCB1
tCB1
CBUSYB VOH
VOL
VOH
NCR
(*1)
(internal)VOL
BUSYB
(internal)
1/2SPVDD
1/2SPVDD
SPM
SPP
Awaiting command
Playing phrase 1
Playing phrase 2
Status
Address is being controlled
Address is being controlled
*1: The time length of “L” level of the NCR signal during playback varies depending on the input timing of
command.
*2: Please input the following START command within tcm. When it cannot, please input the
phrase 2 START command after checking that BUSYB became “H”(phrase 1 playback has been finished).
23/73
FEDL227XX-07
ML2272X-XXX/ML2276X-XXX
Silence Insertion Timing by the MUON Command
MUON command
1st byte
MUON command
2nd byte
PLAY command
2nd byte
SCL
SDA
A
6
A
5
A
4
W A
A
A
A
tcm
tcm
(*2)
(*2)
tCB1
tCB1
tCB1
CBUSYB VOH
VOL
VOH
NCR
(*1)
(internal)VOL
BUSYB
(internal)
1/2SPVDD
1/2SPVDD
SPM
SPP
Awaiting command
Playing
Silence is being inserted
Status
Address is being controlled
PLAY command
1st byte
PLAY command
2nd byte
SCL
SDA
A
6
A
5
A
4
W A
A
A
tcm
(*2)
tCB1
tCB1
VOH
CBUSYB
VOL
VOH
NCR
(internal)
(*1)
VOL
VOH
BUSYB
(internal)
VOL
1/2SPVDD
1/2SPVDD
SPM
SPP
Silence is being inserted
Playing
Status
Address is being controlled
*1: The time length of “L” level of the NCR signal during playback or silence insertion varies depending on the
input timing of command.
*2: Please input the following MUON commnad or PLAY command within tcm. When it cannot, please input
the MUON commnad or PLAY command after checking that BUSYB became “H”(playback has been
finished).
24/73
FEDL227XX-07
ML2272X-XXX/ML2276X-XXX
Repeat Playback Set/Release Timing by the SLOOP and CLOOP Commands
SLOOP command
PLAY command
2nd byte
SCL
SDA
A
6
A
5
A
4
W A
A
A
tcm
tCB1
tCB1
VOH
VOL
CBUSYB
(*1)
VOH
VOL
NCR
(internal)
BUSYB
(internal)
1/2SPVDD
1/2SPVDD
SPM
SPP
Awaiting command
Playing
Playing
Status
Address is being
controlled
Address is being
controlled
CLOOP command
SCL
SDA
A
6
A
5
A
4
W A
A
tCB1
CBUSYB VOH
VOL
VOH
NCR
(internal) VOL
BUSYB
(internal)
1/2SPVDD
SPM
SPP
1/2SPVDD
Playing
Playing
Awaiting command
Status
Address is being
controlled
*1: The SLOOP commnad must be inputted within tcm.
25/73
FEDL227XX-07
ML2272X-XXX/ML2276X-XXX
Timing of Volume Change by the CVOL Command
CVOL command
1st byte
CVOL command
2nd byte
SCL
SDA
A
6
A
5
A
4
W A
A
A
tCB1
tCB1
VOH
VOL
CBUSYB
VOH
VOL
NCR
(internal)
VOH
VOL
BUSYB
(internal)
Awaiting command
Awaiting command
Awaiting command
Status
Command is being processed
Command is being processed
Timing of Volume Change by the AVOL Command
AVOL command
1st byte
AVOL command
2nd byte
SCL
SDA
A
6
A
5
A
4
W A
A
A
tCB1
tCB1
VOH
VOL
CBUSYB
VOH
VOL
NCR
(internal)
VOH
VOL
BUSYB
(internal)
Awaiting command
Awaiting command
Awaiting command
Status
Command is being processed
Command is being processed
26/73
FEDL227XX-07
ML2272X-XXX/ML2276X-XXX
Serial Command Interface Timing (Applied to ML2272X)
when DIPH pin is “L” level ( Rise edge for input, fall edge for output)
VIH
VIL
CSB
SCK
tCSH
tESCK
tSCKH
VIH
VIL
tDIS1
tDIH1
tSCKL
VIH
VIL
SI
tDOD1
tDOZ
VIH
VIL
SO
tDBSY1
CBUSYB VOH
VOL
Serial Command Interface Timing (Applied to ML2272X)
when DIPH pin is “H” level ( Fall edge for input, rise edge for output)
VIH
CSB
VIL
tCSH
tESCK
tSCKL
VIH
VIL
SCK
tDIS2
tDIH2
tSCKH
VIH
VIL
SI
tDOD2
tDOZ
VIH
VIL
SO
tDBSY2
CBUSYB VOH
VOL
I2C Command Interface Timing (Applied to ML2276X)
27/73
FEDL227XX-07
ML2272X-XXX/ML2276X-XXX
FUNCTIONAL DESCRIPTION
Synchronous Serial Command Interface (Applied to ML2272X)
The CSB, SCK, SI, and SO pins are used to input the command data or to read the status. Driving the CSB pin
to “L” level enables the serial CPU interface.
After the CSB pin is driven to “L” level, the command data are input through the SI pin from the MSB
synchronized with the SCK clock. The command data shifts in through the SI pin at the rising or falling edge
of the SCK clock pulse. Then, a command is executed at the rising or falling edge of the eighth pulse of the
SCK clock.
As for status reading, status is output from the SO pin, synchronized with the SCK clock after the CSB pin is
driven to “L” level.
The SCK clock edge is specified by the input level of the DIPH pin.
- When the DIPH pin is “L” level, rising edge is available for input from SI pin and falling edge is available
for output from SO pin.
- When the DIPH pin is “H” level, falling edge is available for input from SI pin and rising edge is available
for output from SO pin.
It is possible to input command data, even if the CSB pin is fixed by “L” level. However, if unexpected pulses
caused by noise are induced through the SCK pin, SCK clock pulses are incorrectly counted, causing a failure in
normal recognition of command. Then it is recommended that the CSB pin is “L” level only for command
input.
The count of the SCK clock pulse is initialized when the CSB pin goes to “H” level.
Command Data Input or Status Read Timing
• When DIPH pin is “L” level
CSB
SCK
D7 D6 D5 D4 D3 D2 D1 D0
MSB LSB
D7 D6 D5 D4 D3 D2 D1 D0
SI
(
)
(
)
SO
• When DIPH pin is “H” level
CSB
SCK
D7 D6 D5 D4 D3 D2 D1 D0
MSB LSB
D7 D6 D5 D4 D3 D2 D1 D0
SI
(
)
(
)
SO
28/73
FEDL227XX-07
ML2272X-XXX/ML2276X-XXX
The following table shows the contents of each data output at a status read.
Output status signal
MSB
7SB
6SB
5SB
4SB
3SB
2SB
LSB
BUSYB output
NCR output
The BUSYB output is “L” level when a command is being processed or playback is going on. In other states,
the BUSYB output is “H” level. The NCR signal output is “L” level when a command is being processed or
playback is in a standby state. In other states, the NCR output is “H” level.
29/73
FEDL227XX-07
ML2272X-XXX/ML2276X-XXX
I2C Command Interface (Applied to ML2276X)
The I2C Interface built-in is an serial interface (: slave side) that is compliant with I2C bus specification. It
supports Fast mode and enables data transmission/reception at 400 kbps. The SCL and SDA pins are used to
input the command data or to read the status. Pins (:SAD0, 1 and 2) are used to set the slave address.
Pull-up resister should be connected to SCL pin and SDA pin.
For the master on the I2C bus to communicate with this device (: slave), input the slave address with the first
seven bits after setting the start condition. The upper three bits of the slave address can be set using the SAD0
to 2 pins. The eighth bit of slave address is used to set the direction (: write or read) of communication. If the
eighth bit is “0” level, it is write mode from master to slave. And, if the eighth bit is “1” level, it is read mode
from master.
The communication is made in the unit of byte. And acknowledge is needed for each byte.
The protocol of I2C communication is shown below.
24 Command flow at data write
Start condition
Slave address +W(0)
Write address (ex. 1st byte of a command)
Write data (ex. 2nd byte of a command)
STOP condition
Data write timing
SCL
A6 A5 A4 A3 A2A1 A0 W A D7 D6D5 D4 D3D2 D1 D0 A D7 D6D5 D4 D3D2 D1 D0 A
SDA
P
Slave Address
A
1st Command Data
A
2nd Command Data
A
S
24 Command flow at the data read
Start condition
Slave address +R (1)
Read data (ex. Status read)
STOP condition
Data read timing
SCL
A6
R
A
A
A
A5 A4 A3 A2 A1 A0
Slave Address
D7 D6D5 D4 D3D2 D1 D0
Read Data
D7 D6D5 D4 D3D2 D1 D0
Read Data
SDA
A
A
A
P
S
30/73
FEDL227XX-07
ML2272X-XXX/ML2276X-XXX
Setting of the slave address using the SAD0 to 2 pins
SAD2 SAD1 SAD0
Lower 4 bits
0101
0
0
0
0
1
1
1
1
0
0
1
1
0
0
1
1
0
1
0
1
0
1
0
1
0101
0101
0101
0101
0101
0101
0101
The following table shows the contents of each data output at the status read. Status is updated by the
RDSTAT command, therefore, be sure to input the RDSTAT command in order to read status.
Output status signal
MSB
7SB
6SB
5SB
4SB
3SB
2SB
LSB
BUSYB output (BUSYB0)
NCR output (NCR0)
The BUSYB signal is “L” level when either a command is being processed or the playback of a particular
channel is going on. In other states, the BUSYB signal is “H” level. The NCR signal is “L” level when either
a command is being processed or a particular channel is in standby for playback. In other states, the NCR
signal is “H” level.
31/73
FEDL227XX-07
ML2272X-XXX/ML2276X-XXX
Command List
Each command is configured in 1-byte (8-bit) units. Each of the AMODE, AVOL FADR, PLAY, MUON,
CVOL, VPITCH, and VSPD commands forms one command by two bytes.
Command
D7
0
D6
0
D5
0
D4
0
D3
0
D2
0
D1
S1
D0
S0
Description
Power-up command.
Shift from the power down state to
the command waiting state. Also,
sets the number of memory banks.
Power-down command.
PUP
PDWN
0
0
1
0
0
0
0
0
Shift from the command waiting
state to the power down state.
Status read command.
RDSTAT
AMODE
1
0
0
0
1
0
1
0
0
0
0
1
0
0
0
0
Read the command status.
Control command of analog circuitry.
Set operation of power-up/dpwn
and input/output.
FAD DAG1 DAG0 AIG1 AIG0 DAEN SPEN POP
Playback start command.
0
F7
0
1
F6
1
0
F5
1
0
F4
0
F9
F3
0
F8
F2
0
0
F1
0
0
F0
0
PLAY
Use the data of the 2nd byte to
specify a phrase number.
STOP
FADR
Playback stop command.
0
0
1
1
F9
F3
F8
F2
0
0
Set command of playback phrase.
Use START command to start.
Playback start command without
phrase spec. Use FADR command
to set phrase. After played back by
PLAY command, the same phrase
can be played back with this
command.
F7
F6
F5
F4
F1
F0
START
0
1
0
1
0
0
0
0
Silence insertion command.
0
1
1
1
0
0
0
0
MUON
SLOOP
CLOOP
Set the silent time length using M7
to M0 bits in the 2nd byte.
M7
M6
M5
M4
M3
M2
M1
M0
Set command of repeat playback.
Setting is enabled during playback.
Stop command of repeat playback.
Also, repeat playback is released by
STOP command automatically.
Volume control command.
1
1
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
CVOL
Set volume using CV4 to CV0 bits in
the 2nd byte.
CV4 CV3 CV2 CV1 CV0
0
0
0
0
0
1
0
0
0
Analog volume control command.
Set volume using AV5 to AV0 bits.
AVOL
AV5 AV4 AV3 AV2 AV1 AV0
1
1
1
PI5
0
0
PI4
1
0
PI3
0
0
PI2
0
0
PI1
0
0
PI0
0
Pitch conversion command.
Can be specified pitch.
VPITCH
PI7
1
PI6
1
Speech
speed
conversion
VSPD
command.
Can be specified speed.
SD7 SD6 SD5 SD4 SD3 SD2 SD1 SD0
32/73
FEDL227XX-07
ML2272X-XXX/ML2276X-XXX
Voice Synthesis Algorithm
Four types of voice synthesis algorithm are supported. They are 4-bit ADPCM2, 8-bit non-linear PCM, 8-bit
straight PCM and 16-bit straight PCM. Select the best one according to the characteristics of playback voice.
The following table shows key features of each algorithm.
Voice synthesis
Applied waveform
Feature
algorithm
Up version of LAPIS Semiconductor’s specific voice
4-bit ADPCM2
Normal voice waveform synthesis algorithm (:4-bit ADPCM).
Voice quality is improved.
Algorithm which plays back mid-range of waveform as
8-bit Nonlinear PCM
Waveform including high
frequency signals
10-bit equivalent voice quality.
Normal 8-bit PCM algorithm.
Normal 16-bit PCM algorithm,
8-bit straight PCM
16-bit straight PCM
(sound effect, etc.)
33/73
FEDL227XX-07
ML2272X-XXX/ML2276X-XXX
Memory Allocation and Creating Voice Data
The ROM is partitioned into four data areas: voice (i.e., phrase) control area, test area, voice area, and edit ROM
area.
The voice control area manages the voice data in the ROM. It contains data for controlling the start/stop
addresses of voice data for 1,024 phrases, use/non-use of the edit ROM function and so on.
The test area contains data for testing.
The voice area contains actual waveform data.
The edit ROM area contains data for effective use of voice data. For the details, refer to the section of “Edit
ROM Function.”
The edit ROM area is not available if the edit ROM is not used.
The ROM data is created using a dedicated tool.
Configuration of ROM data
0x00000
Voice control area
(Fixed 64 Kbits)
0x01FFF
0x02000
Test area
0x0205F
0x02060
Voice area
max: 0x1FFFFF
Edit ROM area
Depends on creation
of ROM data.
max: 0x1FFFFF
Playback Time and Memory Capacity
The playback time depends on the memory capacity, sampling frequency, and 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 × (Memory capacity – 64.75 [Kbits]
Playback time [sec] =
Sampling frequency [kHz] × Bit length
(Bit length is 4 at the 4-bit ADPCM2 and 8/16 at the PCM.)
Example) In the case that the sampling frequency is 16 kHz, algorithm is 4-bit ADPCM2 and ROM capacity
is 16 Mbits, the playback time is approx. 261 seconds, as shown below.
1.024×(16834 – 64.75) [Kbits]
≅ 261 [sec]
Playback time =
16 [kHz] × 4 [bits]
34/73
FEDL227XX-07
ML2272X-XXX/ML2276X-XXX
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:
Silence insertion:
There is no limit to set the number of times of continuous playback. It
depends on the memory capacity only.
20ms to 1,024 ms (4ms/step)
It is possible to use voice ROM effectively to use the edit ROM function.
Below is an example of the ROM structure, case of using the edit ROM function.
Example 1) Phrases using the Edit ROM Function
Phrase 1
Phrase 2
Phrase 3
Phrase 4
Phrase 5
A
A
E
E
A
B
C
D
D
B
C
D
D
B
D
Silence
E
C
D
Example 2) Structure of the ROM that contents of example 1 are stored
Address control area
A
B
C
D
E
Editing area
35/73
FEDL227XX-07
ML2272X-XXX/ML2276X-XXX
Memory Bank Switching Function
The memory bank switching function enables the the built-in ROM area that is divivided into up to four banks to
be used. When four banks are used, the maximum number of phrases per bank is 1024 so that up to 4096 phrases
can be played back.
Using this function, multiple ROM codes can be grouped into one code.
The settings of SEL1 pin and SEL0 pin determines which memory bank is used. To playback phrases, the
number of memory banks must be specified in PUP.
When using a memory bank switching function, data must be divided and saved in the specified areas at ROM
data creation.
− When the number of memory banks is 1
SEL1 SEL0
ML22725-XXX
ML22765-XXX
ML22724-XXX
ML22764-XXX
ML22723-XXX
ML22763-XXX
0
0
00000h – 1FFFFFh
00000h – FFFFFh
00000h -7FFFFh
− When the number of memory banks is 2
SEL1 SEL0
ML22725-XXX
ML22765-XXX
ML22724-XXX
ML22764-XXX
ML22723-XXX
ML22763-XXX
0
0
0
1
00000h – FFFFFh
00000h – 7FFFFh
80000h – FFFFFh
00000h – 3FFFFh
40000h – 7FFFFh
100000h – 1FFFFFh
− When the number of memory banks is 4
ML22725-XXX
SEL1 SEL0
ML22724-XXX
ML22764-XXX
ML22723-XXX
ML22763-XXX
ML22765-XXX
0
0
1
1
0
1
0
1
00000h – 7FFFFh
80000h – FFFFFh
100000h – 17FFFFh
180000h – 1FFFFFh
00000h – 3FFFFh
40000h – 7FFFFh
80000h – BFFFFh
C0000h – FFFFFh
00000h – 1FFFFh
20000h – 3FFFFh
40000h – 5FFFFh
60000h – 7FFFFh
The memory (16 Mbits) in the ML22725 is divided as shown below.
Bank 1
Bank 1
Bank 1
Capacity: 16 Mbits
Max. Phrase count: 1024
Capacity: 8 Mbits
Max. Phrase count: 1024
Capacity: 4 Mbits
Max. Phrase count: 1024
0-7FFFFh
80000-FFFFFh
Bank 2
Capacity: 4 Mbits
Max. Phrase count: 1024
Bank 2
Bank 3
Capacity: 8 Mbits
Max. Phrase count: 1024
Capacity: 4 Mbits
Max. Phrase count: 1024
100000-17FFFFh
180000-1FFFFFh
Bank 4
Capacity: 4 Mbits
Max. Phrase count: 1024
Memory divide count: 1
Memory divide count: 2
Memory divide count: 4
16 Mbits × 1 area
8 Mbits × 2 areas
4 Mbits × 4 areas
36/73
FEDL227XX-07
ML2272X-XXX/ML2276X-XXX
Description of Command Functions
1. PUP command
command
0
0
0
0
0
0
S1
S0
The PUP command is used to shift from the power down state to the command waiting state.
This command is only available at the power down state .
Conditions are as follows to enter the power down state.
1) When the power is turned on.
2) When the RESETB input is “L” level (: rest input).
3) When the CBUSYB pin goes to “H” level after inputting the power down command(:PDWN).
The relationship between S1/S0 and the memory banks is as follows:
S1
0
S0
0
Overall memory area is used.
The internal memory is divided into 2 areas. The 2 memory areas are
switched with the SEL0 pin.
0
1
The internal memory is divided into 4 areas. The 4 memory areas are
switched with the SEL1 and SEL0 pins.
1
1
0
1
Prohibited (The operation is the same as above.)
The built-in amplifier is not powered up by this command. It is powered up by the AMODE command.
CSB
SCK
tINTP
SI
TPUP1
CBUSYB
Oscillation stopped
Oscillating
XT•XTB
Status
Power-down
Awaiting command
Oscillation stabilized /
Command is being processed
The regulator output starts operating after the PUP command is entered. Any command will be ignored if
entered while oscillation is stabilized. However, if a “L” level is input to the RESETB pin, the LSI enters a
power down state immediately.
The built-in amplifier is not powered up by the PUP command. It is powered up by the AMODE command.
37/73
FEDL227XX-07
ML2272X-XXX/ML2276X-XXX
2. PDWN command
command
0
0
1
0
0
0
0
0
The PDWN command is used to shift from the command waiting state (: both NCR and BUSYB are “H” level)
to the power down state.
Any setting is initialized by this command, so it is necessary to set again after power up.
This command is not available during playback.
To resume playback after entering power down state, input the AMODE and PLAY commands after input the
PUP command.
CSB
SCK
SI
CBUSYB
NCR
(internal)
BUSYB
(internal)
Oscillation
Oscillating
stopped
XT•XTB
Command is being
processed
Status
Awaiting command
Power down
The speaker amplifier stops operation after a lapse of command processing time after the PDWN command is
input. At this time, the SPM output of the speaker amplifier goes to “Hi-Z” state to prevent troubles by pop
noise .
The status of each output pin is as follows after this command is input or reset pin (:RESETB) is “L” level.
Analog
State
output pin
VDDL
VDDR
SG
GND
GND
GND
HiZ
SPM
SPP
GND
38/73
FEDL227XX-07
ML2272X-XXX/ML2276X-XXX
3. RDSTAT command
command
1
0
1
1
0
0
0
0
The RDSTAT command is used to read the NCR and BUSYB signals that indicate the status of internal
operation.
The NCR signal is “L” level while commands are processed, and goes to “H” level at the command waiting
state.
The BUSYB signal is “L” level during playback voices.
The command interval time ( : tINTRD) is needed to input the next command after reading status using this
command.
The following table shows the contents of each bit of data output.
Output status signal
MSB
7SB
6SB
5SB
4SB
3SB
2SB
LSB
BUSYB output
NCR output
RDSTAT command
CSB
SCK
SI
tINTRD
SO
tCB1
VOH
VOL
CBUSYB
NCR
(internal)
VOL
39/73
FEDL227XX-07
ML2272X-XXX/ML2276X-XXX
Explanation of NCR/BUSYB is shown in the following figure.
PLAY command
1st byte
PLAY command
2nd byte
CSB
SCK
SI
CBUSYB
NCR
(internal)
BUSYB
(internal)
1/2SPVDD
SPM
1/2SPVDD
SPP
Address is being
controlled
Status
Command standby
Awaiting command
Playing
Awaiting command
Command is being
processed
When RDSTAT is inputted to this timing,
NCR="H" and BUSYB="L" are outputted.
NCR outputs "L" during command processing and address administration, and outputs "H" in other state.
BUSYB outputs "L" during command processing and reproduction, and outputs "H" in other state.
NCR/BUSYB at the time of inputting the RDSTAT command is read as the serial output from SO
terminal.
40/73
FEDL227XX-07
ML2272X-XXX/ML2276X-XXX
4. AMODE command
command
0
0
0
0
0
1
0
0
1st byte
2nd byte
FAD DAG1 DAG0 AIG1 AIG0 DAEN SPEN POP
The AMODE command uses 2 bytes. This command is used to perform various settings for analog circuitry.
This command is not available during power-down state, transition to power-up state, transition to power down
state or playback state.
In the case of performing power down using PDWN command during power up of analog circuitry, the setting of
power up by AMODE command is retained. Use the AMODE command to perform power down, if need to
use different conditions from power up of analog circuitry.
In the case of power up of analog circuitry, input the AMODE command after setting the CVOL command to
“00h” (: initial value).
The setting of each bit is shown below.
The setting is initialized by reset release or power up.
The FAD bit specifies whether to perform fade-out processing when the STOP command is input. If this bit is
set to “1”, fade-out processing is performed during a period of approx. 3 ms after the STOP command is input.
The BUSYB signal goes to “H” level after fade-out processing.
FAD
Fade-out processing
0
1
Not available (initial value)
Available
The DAG1, 0 bits are used to set the gain of the internal DAC signal. The AIG1, 0 bits are used to set the gain
of an analog input signal from the AIN pin. They are available only when using the speaker amplifier.
DAG1 DAG0
Volume
0
0
1
1
0
1
0
1
Input OFF
Input ON (-6 dB)
Input ON (0 dB) (initial value)
Prohibited (input ON (0 dB))
AIG1
AIG0
Volume
Input OFF (initial value)
Input ON (–6 dB)
Input ON (0 dB)
Prohibited (input ON (0 dB))
0
0
1
1
0
1
0
1
The DAEN bit controls power-up and power-down of the DAC circuitry.
DAEN
0
1
Status of the DAC circuitry
Power-down state (initial value)
Power-up state
41/73
FEDL227XX-07
ML2272X-XXX/ML2276X-XXX
The SPEN bit controls power-up and power-down of the speaker circuitry.
When the SPEN bit is “0”, SPP pin is the LINE output.
SPEN
0
1
Status of the speaker circuitry
Power-down state (initial value)
Power-up state
The POP bit sets whether to suppress the “pop” noise of the LINE output.
− In the case of setting the POP bit to “0”
If the DAEN bit is “1”, LINE output rises from the GND level to the SG level during a period of the
specified time (:tPUPA1) . If the DAEN bit is “0”, LINE output falls from the SG level to the GND level
during a period of the specified time (:tPDA1).
− In the case of setting the PUP bit to “1”
If the DAEN bit is “1”, LINE output rises from the GND level to the SG level during a period of the
specified time (:tPUPA2). If the DAEN bit is “0”, LINE output falls from the SG level to the GND level
during a period of the specified time (:tPDA2).
POP
Pop noise suppression
0
1
Not available (initial value)
Available
42/73
FEDL227XX-07
ML2272X-XXX/ML2276X-XXX
• When POP bit is “0”, SPEN bit is “0” and DAEN bit goes to “1”
AMODE command
1st byte
AMODE command
2nd byte
CSB
SCK
SI
tCB1
tPOPA1
VOH
VOL
CBUSYB
VOH
VOL
NCR
(internal)
VOH
VOL
BUSYB
(internal)
1/2SPVDD
SPP
GND
(LINE output)
Command is being
processed
Awaiting command
Status
Awaiting command
Awaiting command
Command is being
processed
• When POP bit is “1”, SPEN bit is “0” and DAEN bit goes to “1”
AMODE command
AMODE command
2nd byte
1st byte
CSB
SCK
SI
tNCR1
tPOPA2
VOH
VOL
CBUSYB
VOH
VOL
NCR
(internal)
VOH
VOL
BUSYB
(internal)
1/2SPVDD
SPP
GND
(LINE output)
Awaiting command
Command is being
POP noise suppressed
Status
Awaiting command
Awaiting command
Command is being
processed
processed
43/73
FEDL227XX-07
ML2272X-XXX/ML2276X-XXX
• When SPEN bit goes to “1”
AMODE command
1st byte
AMODE command
2nd byte
CSB
SCK
SI
tNCR1
tPOPA3
VOH
CBUSYB
VOL
VOH
NCR
(internal)
VOL
VOH
BUSYB
(internal)
VOL
AOUT
GND
(internal)
1/2SPVDD
1/2SPVDD
Hi-Z
SPM
GND
SPP
Command is being
processed
Awaiting command
Status
Awaiting command
Awaiting command
Command is being
processed
• When POP bit is “0”, SPEN bit is “0” and DAEN bit goes to “0”
AMODE command
2nd byte
AMODE command
1st byte
CSB
SCK
SI
tCB1
tPDA1
VOH
VOL
CBUSYB
VOH
VOL
NCR
(internal)
VOH
VOL
BUSYB
(internal)
1/2SPVDD
SPP
GND
(LINE output)
Command is being
processed
Status
Awaiting command
Awaiting command
Awaiting command
Command is being
processed
44/73
FEDL227XX-07
ML2272X-XXX/ML2276X-XXX
• When POP bit = “1”, DAEN and SPEN bits = “1” → “0” (Applies only when SPEN = “0”)
AMODE command
1st byte
AMODE command
2nd byte
CSB
SCK
SI
tCB1
tPDA2
VOH
VOL
CBUSYB
VOH
VOL
NCR
(internal)
VOH
VOL
BUSYB
(internal)
1/2SPVDD
SPP
GND
(LINE output)
POP noise suppressed
Status
Awaiting command
Awaiting command
Command is being
Awaiting command
Command is being
processed
processed
• When SPEN bit goes to “0”
AMODE command
2nd byte
AMODE command
1st byte
CSB
SCK
SI
tCB1
tPDA3
VOH
CBUSYB
VOL
VOH
NCR
(internal)
VOL
VOH
BUSYB
(internal)
VOL
1/2SPVDD
AOUT
GND
(internal)
1/2SPVDD
1/2SPVDD
Hi-Z
SPM
SPP
GND
Command is being
processed
Status
Awaiting command
Awaiting command
Awaiting command
Command is being
processed
45/73
FEDL227XX-07
ML2272X-XXX/ML2276X-XXX
5. PLAY command
command
0
1
0
0
F9
F3
F8
F2
0
0
1st byte
2nd byte
F7
F6
F5
F4
F1
F0
The PLAY command uses 2 bytes. This command is used to start playback phrase. This command is able to
input when the NCR signal is “H” level.
For the phrase to be played back, set the phrase address of voice data in the ROM using the F9 to F0 bits.
The following figure shows the timing of playback phrase (F9 to F0 is 01h).
PLAY command
1st byte
PLAY command
2nd byte
CSB
SCK
SI
CBUSYB
NCR
(internal)
BUSYB
(internal)
1/2SPVDD
SPM
1/2SPVDD
SPP
Address is being
controlled
Awaiting command
Awaiting command
Playing
Awaiting command
Status
Command is being processed
When the 1st byte of the PLAY command is input, the device enters a state awaiting input of the 2nd byte of the
PLAY command after a lapse of command processing time. When the 2nd byte of PLAY command is input, the
device starts reading the external ROM to get the address information of the phrase to be played back after a
lapse of command processing time. Thereafter, playback starts and the playback is performed up to the
specified ROM address, then the playback stops automatically.
The NCR signal is “L” level during address control, and goes to “H” level when the address control is completed.
Then it is possible to input the PLAY command for the next playback phrase.
The BUSYB signal is “L” level during address control and playback, and goes to “H” level when playback is
completed. Then it is possible to know whether the playback is going on by the BUSYB signal.
46/73
FEDL227XX-07
ML2272X-XXX/ML2276X-XXX
The PLAY Command Input Timing for Continuous Playback
In the case of continuous playback, input the PLAY command for the next phrase within the command input
enable time (: tcm) after NCR goes to “H” level. Then it is possible to start playback the next phrase without
any silent interval between phrases.
PLAY command
2nd byte
PLAY command PLAY command
1st byte 2nd byte
CSB
SCK
SI
tcm
CBUSYB
NCR
(internal)
BUSYB
(internal)
1/2SPVDD
SPM
1/2SPVDD
SPP
Awaiting command
Playing phrase 1
Playing phrase 2
Status
Address is being controlled
Address is being controlled
As shown in the diagram above, if continuous playback is carried out, input the PLAY command for the second
phrase within 10 ms (tcm) after NCR goes “H”. This will make it possible to start playing the second phrase
immediately after the playback of the first phrase finishes. Phrases can thus be played continuously without
inserting silence between phrases.
47/73
FEDL227XX-07
ML2272X-XXX/ML2276X-XXX
6. STOP command
command
0
1
1
0
0
0
0
0
The STOP command is used to stop playback.
If the playback is stopped, the NCR and BUSYB signals go to “H” level.
Although it is possible to input this command regardless of the status of NCR during playback, a prescribed
command interval time (:tINT) is needed.
The STOP command is not available during power down, transition to power-up or transition to power-down.
The playback related command (:PLAY, START or MUON) is not available during STOP command processing.
STOP command
CSB
SCK
SI
CBUSYB
NCR
(internal)
BUSYB
(internal)
1/2SPVDD
SPM
1/2SPVDD
SPP
Status
Playing
Awaiting command
Command is being processed
The playback related command (:PLAY, START or MUON), used on after the STOP command, should be input
after confirming the completion (: NCR is “H” and BUSYB is “H”) of this command processing by the
RDSTAT command, or waiting for 12ms from transition of the CBUSYB to “H” level.
48/73
FEDL227XX-07
ML2272X-XXX/ML2276X-XXX
7. FADR command
command
0
0
1
1
F9
F3
F8
F2
0
0
1st byte
2nd byte
F7
F6
F5
F4
F1
F0
The FADR command uses 2 bytes. This command is used to specify phrase to be played. The phrase to be
played back are set by this command.
Playback will be started by START command after the phrase is specified.
For the phrase to be played back, set the phrase address of voice data in the ROM using the F9 to F0 bits.
The setting values of the FADR command are initialized at the power-down.
49/73
FEDL227XX-07
ML2272X-XXX/ML2276X-XXX
8. START command
command
0
1
0
1
0
0
0
0
The START command is used to start playback a phrase. It is necessary to specify playback phrase using the
FADR command before inputting this command.
The following figure shows the timing when starting playback.
CSB
SCK
SI
tCB1
CBUSYB
NCR
(internal)
BUSYB
(internal)
1/2SPVDD
SPP output
1/2SPVDD
SPM output
Address is being
controlled
Awaiting
command
Awaiting
command
Playing
Status
50/73
FEDL227XX-07
ML2272X-XXX/ML2276X-XXX
The START Command Input Timing for Continuous Playback
The START command input timing in the case of reproducing the following phrase succeeding the one phrase
playback is shown.
START command
START command
CSB
SCK
SI
tcm
CBUSYB
NCR
(internal)
BUSYB
(internal)
1/2SPVDD
1/2SPVDD
SPM
SPP
Awaiting command
Playing phrase 1
Playing phrase 2
Address is being controlled
Status
Address is being controlled
As shown in the diagram above, if continuous playback is carried out, input the START command for the second
phrase (tcm) after NCR goes “H”. When it cannot, please input the phrase 2 START command after checking
that BUSYB became "H"(phrase 1 playback has been finished).
51/73
FEDL227XX-07
ML2272X-XXX/ML2276X-XXX
9. MUON command
command
0
1
1
1
0
0
0
0
1st byte
2nd byte
M7
M6
M5
M4
M3
M2
M1
M0
The MUON command uses 2 bytes. This command is used to insert the silence between two playback phrases.
This command can be input when the NCR signal is “H” level. Set the silent time value after inputting this
command.
The silent time length to be specified by M7 to M0 bits is able to be set by 256 steps at 4 ms interval between 20
ms and 1,024 ms.
The silent time length (tmu) is calculated by equation as below.
The silent time length should be set to 04h or higher (:tmu is 20ms or more).
Tmu = (27×(M7) + 26×(M6) + 25×(M5) + 24×(M4) + 23×(M3) + 22×(M2) + 21×(M1) + 20×(M0) + 1) × 4ms
The following figure shows the timing of inserting the silence of 20 ms between the repetitions of phrase (F7 to
F0 is 01h).
PLAY command
MUON command MUON command
PLAY command PLAY command
2nd byte
1st byte 2nd byte
1st byte 2nd byte
CSB
SCK
SI
tcm
tcm
CBUSYB
NCR
(internal)
BUSYB
(internal)
1/2SPVDD
SPM
1/2SPVDD
SPP
Awaiting command
Playing
Silence is being inserted
Playing
Status
Waiting for playback to be finished
Waiting for silence insertion
to be finished
Address is being controlled
When the playback starts after the PLAY command is input and the address control of phrase-1 is over, the
CBUSYB and NCR signals go to “H” level. Input the MUON command after this CBUSYB signal changes to
“H” level. After the MUON command input, the NCR signal remains at “L” level until the end of phrase-1
playback. This status is the waiting for the phrase-1 playback to be finished.
When the phrase-1 playback is finished, the silence playback starts and the NCR signal goes to “H” level. Then,
input the PLAY command again to playback phrase-1. Then, the NCR signal goes to “L” level again and the
device enters a state of the waiting for the end of silence playback.
When the silence playback is finished and then the phrase-1 playback starts, the NCR signal goes to “H” level,
and the device enters a status where it is possible to input the next PLAY or MUON command.
The BUSYB signal remains “L” level until the end of a series of playback.
52/73
FEDL227XX-07
ML2272X-XXX/ML2276X-XXX
10. SLOOP command
command
1
0
0
0
0
0
0
0
The SLOOP command is used to set the repeat playback mode.
Use the CLOOP command to release repeat playback mode.
Since the SLOOP command is only valid during playback, be sure to input the SLOOP command while the NCR
signal is “H” level after the PLAY command is input. The NCR signal is “L” level during repeat playback
mode.
Once repeat playback mode is set, the current phrase is repeatedly played until the repeat playback setting is
released by the CLOOP command or until playback is stopped by the STOP command. In the case of a phrase
that was edited by the edit function, the edited phrase is repeatedly played.
The repeat playback mode is released if playback is stopped by the STOP command, therefore input the SLOOP
command again if need to repeat playback again.
The following figure shows the SLOOP command input timing.
PLAY command
2nd byte
SLOOP command
CLOOP command
CSB
SCK
SI
CBUSYB
NCR
(internal)
tcm
BUSYB
(internal)
1/2SPVDD
SPM
1/2SPVDD
SPP
Awaiting command
Playing
Playing
Awaiting command
Status
Address is being controlled
Address is being controlled
Command is being processed
Effective Range of SLOOP Command Input
After the PLAY command is input, input the SLOOP command within the command input enable time (: tcm)
after NCR goes to “H”. Then, the SLOOP command is available to repeat playback.
53/73
FEDL227XX-07
ML2272X-XXX/ML2276X-XXX
11. CLOOP command
command
1
0
0
1
0
0
0
0
The CLOOP command is used to release the repeat playback mode.
When the repeat playback mode is released, the NCR signal goes to “H” level.
It is possible to input this command regardless of the NCR signal status during playback, but a prescribed
command interval time (:tINT) is needed.
54/73
FEDL227XX-07
ML2272X-XXX/ML2276X-XXX
12. CVOL command
command
1
0
0
0
1
0
0
0
0
0
0
1st byte
2nd byte
CV4 CV3 CV2 CV1 CV0
The CVOL command uses 2 bytes. This command is used to adjust the playback volume.
It is possible to input this command regardless of the NCR status. This command is not available during power
down, transition to the power-up state or transition to the power-down state.
This command can adjust volume by 32-levels as shown in the table below. The initial value is set to 0 dB
after the reset is released. Also, the setting of this command is initialized after the reset is released or during
power-up.
CV4-0
00
Volume
0dB
(initial value)
-0.28
CV4-0
10
Volume
-6.31
01
02
03
04
05
06
07
08
09
0A
0B
0C
0D
0E
0F
11
12
13
14
15
16
17
18
19
1A
1B
1C
1D
1E
1F
-6.90
-7.55
-8.24
-9.00
-9.83
-10.74
-11.77
-12.93
-14.26
-15.85
-17.79
-20.28
-23.81
-29.83
OFF
-0.58
-0.88
-1.20
-1.53
-1.87
-2.22
-2.59
-2.98
-3.38
-3.81
-4.25
-4.72
-5.22
-5.74
55/73
FEDL227XX-07
ML2272X-XXX/ML2276X-XXX
13. AVOL command
command
0
0
0
0
0
0
1
0
0
0
1st byte
2nd byte
AV5 AV4 AV3 AV2 AV1 AV0
The AVOL command uses 2 bytes. This command is used to adjust the playback volume. It is possible to
input this command regardless of the NCR status. This command is not available during power down state,
transition to power-up state or transition to power-down state.
This command can adjust volume by 50-levels as shown in the table below. The initial value is set to -4.0 dB
after the reset is released. When the STOP command is input, the value set by the AVOL command is retained.
When powered down, the value set by the AVOL command is initialized.
AV5-0
3F
Volume (dB)
+12.0
+11.5
+11.0
+10.5
+10.0
+9.5
AV5-0
2F
Volume (dB)
+4.0
AV5-0
1F
Volume (dB)
-8.0
AV5-0
0F
Volume (dB)
-34.0
OFF
3E
3D
3C
3B
3A
39
38
37
36
35
2E
2D
2C
2B
2A
29
28
27
26
25
+3.5
+3.0
+2.5
+2.0
+1.5
+1.0
+0.5
+0.0
-1.0
-2.0
-3.0
-4.0
1E
1D
1C
1B
1A
19
18
17
16
15
-9.0
0E
0D
0C
0B
0A
09
08
07
06
05
-10.0
-11.0
-12.0
-13.0
-14.0
-16.0
-18.0
-20.0
-22.0
-24.0
OFF
OFF
OFF
OFF
OFF
OFF
OFF
OFF
+9.0
+8.5
+8.0
+7.5
+7.0
+6.5
OFF
OFF
34
24
14
04
33
+6.0
23
13
-26.0
03
OFF
(initial value)
32
31
30
+5.5
+5.0
+4.5
22
21
20
-5.0
-6.0
-7.0
12
11
10
-28.0
-30.0
-32.0
02
01
00
OFF
OFF
OFF
To know the volume controls more
Three commands (: CVOL, AVOL and AMODE) can control volume. CVOL
sets volume of voice data. AVOL sets volume of signal after D/A converting.
And AMODE sets input gain of amplifier.
CVOL setting
DAG bits in AMODE
AVOL setting
Voice data
DAC
GAIN
MIXING
Filter
SPP
SPM
AMP
AMP
GAIN
AMP
AIG bits in AMODE
AIN
56/73
FEDL227XX-07
ML2272X-XXX/ML2276X-XXX
14. VPITCH command
command
1
1
1
0
0
0
0
0
1st byte
2nd byte
PI7
PI6
PI5
PI4
PI3
PI2
PI1
PI0
The VPITCH command is a 2-byte instruction command. This command reproduces the speech data with the
pitch that is specified in the 2nd byte without changing the speed. This command converts the pitch for the
original sound. The pitch conversion function (PI7-PI0) can convert the pitch of the original sounds up to ±20%
(40 levels) in 1% steps. See below for the pitch conversion data.
After reset release or at power-down, the command setting values are initialized.
PI7 PI6 PI5 PI4 PI3 PI2 PI1 PI0 Change in pitch
0
0
1
1
1
1
1
1
1
1
1
1
1
1
1
0
0.2
0.2
:
:
:
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
0
0
0
1
1
1
1
0
0
1
1
1
1
0
0
1
1
0
0
1
0
1
0
1
0
0.2
0.2
0.1875
0.175
0.1625
0.15
:
0
0
0
0
0
1
1
1
1
0
0
0
0
0
1
1
1
1
0
0
0
0
0
1
1
1
1
0
0
0
0
0
1
1
1
1
0
0
0
0
0
1
1
1
1
1
0
0
0
0
1
1
1
1
0
1
1
0
0
1
1
0
0
0
1
0
1
0
1
0
1
0
0.05
0.0375
0.025
0.0125
0 (initial value)
−0.0125
−0.025
−0.0375
−0.05
:
:
:
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
0
0
0
0
0
0
1
1
0
0
0
0
1
0
1
1
0
0
1
0
1
0
1
0
1
−0.15
−0.1625
−0.175
−0.1875
−0.2
−0.2
:
1
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
−0.2
−0.2
57/73
FEDL227XX-07
ML2272X-XXX/ML2276X-XXX
15. VSPD command
command
1
1
0
1
0
0
0
0
1st byte
2nd byte
SD7 SD6 SD5 SD4 SD3 SD2 SD1 SD0
The VSPD command is a 2-byte instruction command. This command reproduces the speech data with the speed
that is specified in the 2nd byte without changing the pitch. For the playback speed (SD7-SD0), 150 steps can be
set from 0.5 times to 2.0 times at time-step increments of 0.01.
See below for the playback speed.
After reset release or at power-down, the command setting values are initialized.
Playback speed
SD7 SD6 SD5 SD4 SD3 SD2 SD1 SD0
(magnification)
0
0
1
1
1
1
1
1
1
1
1
1
1
1
1
0
2.00
2.00
:
:
:
0
0
0
0
0
1
1
1
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
0
0
1
1
0
1
0
1
0
1
2.00
2.00
1.99
1.98
1.97
:
0
0
0
0
1
1
1
0
0
0
0
1
1
1
0
0
0
0
1
1
1
0
0
0
0
1
1
1
0
0
0
0
1
1
1
0
0
0
0
1
1
1
1
1
0
0
1
1
0
1
0
1
0
1
0
1
1.03
1.02
1.01
1.00 (initial value)
0.99
0.98
0.97
:
:
:
1
1
1
1
1
1
1
1
1
1
0
0
0
0
0
1
1
0
0
0
0
0
1
1
1
0
0
1
1
1
0
0
1
1
0
1
0
1
0
1
0.53
0.52
0.51
0.50
0.50
:
1
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0.50
0.50
58/73
FEDL227XX-07
ML2272X-XXX/ML2276X-XXX
Command Flow Charts
1-Byte Command Input Flow (applied to the PUP, PDWN, STOP, START, SLOOP, and CLOOP commands)
Start
CBUSYB “H”?
N
Y
Input command
CBUSYB “H”?
N
Y
End
2-Byte Command Input Flow (applied to the AMODE, PLAY, FADR, MUON, CVOL, AVOL, VPITCH,and
VSPD commands)
Start
CBUSYB “H”?
N
Y
Input the 1st byte of command
CBUSYB “H”?
N
Y
Input the 2nd byte of command
CBUSYB “H”?
N
Y
End
59/73
FEDL227XX-07
ML2272X-XXX/ML2276X-XXX
Status Read Flow
RDSTAT command
CBUSYB “H”?
Y
N
Read status (SI=”L”)
Power-On Flow
Apply power, Drive RESETB “L”
Waited for
100 µs?
N
Y
Drive RESETB “H”
Example of Power-Up Flow
Power-down state
PUP command
AMODE command
Example of Playback Start Flow
Power-up state
Idle (not playback)?
Y
N
Single-channel playback
PLAY command
Multi-channel playback
FADR command
START command
Example of Playback Stop Flow
Playing
STOP command
60/73
FEDL227XX-07
ML2272X-XXX/ML2276X-XXX
Continuous Playback Start Flow
Playback start
Playing
Within 10mS
PLAY/START/MUON command
Loop Start Flow
Playback start
Playing
Within 10mS
SLOOP command
Loop Stop Flow
Looping
Stop after playback is finished all the
way through the phrase
Stop playback forcibly
STOP command
CLOOP command
Power-Down Flow
Power-up state
PDWN command
61/73
FEDL227XX-07
ML2272X-XXX/ML2276X-XXX
Detailed Flow of “Power-Up ⇒ Playback ⇒ Power-Down”
Power-down state
A
CBUSYB “H”?
Y
N
N
N
N
CBUSYB “H”?
Y
PUP command
RDSTAT command
CBUSYB “H”?
Y
CBUSYB “H”?
Y
N
1st byte of AMODE command
Read status
CBUSYB “H”?
BUSYB “H”?
Y
N
Y
2nd byte of AMODE command
1st byte of AMODE command
CBUSYB “H”?
Y
N
N
CBUSYB “H”?
Y
1st byte of PLAY command
2nd byte of AMODE command
CBUSYB “H”?
Y
N
CBUSYB “H”?
Y
N
2nd byte of PLAY command
PDWN command
A
N
CBUSYB “H”?
Y
Power-down state
62/73
FEDL227XX-07
ML2272X-XXX/ML2276X-XXX
RECOMMENDATION FOR SPEECH SPEED CONVERSION AND PITCH CONVERSION
FUNCTION
If user want to use speed and pitch conversion function with keeping speech quality, it’s better to use that
function on below conditions.
- sampling frequency : 12.8 / 16.0 / 21.3 / 24.0 / 32.0 kHz
- speed conversion
- pitch conversion
: 0.80 to 2.00 times
: -10 to +10 %
Then these functions work for speech data only. Not work for melody or natural sound.
63/73
FEDL227XX-07
ML2272X-XXX/ML2276X-XXX
TERMINATION OF THE SG PIN
The SG pin is the signal ground for the built-in speaker amplifier. Connect a capacitor between this pin and the
analog ground (: DGND) pin to prevent the trouble caused by noises.
Recommended capacitance value is shown below. However, it is important to evaluate and decide using the own
board.
Also, start playback after each output voltage is stabilized.
Recommended
capacitance value
Pin
SG
Remarks
The time to stabilize voltage of the speaker outputs (:SPM and
SPP) is longer, if use the larger capacitance.
0.1 µF ±20%
TERMINATION OF THE VDDL AND VDDR PINS
The VDDL pin is the regulator output that is power supply for the internal logic circuitry. Connect a capacitor
between this pin and the ground (: DGND) pin to prevent the trouble caused by noises and to hold power supply
voltage steady.
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
The time to stabilize voltage of each output is longer, if use the
larger capacitance.
VDDL, VDDR
10 µF ±20%
64/73
FEDL227XX-07
ML2272X-XXX/ML2276X-XXX
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
)
As shown in the figure below, supply DVDD and SPVDD from the same power supply, and separate them into
analog and logic power supplies in the wiring.
DVDD
DGND
5V
SPVDD
SPGND
65/73
FEDL227XX-07
ML2272X-XXX/ML2276X-XXX
RECOMMENDED CERAMIC RESONATOR
Recommended ceramic resonators for oscillation and conditions are shown below for reference.
KYOCERA Corporation
Optimal load capacity
Freq [Hz]
Type
C1
C2
Rf
Rd Supply voltage Operating Temperature
[pF]
[pF] [Ohm] [Ohm]
Range [V]
Range [°C]
2.7 to3.3
4.5 to5.5
4.096M PBRC4.096MR50X000 15(built-in)
---
--
-40 to +85
Note: C1 and C2 are capacitors built-in resonator.
Circuit diagram
GND
VDD
C2
C1
TDK Corporation
Conditions
Freq [Hz]
Type
C1
C2
Rf
C1 Supply voltage Operating Temperature
[pF]
[pF] [Ohm] [pF]
Range [V]
2.7 to3.6
4.5 to5.5
2.7 to3.6
Range [°C]
FCR4.0MXC5
FCR4.0MXC5
FCR4.09MXC5
4.000M
4.096M
30 (built-in)
30 (built-in)
---
---
---
---
-40 to +85
-40 to +85
FCR4.09MXC5
4.5 to5.5
Circuit diagram
GND
VDD
C2
C1
66/73
FEDL227XX-07
ML2272X-XXX/ML2276X-XXX
MURATA Corporation
Optimal load capacity
Supply
Operating
Temperature
Range [°C]
Freq [Hz]
Type
C1
[pF]
C2
Rf
Rd
voltage
[pF] [Ohm] [Ohm]
Range [V]
SMD
CSTCR4M00G55-R0
CSTLS4M00G56-B0
CSTCR4M00G55-R0
CSTLS4M00G56-B0
CSTCR4M09G55-R0
CSTLS4M09G56-B0
CSTCR4M09G55-R0
39 (Built-in)
47 (Built-in)
39 (Built-in)
47 (Built-in)
39 (Built-in)
47 (Built-in)
39 (Built-in)
47 (Built-in)
2.7 to 3.6
4.5 to 5.5
2.7 to 3.6
4.5 to 5.5
Leaded
4.000M
---
---
0
0
SMD
Leaded
SMD
-40 to +85*
Leaded
4.096M
SMD
Leaded CSTLS 4M09G56-B0
Note: C1 and C2 are capacitors built-in resonator.
Circuit diagram
GND
VDD
C2
C1
67/73
FEDL227XX-07
ML2272X-XXX/ML2276X-XXX
APPLICATION CIRCUIT
ML2272X: DVDD=SPVDD=5V
RESETB
MCU
CSB
SCK
SI
SPM
SPP
SO
Speaker
CBUSYB
0.1µF
DIPH
SG
TESTI1
0.1µF
AIN
TESTI0
VDDL
VDDR
DVDD
10µF
10µF
33pF
XT
SPVDD
0.1µF
4.096MHz
33pF
0.1µF
5V
XTB
DGND
SPGND
ML2272X: DVDD=SPVDD=3V
RESETB
CSB
MCU
SCK
SI
SO
SPM
SPP
Speaker
CBUSYB
0.1µF
SG
DIPH
TESTI1
0.1µF
AIN
TESTI0
VDDL
VDDR
DVDD
33pF
SPVDD
10µF
XT
0.1µF
0.1µF
4.096MHz
0.1µF
3V
DGND
XTB
33pF
SPGND
68/73
FEDL227XX-07
ML2272X-XXX/ML2276X-XXX
ML2276X: DVDD=SPVDD=5V
7kΩ
MCU
7kΩ
SCL
SDA
(CBUSYB)
SPM
SPP
Speaker
0.1µF
SG
SAD2-0
0.1µF
AIN
TESTI0
TESTI1
VDDL
VDDR
DVDD
10µF
10µF
33pF
XT
SPVDD
0.1µF
4.096MHz
33pF
0.1µF
5V
XTB
DGND
SPGND
ML2276X: DVDD=SPVDD=3V
7kΩ
MCU
7kΩ
SCL
SDA
(CBUSYB)
SPM
SPP
Speaker
0.1µF
0.1µF
SG
SAD2-0
AIN
TESTI0
TESTI1
VDDL
VDDR
33pF
DVDD
XT
SPVDD
10µF
0.1µF
0.1µF
4.096MHz
33pF
0.1µF
3V
XTB
DGND
SPGND
69/73
FEDL227XX-07
ML2272X-XXX/ML2276X-XXX
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 ROHM’s responsible sales person for the
product name, package name, pin number, package code and desired mounting conditions (reflow method,
temperature and times).
70/73
FEDL227XX-07
ML2272X-XXX/ML2276X-XXX
REVISION HISTORY
Page
Previous
Edition
Document No.
Date
Description
Current
Edition
PEDL2272XFULL-01 Dec. 17, 2007
FEDL2272XFULL-01 Apr. 18, 2008
FEDL2272XFULL-02 May. 29, 2008
–
–
–
–
Preliminary edition 1
–
–
Final edition 1
Final edition 2
Common terminal explanation attribute
change (TESTI1,SPP,SPM)
5,6
11
12
5,6
11
12
Max value change within the range of LINE
output voltage
Min, Typ, and Max value change of CBUSYB
(“L” level output time)
FEDL2272XFULL-03 Mar. 25, 2009
25,34,35,
36,37
24,33,34,
35,36
Bit name of AMODE command (PUP->POP)
Modify application circuit
53,54
45
53,54
45
Correct value for AVOL
FEDL2272XFULL-04 Aug. 25, 2011
FEDL2272XFULL-05 Aug. 30, 2011
44
44
Modify AVOL table.
24-47
13
24-47
13
Delete the explanation about “channel”.
Modify tDOD1.
( SCK rise edge -> SCK fall edge )
FEDL227XX-06
Oct. 16, 2013
1
2
1
2
Package is changed.
Add Playback method.
tPOPA3 and tPDA3 is added to CBUSYB “L” level
output time in AC Characteristics(Common to
All Products).
12
12
t
POPA2 is modified to CBUSYB “L” level output
time in AC Characteristics(Common to All
Products).
FEDL227XX-07
Oct. 25, 2017
14
15
14
15
Time chart of tPUP1 is modified.
Time chart of tPD1 is modified.
Explanation of the playback start timing by
the PLAY command is added.
16
16
16
16
Explanation of the playback stop timing is
added.
71/73
FEDL227XX-07
ML2272X-XXX/ML2276X-XXX
Page
Previous
Edition
Document No.
Date
Description
Current
Edition
Explanation of the continuous playback
timing by the PLAY command is added.
17
17
17
18
18
19
19
“Continuous Playback Timing by the START
command” is added.
-
Explanation of the silence Insertion timing by
the MUON command is modified.
17
18
18
-
“Repeat Playback Set/Release Timing by the
SLOOP and CLOOP Commands” is added.
Explanation of the timing of volume change
by the CVOL command is modified.
“Timing of Volume Change by the AVOL
Command” is added.
“TIMING DIAGRAMS ( I2C INTERFACE
(ML2276X) )” is added.
-
27
-
20-26
35
Add Silence step.
Explanation of NCR/BUSYB is added to the
time chart of RDSTAT.
40
Time chart of tPOPA3 and tPDA3 is added.
Time chart of tPOPA1, tPOPA2, tPDA1 and tPDA2 is
modified.
34,35
-
43-45
52
"The START Command Input Timing for
Continuous Playback" is added.
-
59-62
70
Add Command Flow Charts.
Change of the package.
55
72/73
FEDL227XX-07
ML2272X-XXX/ML2276X-XXX
Notes
1) The information contained herein is subject to change without notice.
2) Although LAPIS Semiconductor is continuously working to improve product reliability and quality,
semiconductors can break down and malfunction due to various factors. Therefore, in order to prevent
personal injury or fire arising from failure, please take safety measures such as complying with the
derating characteristics, implementing redundant and fire prevention designs, and utilizing backups and
fail-safe procedures. LAPIS Semiconductor shall have no responsibility for any damages arising out of the
use of our Products beyond the rating specified by LAPIS Semiconductor.
3) Examples of application circuits, circuit constants and any other information contained herein are provided
only to illustrate the standard usage and operations of the Products.The peripheral conditions must be taken
into account when designing circuits for mass production.
4) The technical information specified herein is intended only to show the typical functions of the Products and
examples of application circuits for the Products. No license, expressly or implied, is granted hereby under
any intellectual property rights or other rights of LAPIS Semiconductor or any third party with respect to the
information contained in this document; therefore LAPIS Semiconductor 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 (i.e. AV/OA devices, communication,
consumer systems, gaming/entertainment sets) as well as the applications indicated in this document.
6) The Products specified in this document are not designed to be radiation tolerant.
7) For use of our Products in applications requiring a high degree of reliability (as exemplified below), please
contact and consult with a LAPIS Semiconductor representative: transportation equipment (i.e. cars, ships,
trains), primary communication equipment, traffic lights, fire/crime prevention, safety equipment, medical
systems, servers, solar cells, and power transmission systems.
8) Do not use our Products in applications requiring extremely high reliability, such as aerospace equipment,
nuclear power control systems, and submarine repeaters.
9) LAPIS Semiconductor shall have no responsibility for any damages or injury arising from non-compliance
with the recommended usage conditions and specifications contained herein.
10) LAPIS Semiconductor has used reasonable care to ensure the accuracy of the information contained in this
document. However, LAPIS Semiconductor does not warrant that such information is error-free and LAPIS
Semiconductor shall have no responsibility for any damages arising from any inaccuracy or misprint of such
information.
11) Please use the Products in accordance with any applicable environmental laws and regulations, such as the
RoHS Directive. For more details, including RoHS compatibility, please contact a ROHM sales office.
LAPIS Semiconductor shall have no responsibility for any damages or losses resulting non-compliance
with any applicable laws or regulations.
12) 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.
13) This document, in part or in whole, may not be reprinted or reproduced without prior consent of LAPIS
Semiconductor.
Copyright 2007 – 2017 LAPIS Semiconductor Co., Ltd.
2-4-8 Shinyokohama, Kouhoku-ku,
Yokohama 222-8575, Japan
http://www.lapis-semi.com/en/
73/73
相关型号:
©2020 ICPDF网 联系我们和版权申明