OKI MSM6688LTS-K, MSM6688GS-2K, MSM6688LGS-2K Datasheet

E2D0026-27-43
This version: Jan. 1998
¡ Semiconductor
Previous version: May. 1997
MSM6688/6688L
ADPCM Solid-State Recorder IC
GENERAL DESCRIPTION
The MSM6688/6688L is a “solid-state recorder” IC developed using the ADPCM method. By externally connecting a microphone, a speaker, a speaker drive amplifier, and a dedicated register to store ADPCM data, it can record and play back voice data in a manner similar to a tape recorder. The MSM6688 supports 5 V operation and has a stand-alone mode and a microcontroller interface mode. The MSM6688L supports 3 V operation and controls recording/playback in microcontroller interface mode. In the stand-alone mode, recording/playback conditions can be selected by pins and the MSM6688/ 6688L can be controlled by a simple drive timing. In the microcontroller interface mode, recording/ playback can be controlled by commands from the microcontroller. In the microcontroller interface mode, the MSM6688/6688L is much more flexible than in the stand-alone mode. In addition, the MSM6688/6688L can form easily a recording and playback circuit with fixed messages by connecting serial registers and serial voice ROMs as external memories.
Note: This data sheet explains a stand-alone mode and a microcontroller interface mode, separately.
Differences Between MSM6688 and MSM6688L
Parameter MSM6688 MSM6688L
Operating voltage 3.5 to 5.5 V 2.7 to 3.6 V
Control mode Standalone mode,
Microcontroller interface mode
Full scale of A/D and D/A converters
Voice detection level for voice triggered starting
External-only register 32M bits (max.)
±
0 to V
DD
V
DD
64
4M bits (MSM6684B) 8M bits (MSM6685)
, ±
V
DD
, ±
32
V
DD
16
Microcontroller interface mode only
1
VDD to
4
V
DD
±
128
4M bits (max.) 4M bits (MSM66V84B)
, ±
3
V
DD
4
V
DD
64
, ±
V
DD
32
1/159
¡ Semiconductor MSM6688/6688L
CONTENTS
(1) STAND-ALONE MODE
(for MSM6688 (5 V Version))
FEATURES ........................................................ 3
BLOCK DIAGRAM .......................................... 4
PIN CONFIGURATION..................................5
PIN DESCRIPTIONS .......................................6
ABSOLUTE MAXIMUM RATINGS ............ 10
RECOMMENDED OPERATING
CONDITIONS ................................................. 10
ELECTRICAL CHARACTERISTICS ...........11
TIMING DIAGRAMS .................................... 15
FUNCTIONAL DESCRIPTION ...................28
Recording Time and Memory
Capacity ................................................28
Connection of an Oscillator.....................28
Power Supply Wiring...............................29
Analog Input Amplifier Circuit ............. 29
Connection of LPF Circuit
Peripherals ...........................................30
LPF Characteristics ...................................31
Reset Function ...........................................32
Power Down by the PDWN pin .............33
Record/Playback Control Mode ............34
Deleting phrases .......................................36
Recording Method .................................... 37
Playback Method ...................................... 38
ROM Playback Method............................39
Voice Triggered Starting..........................40
Method of Temporarily Stopping Record/
Playback by Pause Function ..............
APPLICATION CIRCUIT .............................43
42
(2) MICROCONTROLLER INTERFACE
MODE (for MSM6688 (5 V Version) and MSM6688L (3 V Version))
FEATURES ....................................................... 44
BLOCK DIAGRAM ......................................... 45
PIN CONFIGURATION................................. 46
PIN DESCRIPTIONS ...................................... 47
ABSOLUTE MAXIMUM RATINGS
(for MSM6688 (5 V Version)) ......................... 50
RECOMMENDED OPERATING CON-
DITIONS (for MSM6688 (5 V Version)) ....... 50
ELECTRICAL CHARACTERISTICS
(for MSM6688 (5 V Version)) ......................... 50
ABSOLUTE MAXIMUM RATINGS
(for MSM6688L (3 V Version)) ...................... 55
RECOMMENDED OPERATING CONDITIONS
(for MSM6688L (3 V Version)) ...................... 55
ELECTRICAL CHARACTERISTICS
(for MSM6688L (3 V Version)) ...................... 55
TIMING DIAGRAMS ..................................... 60
FUNCTIONAL DESCRIPTION .................... 79
Recording Time and Memory
Capacity .................................................79
Connection of an Oscillator...................... 79
Power Supply Wiring................................ 81
Analog Input Amplifier Circuit .............. 81
Connection of LPF Circuit
Peripherals ............................................ 82
LPF Characteristics .................................... 82
Full Scale of A/D and D/A Converters . 83
Reset Function ............................................84
Power Down by the PDWN pin .............. 85
Record/Playback Control Modes ........... 86
Data Configuration of External Serial
Registers ................................................ 88
Data Configuration of External
Serial Voice ROMs ............................... 97
Command Description.............................. 99
Status Register .......................................... 108
Inputting the Commands ....................... 112
Changes of Record/Playback
Conditions ...........................................116
Setting and Confirming the
Record/Playback Conditions ................ 117
Flex Record/Playback Method.............. 128
Direct Record/Playback Method .........135
ROM Playback by Inputting Address
Code ..................................................... 138
Direct ROM Playback Method............... 142
Stopping Record/
Playback Temporarily ....................... 144
Transferring Data to/from External
Memories ............................................. 145
Record/playback by Inputting/
Outputting Voice Data via Data Bus ........
Suppression of Pop Noise at
AOUT Output ..................................... 155
APPLICATION CIRCUIT ............................ 157
151
2/159
¡ Semiconductor MSM6688/6688L
(1) STAND-ALONE MODE (for MSM6688 (5 V Version))
FEATURES
• 3-bit or 4-bit ADPCM
• Built-in 12-bit AD converter
• Built-in12-bit DA converter
• Built-in microphone amplifier
• Built-in low-pass filter Attenuation characteristics –40 dB/oct
• External memories Serial registers, 32M bits maximum (for variable messages)
8M bit serial register (MSM6685) can be driven directly
Serial voice ROMs, 4M bits maximum (for fixed messages)
1M bit serial voice ROM (MSM6595A) can be driven directly 2M bit serial voice ROM (MSM6596A) can be driven directly 3M bit serial voice ROM (MSM6597A) can be driven directly
• Sampling frequency
4.0 kHz, 5.3 kHz, 6.4 kHz or 8.0 kHz (master clock frequency = 4.096 MHz)
8.0 kHz, 10.6 kHz, 12.8 kHz, or 16.0 kHz (master clock frequency = 8.192 MHz)
• Number of phrases 63 phrases for variable messages 63 phrases for fixed messages
• Maximum recording time (when external 32M bit RAM is connected) 34 minutes (for 16 kbps ADPCM) 23 minutes (for 24 kbps ADPCM) 17 minutes (for 32 kbps ADPCM)
• Voice triggered starting function
• Pause function
• Master clock frequency: 4.096 MHz~8.192 MHz
• Power supply voltage: Single 5 V power supply
• Package: 56-pin plastic QFP (QFP56-P-910-0.65-2K) (Product name: MSM6688GS-2K)
3/159
4/159
¡ Semiconductor MSM6688/6688L
BLOCK DIAGRAM
MCUM RESET
PDWN
PDMD
VDS
ROM SAM1 SAM2
MON
NAR
DEL ST SP PAUSE CA0 CA1 CA2 CA3 CA4 CA5
TESTTEST
XT
XT
REC/PLAY
4B/3B
MIN
MOUT
LIN
OSC
Latch
+
– +
LOUT AMON FIN AOUT FOUT ADIN SG SGC
SADX SADY
TAS RWCK WE CS1 CS2 CS3 CS4
RSEL1 RSEL2
DI/O DROM
Test Circuit
Data
I/O
Register
Controller
ADPCM
Analyzer/Synthesizer
LPF
12bit
ADC
12bit
DAC
SG
Circuit
DV
DD
DV
DD'
AV
DD
DGND AGND
Phrase Register
Address Controller
Timing
Controller
¡ Semiconductor MSM6688/6688L
PIN CONFIGURATION (TOP VIEW)
CA0 CA1 CA2 CA3 CA4 CA5
DEL
PAUSE
PDMD
MCUM
SAM1 SAM2 4B/3B
VDS
10 11 12 13 14
REC/PLAYSTSP
56555453525150494847464544
1 2 3 4 5 6 7 8 9
15161718192021222324252627
ROM
ADIN
FOUT
RESET
NAR
FIN
AOUT
MON
RWCK
DD'
AMON
DV
DVDDXTXTWE
SG
DD
SGC
AV
LOUT
DROM
DI/0
LIN
MOUT
CS4
43
28
MIN
42 41 40 39 38 37 36 35 34 33 32 31 30 29
CS3 CS2 CS1
SADX SADY
TAS SAS PDWN
TEST
TEST
RSEL2 RSEL1 DGND AGND
56-Pin Plastic QFP
5/159
¡ Semiconductor MSM6688/6688L
PIN DESCRIPTIONS
Pin
49
21
22
30
29
23
24
28
26
27
25
20
19
17
16
18
39
38
36
37
Symbol Type Description
Digital power supply pin. Insert a bypass capacitor of 0.1µF or more
DV
DV
DD
DD'
between this pin and the DGND pin.
Digital power supply pin
Analog power supply pin. Insert a bypass capacitor of 0.1µF or more
AV
DD
between this pin and the AGND pin.
DGND Digital ground pin
AGND Analog ground pin
SG
SGC
MIN
LIN
MOUT
LOUT
O
O
Output pin for analog circuit reference voltage (signal ground)
Inverting input pin of the built-in OP amplifier. Non-inverting input
I
pin is internally connected to SG (signal ground).
MOUT and LOUT are output pins of the built-in OP amplifier for MIN
and LIN, respectively.
This pin is connected to the LOUT pin in the recording mode and to
AMON O
the DA converter output in the playback mode. Used to connect the
built-in LPF input (FIN pin).
FIN I Input pin of the built-in LPF.
Output pin of the built-in LPF. Used to connect the AD converter
FOUT O
input (ADIN pin).
ADIN I Input pin of the built-in 12-bit AD converter.
Output pin of the built-in LPF. This pin outputs playback waveforms
AOUT O
and used to connect an external speaker drive amplifier.
(Serial Address Data). SADX is used to connect the SAD pin of each
SADX
SADY
O
external serial register and the SADX pin of each external serial voice
ROM. SADY is used to connect the SADY pin of each external serial
voice ROM. Outputs of starting address of read/write. (Serial Address Strobe). Used to connect the SAS pin of external
SAS O
serial register and the SASX and SASY pins of
external serial voice ROM. Clock pin to write the serial address. (Transfer Address Strobe). Used to connect the TAS pin of each
external serial register and serial voice ROM.
TAS O
This pin outputs address strobe outputs to set the serial address
data from the SADX and SADY pins into the internal address counter
of each serial register and serial voice ROM.
50
46
RWCK O
WE O
(Read/Write Clock). Used to connect the RWCK pin of each external serial register and the RDCK pin of each external
serial voice ROM. This pin outputs a clock to read data from or write
it into each external serial register. (Write Enable) Used to connect the WE pin of each external serial register. This pin outputs WE signal to
select either read or write mode.
6/159
¡ Semiconductor MSM6688/6688L
Pin
45
40
41
42
43
31
32
10
53
35
Symbol Type Description
(Data I/O). Used to connect the DIN and DOUT pins of serial register.
DI/O44
DROM
CS1 CS2 CS3 CS4
RSEL1
RSEL2
MCUM I
RESET I
PDWN I
I/O
O
This pin outputs the data to be written into the serial register or
inputs the data read from the serial registers.
(Data ROM). Used to connect the DOUT pin of each external serial
I
voic ROM. (Chip Select). Used to connect the CS pin of serial register and the CS (CS1, CS2, CS3) pins of serial voice ROM.
(Register Select). These are used to select the number of external
serial registers.
I
RSEL2 L L H H
RSEL1 L H L H
Number of serial registers 1234
This pin is used to select either the stand-alone mode or the
microcontroller interface mode.
Low level: Stand-alone mode
High level: Microcontroller interface mode.
A high input level to this pin causes the MSM6688 to be initialized
and to go into the power down state.
(Power Down). When a low level is input to this pin, the MSM6688
goes to the power down state. Unlike the RESET pin, this pin does
not force to reset the MSM6688. When an Low level is applied to this PDWN pin during recording operation, the MSM6688 is halted,
and will be maintained in the power down state while PDWN is low.
After this pin is restored to a high level, postprocessing for
recording will be performed.
47
48
34
33
XT I
XT O
TEST
TEST
Used to connect an oscillator. When an external clock is used,
input the clock through this pin. At the power down state, this pin
must be set to the ground level.
Used to connect an oscillator, when an external clock is used, this
pin must be left open.
I
Used to test the MSM6688. Input a low level to the TEST pin and a high level to the TEST pin.
7/159
¡ Semiconductor MSM6688/6688L
Pin
15
56
55
54
8
7
TypeSymbol Description
ROM I
REC/PLAY I
ST I
SP I
PAUSE I
DEL I
When low, selects the record/playback operation. When high, selects the ROM
playback operation.
Used to select the recording mode or the playback mode. This pin is invalid
during the ROM playback operation. When low, selects the playback mode.
When high, selects the recording mode.
When a low-level pulse is applied to this pin, the record/playback or ROM
playback is started.
When a low-level pulse is applied to this pin, the record/playback or ROM
playback is stopped.
When a low-level pulse is applied to this pin, the record/playback or ROM
operation is stopped temporarily.
When a low level pulse is applied to this pin, all phase deletion or specified
phrase deletion can be performed according to the setting of pins CA0
through CA5,
ch00: All phase deletion
ch01 to ch3F: Specified phrase deletion
After powering up, be sure to input RESET signal and then to delete all phrases.
After completing this procedure, start the record/playback operation.
1-6
13
CA0-CA5 I
4B/3B I
Input pins used to specify desired phases.
A total of 63 phrases can be specified independently for the record/playback
operation and the ROM playback operation.
CA5 CA4 CA3 CA2 CA1 CA0 Phrase No. Remarks
LLLLLL ch00 All phrase deletion
LLLLLH ch01
LLLLHL
.
.
.
. . .
HHHHH L ch3E
HHHHHH ch3F
Input pin used to select one of two types of ADPCM bit length.
When low, selects the 3-bit ADPCM.
When high, selects the 4-bit ADPCM.
.
. . .
.
.
.
.
.
.
.
.
ch02
. . .
A total of 63 phrases can be used both for record/playback and ROM playback operation.
8/159
¡ Semiconductor MSM6688/6688L
Pin
11
12
9
Symbol Type Description
Used to select one of the following four types of sampling
frequency. The relationship between the master clock frequency
(fosc) and the sampling frequency (fsamp) is shown below.
Values in parentheses denote the sampling frequencies for
SAM1
SAM2
I
fosc = 4.096 MHz.
SAM2 L L H H
SAM1 L H L H
fsamp
fosc
1024
(4.0kHz)
fosc
768
(5.3kHz)
This input pin is used to select the condition for transition to the
power-down state.
Low level: The MSM6688 automatically goes to the power-down
state, excepting the time the record/playback
operation is being performed.
High level: The MSM6688 automatically goes to the standby
PDMD I
state, instead of the power-down state, excepting the
time the record/playback operation is being
performed. In this case, the MSM6688 can be placed
in the power-down state by setting the RESET pin to
a high level. If it is desired to use the built-in LPF for
an external circuit, this standby mode must be
selected by applying a high level to the PDMD pin.
fosc 640
(6.4kHz)
fosc
512
(8.0kHz)
14
51
52
VDS I
MON O
NAR O
Used to select the voice triggered starting that starts recording
when the voice input exceeds the preset amplitude. A high input
level on this pin enables the voice triggered starting circuit.
Outputs a high level while the record/playback operation is being
performed.
Output pin to indicate the enable or disable state of the operation
for specifying a phrase. When continuous ROM playback is
performed, the next phrase can be specified after verifying that the
NAR pin becomes high.
9/159
¡ Semiconductor MSM6688/6688L
ABSOLUTE MAXIMUM RATINGS (for MSM6688 (5 V Version))
Parameter Symbol Condition Rating Unit
Power supply voltage V
Input Voltage V
Storage temperature T
DD
IN
STG
Ta=25°C –0.3 to +7.0 V
Ta=25°C –0.3 to VDD+0.3 V
–55 to +150 °C
RECOMMENDED OPERATING CONDITIONS (for MSM6688 (5 V Version))
Parameter Symbol Condition Range Unit
Power supply voltage V
Operating temperature T
Master clock frequency f
DD
op
osc
Note: 1. Recording and playback should be performed at a power supply voltage of 4.5 to 5.5V.
For other operations such as backup for a serial register, the IC operates at 3.5 to 5.5V.
DGND=AGND=0V 3.5 to 5.5 (Note 1) V
–40 to +85 °C
4.0 to 8.192 MHz
10/159
¡ Semiconductor MSM6688/6688L
ELECTRICAL CHARACTERISTICS (for MSM6688 (5 V Version))
DC Characteristics
Parameter Symbol Condition Typ. Unit
High input voltage V
Low input voltage V
High output voltage V
Low output voltage V
High input current (Note 1)
High input current (Note 2)
Low input current (Note 3)
Low input current (Note 2)
Low input current (Note 4)
Operating current consumption
Standby current consumption
I
I
I
I
I
I
I
DDS
IH
OH
OL
IH1
IH2
IL1
IL2
IL3
DD
=DV
DV
DD
=AVDD=4.5 to 5.5V (Note 5)
DD'
DGND=AGND=0V Ta=–40 to +85°C
Min.
IL
I
= –40mA
OH
I
= 2mA
OL
V
= V
IH
V
= V
IH
V
= GND –10 mA
IL
V
= GND –20 mA
IL
V
= GND –400 mA
IL
—— V
DD
DD
0.8¥V
DD
VDD–0.3
—V
mA
mA
fosc = 8 MHz, no load mA
During power down, no load Ta=–40 to +70°C
During power down, no load Ta=–40 to +85°C
mA
mA
15
—10
Max.
0.2¥V
0.45
10
20
–20
30
50
V
DD
V
Note: 1. Applies to all input pins excluding the XT pin.
2. Applies to the XT pin.
3. Applies to the all input pins without pull-up resistors, excluding the XT pin.
4. Applies to the input pins (ST, SP, PAUSE, DEL) with pull-up resistors, excluding the XT
pin.
11/159
¡ Semiconductor MSM6688/6688L
Analog Characteristics
Parameter Symbol Condition Min. Typ. Max. Unit
DA output relative error |V
FIN admissible input voltage range
FIN input impedance R
ADIN admissible input voltage range
ADIN input impedance R
Op-amp open loop gain G
Op-amp input impedance R
Op-amp load resistance
AOUT load resistance R
FOUT load resistance R
DV
=DV
DD
=AVDD=4.5 to 5.5V
DD'
DGND=AGND=0V Ta=–40 to +85°C
| no load 10 mV
DAE
V
V
R
FIN
FIN
ADIN
ADIN
OP
INA
OUTA
AOUT
FOUT
—1V
DD
—1MW
—0V
DD
—1MW
fIN=0-4kHz 40 dB
—1MW
200 kW
—50kW
—50kW
-1 V
V
12/159
¡ Semiconductor MSM6688/6688L
AC Characteristics
Parameter
RESET pulse width
RESET execution time
PDWN low level time
PDWN high level time
Oscillating time after input of PDWN
BUSY time after release of PDWN
ST pulse width
SP pulse width
PAUSE pulse width
DEL pulse width
Time required to delete all phrases
Time required to delete a specified phrase
(Note 1)*
(Note 1)*
(Note 1)*
(Note 2)**
**
**
(Note 2)*
DVDD=DV
=AVDD=4.5 to 5.5V
DD'
DGND=AGND=0V Ta=–40 to +85°C fosc=4.096MHz f
Symbol Min. Typ. Max. Unit
t
RST
t
REX
t
*
PDL
t
PDH
t
*
PX
t
BPD
t
ST
t
SP
t
PSE
t
DEL
t
*
WBLA
t
*
WBL1
1
500
500
125
0.25
40
40
40
40
550
70
1
SAMP
500
=8.0kHz
ms
ms
ms
ms
ms
ms
ms
ms
ms
ms
ms
ms
Time from input of DEL pulse to CSI fall
(Note 2)*
Hold time of CA0~CA5, REC/PLAY after MON rise
Address control time at the start of record/playback
Time from input of ST pulse to NAR fall
(Note 2)*
Unvoiced time between phrases during repeated playback
Record
Time from input of ST pulse to MON rise
Playback
ROM playback
Record
POMD=H
Time from input of SP pulse to MON fall
Playback
ROM playback
Time from input of ST pulse to standby for
t
DCS
t
CAH
t
*
AD1
t
STN
*
t
MID
t
*
TMH1
*
t
TMH2
*
t
TMH3
*
t
PMH1
*
t
PMH2
*
t
PMH3
*
t
STVH
1
0.75
1
270
40
1
50
20
1
80
2
2
50
ms
ms
ms
ms
ms
ms
ms
ms
ms
ms
ms
ms
voice
Time from input of SP pulse during standby
*
t
SPVH
80
ms
for voice to release of standby for voice
Items with * are proportional to the period of master clock frequency fosc. Items with **are proportional to the period of the master clock frequency fosc, and are also
proportional to the sampling frequency f
Note: 1. The oscillation start stabilization time is added to t
during record/playback.
SAMP
and t
REX
BPD
. The oscillation start stabilization time is several tens of milliseconds for crystals and several hundreds of microseconds for ceramic oscillators.
Note: 2. The oscillation start stabilization time is added if PDMD pin = "L".
The oscillation start stabilization time is several tens of milliseconds for crystals and several hundreds of microseconds for ceramic oscillators.
13/159
¡ Semiconductor MSM6688/6688L
PDMD=L
Parameter
Record
Time from input of ST pulse to MON rise
Playback
ROM playback
Record
Time from input of SP pulse to MON fall
Playback
ROM playback
Time from input of ST pulse to standby for voice
Time from input of SP pulse during standby for voice to release of standby for voice
Standby transition time at start of playback
Standby transition time at end of playback
*
*
*
*
*
*
*
*
*
*
Symbol
t
TML1
t
TML2
t
TML3
t
PML1
t
PML2
t
PML3
t
STVL
t
SPVL
t
AOR
t
AOF
DVDD=DV
=AVDD=4.5 to 5.5V
DD'
DGND=AGND=0V Ta=–40 to +85°C fosc=4.096MHz f
Min.
Typ.
64
256
SAMP
Max.
=8.0kHz
120
150
150
80
260
260
120
80
Unit
ms
ms
ms
ms
ms
ms
ms
ms
ms
ms
Time from input of PAUSE pulse to pause
Time from input of ST pulse during pause to restart of record/playback
**
**
t
t
PP
PST
1
1
ms
ms
Items with * are proportional to the period of master clock frequency fosc. Items with ** are proportional to the period of the master clock frequency fosc, and are also
proportional to the sampling frequency f
during record/playback.
SAMP
14/159
¡ Semiconductor MSM6688/6688L
TIMING DIAGRAMS
RESET FUNCTION
V
DD
RESET (I)
t
RST
t
REX
Undefined Power down
Power Down by PDWN Pin
PDWN (I)
XT (I) XT (O)
Oscillation in progress
tPX Note 1
t
Reset operation in progress
PDL
Standby for record/playback
t
PDH
Oscillation in progress
t
BPD
Power down Postprocessing Standby
Note: 1. When an external clock is used, continue to apply the clock input to the XT terminal
during tPX after the PDWN pin is set to a low level.
15/159
¡ Semiconductor MSM6688/6688L
Timing for Deletion of All Phrases
CA0-CA5 (I)
t
DEL
DEL (I)
t
WBLA
t
DCS
CSI (O)
Standby
Deletion of all phrases
Timing for Deletion of a Specified Phrase
CA0-CA5 (I)
t
DEL
DEL (I)
t
WBL1
t
DCS
CSI (O)
Standby
Deletion of a specified phrase
Standby
Standby
16/159
17/159
¡ Semiconductor MSM6688/6688L
Recording Timing (PDMD Pin = High)
ST
MON
Standby
Power down
Oscillation in progress
t
TMH1
XT
t
STN
t
ST
t
CAH
Power down
Address control Recording in progress
Standby
t
SP
Phase designation
Bit rate designation
t
PMH1
t
AD1
RESET
ROM
SAM1, SAM2 4B/3B
CA0-CA5
REC/PLAY
SP
XT
NAR
(I)
(O)
(O)
(I)
(I)
(I) (I)
(I)
(I)
(I)
(I)
(O)
18/159
¡ Semiconductor MSM6688/6688L
Timing for Voice Triggered Recording (PDMD Pin = High)
ST
MON
Standby
Power down
Oscillation in progress
t
STVH
XT
t
STN
t
ST
t
CAH
Power down
Standby for voice Recording
Standby
t
SP
Phrase designation
Bit rate designation
t
SPVH
t
AD1
RESET
SAM1, SAM2
4B/3B CA0-CA5
REC/PLAY
SP
XT
NAR
(I)
(O)
(O)
(I)
(I)
(I) (I)
(I)
(I)
(I)
(I)
(O)
ROM (I)
t
SP
t
PMH1
Address control
VDS
Voice detected
When STOP pulse is input during standby for voice, the MSM6688 goes to the recording standby state.
19/159
¡ Semiconductor MSM6688/6688L
Playback Timing (PDMD Pin = High)
ST
MON
Standby
Power down
Oscillation in progress
t
TMH2
XT
t
STN
t
ST
t
CAH
Power down
Playback
Standby
Phrase designation
Bit rate designation
t
AD1
RESET
SAM1, SAM2 4B/3B
CA0-CA5
REC/PLAY
SP
XT
AOUT
(I)
(O)
(O)
(I)
(I) (I)
(I)
(I)
(I)
(I)
(O)
RO (I)
t
SP
t
PMH2
Address control
NAR (O)
1/2 VDD level
GND level
1/2 VDD level
GND level
20/159
¡ Semiconductor MSM6688/6688L
ROM Playback Timing (PDMD Pin = High)
ST
MON
Standby
Power down
Oscillation in progress
t
TMH3
XT
t
STN
t
ST
t
CAH
Power down
Playback
Standby
Phrase designation
t
AD1
RESET
CA0-CA5
SP
XT
AOUT
(I)
(O)
(O)
(I)
(I)
(I)
(I)
(O)
ROM (I)
t
SP
t
PMH3
Address control
NAR (O)
1/2 VDD level
GND level
1/2 VDD level
GND level
21/159
¡ Semiconductor MSM6688/6688L
Continuous ROM Playback Timing (PDMD Pin = High)
ST
MON
Standby
Power down
Oscillation in progress
t
TMH3
XT
t
STN
Power down
Unvoiced
2nd phrase playback
1st phrase designation
t
AD1
RESET
CA0-CA5
SP
XT
AOUT
(I)
(O)
(O)
(I)
(I)
(I)
(I)
(O)
ROM (I)
t
SP
t
PMH3
Address control
NAR (O)
1/2 VDD level
GND level
1/2 VDD level
GND level
1st phrase playback
2nd phrase designation
t
MID
Standby
22/159
¡ Semiconductor MSM6688/6688L
Recording Timing (PDMD Pin = Low)
ST
MON
Analog stable time
Power down
Oscillation in progress
t
TML1
XT
t
STN
t
ST
t
CAH
Power down
Address control Recording in progress
t
SP
Phrase specifying operation
Bit rate specifying operation
t
PML1
t
AD1
RESET
ROM
SAM1, SAM2 4B/3B
CA0-CA5
REC/PLAY
SP
XT
NAR
(I)
(O)
(O)
(I)
(I)
(I) (I)
(I)
(I)
(I)
(I)
(O)
23/159
¡ Semiconductor MSM6688/6688L
Timing for Voice Triggered Recording (PDMD Pin = Low)
ST
MON
Analog stable time
Power down
Oscillation in progress
t
STVL
XT
t
STN
t
ST
t
CAH
Power down
Standby for voice Recording
t
SP
Phrase designation
Bit rate designation
t
SPVL
t
AD1
RESET
SAM1, SAM2
4B/3B CA0-CA5
REC/PLAY
SP
XT
NAR
(I)
(O)
(O)
(I)
(I)
(I) (I)
(I)
(I)
(I)
(I)
(O)
ROM (I)
t
SP
t
PML1
Address control
VDS
Voice detected
When STOP pulse is input during standby for voice, the MSM6688 goes to the recording standby state.
24/159
¡ Semiconductor MSM6688/6688L
Playback Timing (PDMD Pin = Low)
ST
MON
Analog stable time
Power down
Oscillation in progress
t
TML2
XT
t
STN
t
ST
t
CAH
Power down
Playback
Phrase designation
Bit rate designation
t
AD1
RESET
SAM1, SAM2 4B/3B
CA0-CA5
REC/PLAY
SP
XT
AOUT
(I)
(O)
(O)
(I)
(I) (I)
(I)
(I)
(I)
(I)
(O)
ROM (I)
t
SP
t
PML2
Address control
NAR (O)
GND level
1/2 V
DD
level
GND level
Standby transition
t
AOR
t
AOF
Standby transition
25/159
¡ Semiconductor MSM6688/6688L
ROM Playback Timing (PDMD Pin = Low)
ST
MON
Analog stable time
Power down
Oscillation in progress
t
TML3
XT
t
STN
t
ST
t
CAH
Power down
Playback
Phrase designation
t
AD1
RESET
CA0-CA5
SP
XT
AOUT
(I)
(O)
(O)
(I)
(I)
(I)
(I)
(O)
ROM (I)
t
SP
t
PML3
Address control
NAR (O)
GND level
1/2 V
DD
level
GND level
Standby transition
t
AOR
Standby transition
t
AOF
26/159
¡ Semiconductor MSM6688/6688L
Continuous ROM Playback Timing (PDMD Pin = Low)
ST
MON
Power down
Oscillation in progress
t
TML3
XT
t
STN
Power down
Unvoiced
2nd phrase playback
1st phrase designation
t
AD1
RESET
CA0-CA5
SP
XT
AOUT
(I)
(O)
(O)
(I)
(I)
(I)
(I)
(O)
ROM (I)
t
SP
t
PML3
Address control
NAR (O)
GND level
1/2 V
DD
level
GND level
1st phrase playback
2nd phrase designation
t
MID
Standby transitionAnalog stable time
t
AOR
t
AOF
Standby transition
27/159
¡ Semiconductor MSM6688/6688L
Record/Playback Pause Timing
ST
MON
Standby
Pause
SP
(I)
(O)
(I)
t
ST
Note 1
t
PST
Record/PlaybackPauseRecord/PlaybackStandby
t
ST
t
PSE
t
SP
t
PSE
t
PP
t
PP
PAUSE
(I)
Start pulse Restart pulse
Note 1: This time interval varies depending on the state of PDMD pin and
the record/playback mode and is one of t
PMH1
, t
PMH2
, t
PMH3
, t
PML1
,
t
PML2
and t
PML3
.
¡ Semiconductor MSM6688/6688L
FUNCTIONAL DESCRIPTION
Recording Time and Memory Capacity
The recording time depends on the memory capacity of the external serial registers, sampling frequency, and ADPCM bit length, and is given by
Recording time = (seconds)
1.024 ¥ memory capacity (K bits)
sampling frequency (kHz) ¥ bit length (bits)
For example, if the sampling frequency is kHz (= 5.333 kHz), ADPCM bit length is 3 bits, and
4096
768
four 8M bit serial registers are used, the recording time can be obtained as follows.
Recording time = = 2093 seconds
1.024 ¥ (8192 ¥ 4 – 64)
5.333 ¥ 3
= 34 minutes 53 seconds
In the above equation, the memory capacity is obtained by subtracting the memory capacity (64 Kbits) for the channel index area from the total memory capacity.
Connection of an Oscillator
Connect a ceramic oscillator or a crystal oscillator to XT and XT pins as shown below. The optimal load capacities when connecting ceramic oscillators from MURATA MFG. and KYOCERA CORPORATION are shown below for reference.
MSM6688
XTXT
MURATA MFG.
KYOCERA CORPO­RATION
CSA4.00MG
CST4.00MGW
CSA6.00MG
CST6.00MGW
CSA8.00MTZ
CST8.00MTW
KBR-4.0MSA
KBR-4.0MKS
PBRC4.00A
PBRC4.00B
KBR-6.0MSA
KBR-6.0MKS
PBRC6.00A
PBRC6.00B
KBR-8.0M
PBRC8.00A
PBRC8.00B
C
1
Ceramic oscillator Optimal load capacity
Type Freq(MHz) C
(with capacitor)
(with capacitor)
(with capacitor)
(with capacitor)
(with capacitor)
2
C
1
(pF) C2(pF)
4.0
6.0
8.0
4.0
6.0
8.0
30
33 33
30
28/159
¡ Semiconductor MSM6688/6688L
Power Supply Wiring
As shown in the following diagram, supply the power to this MSM6688 from the same power source, but separate the power supply wiring to the analog portion from that to the logic position.
+5V
DV
DV
DD
DD'
DGND AGND
MSM6688
AV
DD
The following connections are not permitted.
Analog power supply
Digital power supply
DV
DV
DD
DD'AVDD
+5V
DV
DV
DD'
DD
AV
DD
Analog Input Amplifier Circuit
This MSM6688 has two built-in operational amplifiers for amplifying the microphone output. Each OP amplifier is provided with the inverting input pin and output pin. The analog circuit reference voltage SG (signal ground) is connected internally to the non-inverting input of each OP amplifier.
For amplification, form an inverting amplifier circuit and adjust the amplification ratio by using external resistors as shown below.
V
IN
+
R1 R3 R4
R2
V
MO
V
LO
V
DD
V
LO
VDD–1
SG
VLO=
MIN
+
R4 R2 • R4
R3 R1 • R3
MOUT LIN LOUT
OP amp 1 OP amp 2
=V
V
MO
+
(V)
IN
1/2V
1
GND
DD
During the time the recording operation is performed, the output VLO of OP amp 2 is connected to the input FIN of the built-in LPF. The FIN allowable input voltage (V
) ranges from 1V to (V
FIN
DD
– 1)V. Therefore, the amplification ratio must be adjusted so that the VLO amplitude can be within the FIN allowable input voltage range.
For example, if VDD = 5V, V
becomes 3 V
LO
max. If VLO exceeds the FIN allowable input voltage
p-p
range, the output of the LPF will be a clipped waveform.
The load resistance R
of the OP amp is 200 kW minimum, so that the feedback resistors R2 and
OUTA
R4 of the inverting amplifier circuit must be 200 kW or more.
29/159
¡ Semiconductor MSM6688/6688L
Connection of LPF Circuit Peripherals
The AMON pin is connected internally to the output of the amplifier circuit (LOUT pin) in the recording mode and to the output of the built-in DA converter in the playback mode. Therefore, connect the AMON pin directly to the input (FIN pin) of the built-in LPF.
Both the FOUT and AOUT pins are the output pins of the built-in LPF. Connect the FOUT pin to the input (ADIN pin) of the built-in AD converter and connect the AOUT pin to an external speaker through an external speaker drive amplifier.
In the MSM6688, the connection of each of the FOUT and AOUT pins is changed to one of the output of the LPF, GND (ground) level, and SG (signal ground) level, depending on the operation status as shown below.
When PDMD pin = high level:
During operation
Analog pin
At power down
(RESET pin = H)
Recording mode Playback mode
(RESET pin = L)
FOUT pin
AOUT pin
When PDMD pin = L:
Analog pin At power down
FOUT pin
AOUT pin
GND level
GND level
GND level
GND level
LPF output
(recording waveform)
SG level
During operation
Recording mode Playback mode
LPF output
(recording waveform)
GND level
LPF output
LPF output
(playback waveform)
LPF output
LPF output
(playback waveform)
30/159
Loading...
+ 129 hidden pages