ISD3900
ISD3900
Multi-Message Record/Playback Devices
with Digital Audio Interface
-1-
Publication Release Date: Dec 10, 2013
Revision 1.5
ISD3900
TABLE OF CONTENTS
1
GENERAL DESCRIPTION .............................................................................................................. 3
2
FEATURES ...................................................................................................................................... 3
3
BLOCK DIAGRAM ........................................................................................................................... 5
4
PINOUT CONFIGURATION ............................................................................................................ 7
5
PIN DESCRIPTION .......................................................................................................................... 8
6
ELECTRICAL CHARACTERISTICS .............................................................................................. 11
6.1
ABSOLUTE MAXIMUM RATINGS ............................................................................................................. 11
6.2
OPERATING CONDITIONS ........................................................................................................................ 11
6.3
DC PARAMETERS ................................................................................................................................... 11
6.4
AC PARAMETERS ................................................................................................................................... 13
6.4.1
Internal Oscillator ......................................................................................................................... 13
6.4.2
Inputs ............................................................................................................................................. 13
6.4.3
Outputs ........................................................................................................................................... 14
6.4.4
SPI Timing ..................................................................................................................................... 15
6.4.5
I2S Timing ...................................................................................................................................... 17
7
APPLICATION DIAGRAM .............................................................................................................. 18
8
PACKAGE SPECIFICATION ......................................................................................................... 19
8.1
9
10
48 LEAD LQFP(7X7X1.4MM FOOTPRINT 2.0MM).................................................................................... 19
ORDERING INFORMATION .......................................................................................................... 20
REVISION HISTORY.................................................................................................................. 21
-2-
Publication Release Date: Dec 10, 2013
Revision 1.5
ISD3900
1
GENERAL DESCRIPTION
®
The ISD3900 is a multi-message ChipCorder featuring digital compression, comprehensive memory
management, and integrated analog/digital audio signal paths. The message management feature is
designed to make message recording simple and address-free as well as make code development
easier for playback-only applications. The ISD3900 utilizes winbond 25X/25Q series flash memory to
provide non-volatile audio record/playback for a two-chip solution. Unlike other ChipCorder series, the
2
ISD3900 provides an I S digital audio interface, faster digital recording, higher sampling frequency,
and a signal path with SNR equivalent to 12bit resolution.
2
2
The ISD3900 can take digital audio data via I S or SPI interface. When I S input is selected, it will
replace the analog audio inputs and will support sample rates of 32, 44.1 or 48 kHz depending upon
clock configuration. When SPI interface is chosen, the sample rate of the audio data sent must be one
of the ISD3900 supported sample rates.
The ISD3900 has built-in analog audio inputs, analog audio line driver, and speaker driver output. The
two analog audio inputs to the device are: (1) AUXIN has a fixed gain configured by SPI command,
and (2) ANAIN/ANAOUT has a fixed gain amplifier with the gain set by two external resistors.
ANAIN/ANAOUT can also be used as a microphone differential input (ANAIN/ANAOUT becomes
MIC+/MIC-) in conjunction with an automatic gain control (AGC) circuit configured by SPI command.
Analog outputs are available in three forms: (1) AUXOUT is a single-ended voltage output; (2)
AUDOUT can be configured as either a single-ended voltage output or a single-ended current output;
(3) BTL (bridge-tied-load) is a differential voltage output.
2
FEATURES
External Memory: support winbond 25X/25Q SpiFlash.
1
o The addressing ability of ISD3900 is up to 128Mbit , which is 64-minute recording time based
on 8kHz/4bit ADPCM.
Fast Digital Programming
o Programming rate can go up to 1Mbits/second mainly limited by the flash memory write rate.
Message Management
o Perform address-free recording: The ISD3900 allocates memory for new recording requests
and upon completion, returns a start address to the host via SPI interface
o Store pre-recorded audio (Voice Prompts) using high quality digital compression
o Use a simple index based command for playback
o Execute pre-programmed macro scripts (Voice Macros) designed to control the configuration
of the device and play back Voice Prompts sequences and message recordings.
Sample Rate
o Seven record and playback sampling frequencies are available for a given master sample
rate. For example, the record and playback sampling frequencies of 4, 5.3, 6.4, 8, 12.8, 16
and 32kHz are available when the device is clocked at a 32kHz master sample rate.
2
o For I S operation, 32, 44.1 and 48kHz master sample rates are available with record and
playback sampling frequencies scaling accordingly.
Compression Algorithms
o For recording
ADPCM: 2, 3, 4 or 5 bits per sample
µ-Law: 6, 7 or 8 bits per sample
1
For details please refer to Design Guide
-3-
Publication Release Date: Dec 10, 2013
Revision 1.5
ISD3900
Differential µ-Law: 6, 7 or 8 bits per sample
PCM: 8, 10 or 12 bits per sample. Each sampled value is stored as a code, offering no
compression but preserving maximum resolution
o For Pre-Recorded Voice Prompts
µ-Law: 6, 7 or 8 bits per sample
Differential µ-Law: 6, 7 or 8 bits per sample
PCM: 8, 10 or 12 bits per sample
Enhanced ADPCM: 2, 3, 4 or 5 bits per sample
Variable-bit-rate optimized compression. This allows best possible compression given a
metric of SNR and background noise levels.
Oscillator
o Internal oscillator with internal reference: 2.048 MHz with ±10% deviation
o Internal oscillator with external resistor: 2.048 MHz with ±5% deviation when Rosc is
78.7kohm
o External crystal or clock input
2
o I S bit clock input
o Crystals and resonators support standard audio sampling rates of 2.048, 4.096, 8.192, 12.288
and11.2896MHz
Inputs
o AUXIN: Analog input with 2-bit gain control configured by SPI command
o ANAIN/ANAOUT:
Analog input with the gain set by two external resistors from ANAOUT to ANAIN, or
Microphone differential input (ANAIN/ANAOUT becomes MIC+/MIC-)
o Digital AGC:
Automatic gain control of digitized data from the analog input
Outputs
o PWM: Class D speaker driver to direct drive an 8Ω speaker or buzzer
o AUDOUT: configurable as a current or voltage single-ended line driver
o AUXOUT: a single-ended voltage output
o BTL: a differential voltage output
I/Os
o SPI interface: MISO, MOSI, SCLK, SSB for commands and digital audio data
2
2
2
2
2
o I S interface: I S_CLK, I S_WS, I S_SDI, I S_SDO for digital audio data
2
o 8 GPIO pins (4 of the 8 GPIO pins share with I S).
Three 8-bit Volume Control set by SPI command for flexible mixing
2
o VOLA: volume control for the digital audio data from I S or analog inputs
o VOLB: volume control for the digital audio data from decompression block or SPI
2
o VOLC: master volume control for PWM, AUDOUT, AUXOUT and I S outputs
Operating Voltage: 2.7-3.6V
Standby Current: 1uA typical
Package: Green 48L-LQFP
Temperature Options:
o Industrial: -40C to 85C
-4-
Publication Release Date: Dec 10, 2013
Revision 1.5
ISD3900
BLOCK DIAGRAM
ADC
A
G
C
ANAIN
Digital Signal Path:
Digital Filters
Resampling
Digital Mixing
Volume Control
SUM2
Compression
De-Compression
GPIO4/SDO
GPIO0
GPIO1
GPIO2
AUXOUT
GPIO
Controller
SPK+
SPK-_MUX
I2S
Interface
AUXOUT
+
SPK+_MUX
GPIO7/ SDI
GPIO5/ WS
AUDOUT
DAC
PWM
Control
GPIO6/SCK
AUDOUT
AUX_MUX
+
ADC_MUX
SUM1
AUD_MUX
AUXIN
ANAOUT
ANAIN
SUM2_MUX
AUXIN
Av = 0, 3, 6, 9dB
SPK-
GPIO3
Memory Management
and Command
Interpreter
Flash Memory
Controller
CLK
CSB
DI
DO
SPI
Interface
SCLK
SSB
MISO
MOSI
INTB
RDY/BSYB
3
Figure 3-1 ISD3900 Block Diagram, ANAIN Selected
-5-
Publication Release Date: Dec 10, 2013
Revision 1.5
ADC
A
G
C
MIC-
MICIN
Digital Signal Path:
Digital Filters
Resampling
Digital Mixing
Volume Control
MIC+
SUM2
PWM
Control
Compression
De-Compression
GPIO4/SDO
GPIO0
GPIO1
GPIO2
AUXOUT
GPIO
Controller
SPK+
SPK-_MUX
I2S
Interface
AUXOUT
+
SPK+_MUX
GPIO5/ WS
AUDOUT
DAC
GPIO7/ SDI
GPIO6/SCK
AUDOUT
AUX_MUX
AUXIN
AUD_MUX
SUM2_MUX
AUXIN
Av = 0, 3, 6, 9dB
ISD3900
SPK-
GPIO3
Memory Management
and Command
Interpreter
Flash Memory
Controller
CLK
CSB
DI
DO
SCLK
SSB
MISO
MOSI
INTB
RDY/BSYB
SPI
Interface
Figure 3-2 ISD3900 Block Diagram, MICIN Selected
-6-
Publication Release Date: Dec 10, 2013
Revision 1.5
ISD3900
NC
AUXIN
ANAIN/MIC+
ANAOUT/MICVSSA
VCCA
AUXOUT
AUDOUT
NC
NC
GPIO0
NC
PINOUT CONFIGURATION
NC
CSB
DI
2
I S_SDI/GPIO7
I2S_SCK/GPIO6
I2S_WS/GPIO5
2
I S_SDO/GPIO4
NC
NC
VSSD
VCCD
VREG
48 47 46 45 44 43 42 41 40 39 38 37
36
35
2
3
34
33
4
1
5
32
6
31
7
30
8
29
9
28
10
27
26
11
12
25
13 14 15 16 17 18 19 20 21 22 23 24
ISD3900
XTALIN
XTALOUT
NC
NC
GPIO1
GPIO2
GPIO3
CLK
DO
RESET
RDY/BSYB
INTB
MISO
SCLK
SSB
MOSI
VCCD_PWM
SPK+
VSSD_PWM
SPKVCCD_PWM
NC
NC
NC
4
Figure 4-1 ISD3900 48-Lead LQFP Pin Configuration.
-7-
Publication Release Date: Dec 10, 2013
Revision 1.5
ISD3900
5
PIN DESCRIPTION
Pin
Number
Pin Name
I/O
Function
1
NC
This pin should be left unconnected.
2
CSB
O
Chip Select Bar of the external serial flash interface.
3
DI
I
Serial data input to external serial flash interface. Connects to data
output (DO) of external flash memory.
4
I S_SDI/
GPIO7
2
I
Serial Data Input of the I S interface (If I2S is not used, this pin should
be grounded).
Or, can be configured as a GPIO pin.
5
I S_SCK/
GPIO6
2
I/O
Clock input in slave mode or clock output in master mode. This pin can
2
be configured as an external clock buffer if I S is not used (If I2S is not
used, this pin should be grounded).
Or, can be configured as a GPIO pin.
6
I S_WS/
GPIO5
2
I/O
Word Select (WS) input in slave mode or WS output in master mode (If
I2S is not used, this pin should be grounded).
Or, can be configured as a GPIO pin.
7
I S_SDO/
GPIO4
2
O
Serial Data Output of the I S Interface (If I2S is not used, this pin
should be left unconnected).
Or, can be configured as a GPIO pin.
8
NC
This pin should be left unconnected.
9
NC
This pin should be left unconnected.
10
VSSD
I
Digital Ground.
11
VCCD
I
Digital power supply.
12
VREG
O
A 1.8V regulator to supply the internal logic. A 0.1uF capacitor should
be connected to this pin for supply decoupling and stability.
13
MISO
O
Master-In-Slave-Out. Serial output from the ISD3900 to the host. This
pin is in tri-state when SSB=1.
14
SCLK
I
Serial Clock input to the ISD3900 from the host.
15
SSB
I
Slave Select input to the ISD3900 from the host. When SSB is low
device is selected and responds to commands on the SPI interface.
16
MOSI
I
Master-Out-Slave-In. Serial input to the ISD3900 from the host.
17
VCCD_PWM
I
Digital Power for the PWM Driver.
2
2
-8-
Publication Release Date: Dec 10, 2013
Revision 1.5
ISD3900
Pin
Number
Pin Name
I/O
Function
18
SPK+
O
PWM driver positive output. This SPK+ output, together with SPK- pin,
provide a differential output to drive 8Ω speaker or buzzer. During
power down this pin is in tri-state.
Or, can be configured as BTL which, together with SPK- pin, provide a
differential voltage output.
Or, can independently switch to AUDOUT or AUXOUT.
19
VSSD_PWM
I
Digital Ground for the PWM Driver.
20
SPK-
O
PWM driver negative output. This SPK- output, together with SPK+
pin, provides a differential output to drive 8Ω speaker or buzzer.
During power down this pin is tri-state.
Or, can be configured as BTL which, together with SPK+ pin, provide a
differential voltage output.
Or, can independently switch to AUDOUT or AUXOUT.
21
VCCD_PWM
I
Digital Power for the PWM Driver.
22
NC
This pin should be left unconnected.
23
NC
This pin should be left unconnected.
24
NC
This pin should be left unconnected.
25
INTB
O
Active low interrupt request pin. This pin is an open-drain output.
26
RDY/BSYB
O
An output pin to report the status of data transfer on the SPI interface.
“High” indicates that ISD3900 is ready to accept new SPI commands
or data.
27
RESET
I
Applying power to this pin will reset the chip. (A high pulse of 50ms or
more will reset the chip.)
28
DO
O
Serial data output of the external serial flash interface. Connects to
data input (DI) of external serial flash.
29
CLK
O
Serial data CLK of the external serial flash interface.
30
GPIO3
I/O
GPIO
31
GPIO2
I/O
GPIO
32
GPIO1
I/O
GPIO
33
NC
This pin should be left unconnected.
34
NC
This pin should be left unconnected.
35
XTALOUT
O
Crystal interface output pin.
-9-
Publication Release Date: Dec 10, 2013
Revision 1.5
ISD3900
Pin
Number
Pin Name
I/O
I
Function
36
XTALIN
The CLK_CFG register determines one of the following three
configurations: (1) A crystal or resonator connected between the
XTALOUT and XTALIN pins. (2) A resistor connected to GND as a
reference current to the internal oscillator and left the XTALOUT
unconnected. (3) An external clock input to the device and left the
XTALOUT unconnected.
37
NC
38
GPIO0
39
NC
This pin should be left unconnected.
40
NC
This pin should be left unconnected.
41
AUDOUT
O
Audio Out. This pin can be either a voltage output or a current output
configured by the internal registers via SPI command.
If AUDOUT is not used, this pin should be left unconnected.
42
AUXOUT
O
Aux Out. This pin is an analog voltage output.
If AUXOUT is not used, this pin should be left unconnected.
43
VCCA
I
Analog power supply pin.
44
VSSA
I
Analog ground pin.
45
ANAOUT/
MIC-
O
Variable gain analog output with the gain set by feedback resistance to
ANAIN.
Or, can be configured as MIC- which, together with MIC+, provides a
microphone differential input.
If ANAIN/ANAOUT is not used, this pin should be left unconnected.
46
ANAIN/
MIC+
I
Variable gain analog input.
Or, can be configured as MIC+ which, together with MIC-, provides a
microphone differential input.
If ANAIN/ANAOUT is not used, this pin should be left unconnected.
47
AUXIN
I
Auxiliary input with the gain set by SPI command
If AUXIN is not used, this pin should be left unconnected.
48
NC
This pin should be left unconnected.
I/O
GPIO
This pin should be left unconnected.
- 10 -
Publication Release Date: Dec 10, 2013
Revision 1.5
ISD3900
6
ELECTRICAL CHARACTERISTICS
6.1
ABSOLUTE M AXIMUM RATINGS
ABSOLUTE MAXIMUM RATINGS (PACKAGED PARTS)
CONDITIONS
VALUES
0
Junction temperature
Storage temperature range
Voltage Applied to any pins
Voltage applied to any pin (Input current limited to +/-20 mA)
Power supply voltage to ground potential
[1]
6.2
[1]
130 C
0
0
-65 C to +150 C
(VSS - 0.3V) to (VCC + 0.3V)
(VSS – 1.0V) to (VCC + 1.0V)
-0.3V to +5.0V
Stresses above those listed may cause permanent damage to the device. Exposure to the absolute
maximum ratings may affect device reliability. Functional operation is not implied at these conditions.
OPERATING CONDITIONS
OPERATING CONDITIONS (INDUSTRIAL PACKAGED PARTS)
CONDITIONS
VALUES
Operating temperature range (Case temperature)
Supply voltage (VDD)
Ground voltage (VSS)
Input voltage (VDD)
-40°C to +85°C
[1]
+2.7V to +3.6V
[2]
0V
[1]
0V to 3.6V
(VSS –0.3V) to (VDD +0.3V)
Voltage applied to any pins
NOTES:
6.3
[1]
VDD = VCCA = VCCD = VCCPWM
[2]
VSS = VSSA = VSSD = VSSPWM
DC PARAMETERS
MIN
TYP
[1]
PARAMETER
SYMBOL
Supply Voltage
VDD
2.7
3.6
V
Input Low Voltage
VIL
VSS-0.3
0.3xVDD
V
Input High Voltage
VIH
0.7xVDD
VDD
V
Output Low Voltage
VOL
VSS-0.3
0.3xVDD
V
IOL = 1mA
Output High Voltage
VOH
0.7xVDD
VDD
V
IOH = -1mA
INTB Output Low Voltage
VOH1
0.4
V
Record Current
IDD_Record
40
mA
Playback Current
IDD_Playback
30
mA
Standby Current
ISB
10
µA
1
- 11 -
MAX
UNITS
CONDITIONS
VDD= 3.6V, No load,
Sampling freq = 16 kHz
VDD= 3.6V
Publication Release Date: Dec 10, 2013
Revision 1.5
ISD3900
Input Leakage Current
Notes:
[1]
1
IIL
µA
Force VDD
Conditions VDD=3V, TA=25°C unless otherwise stated
- 12 -
Publication Release Date: Dec 10, 2013
Revision 1.5
ISD3900
6.4
AC PARAMETERS
6.4.1
Internal Oscillator
PARAMETER
SYMBOL
MIN
TYP
MAX
UNITS
CONDITIONS
Internal Oscillator with internal
reference
FINT
-10%
2.048
MHz
+10
%
MHz
Vdd = 3V.
At room temperature
FExt
-5%
2.048
MHz
+5%
MHz
With 1% precision
resistor, 78.7kohm.
Vdd = 3V.
At room temperature
Internal Oscillator with external
[1]
resistor
Notes:
[1]
Characterization data shows that frequency deviation is +/- 5% across temperature and voltage
ranges.
6.4.2
Inputs
ANAIN & MICIN
PARAMETER
SYMBOL
ANAIN Input Voltage
VANAIN
ANAIN Feed Back Resistance
RANA(FB)
MICIN Input Voltage
VMICIN
Notes:
[1]
[2]
MIN
TYP
[1]
MAX
UNITS
CONDITIONS
mV
Peak-to-Peak
[2]
mV
Peak-to-Peak
[2]
UNITS
CONDITIONS
10-1000
40
KΩ
100
5-500
Conditions VDD=3V, TAB=25°C unless otherwise stated
Depends on Gain Setting
AUXIN
SYMBOL
AUXIN Input Voltage
VAUXIN
1000
mV
Peak-to-Peak
Gain from AUXIN to
AUXOUT/ANAOUT
AAUXIN GAIN
0 to 9
dB
4 Gain Steps of 3db
each
AUXIN Gain Accuracy
AAUXIN (GA)
AUXIN Input Resistance
RAUXIN
Notes:
[1]
[2]
MIN
[1]
PARAMETER
TYP
-0.5
MAX
+0.5
dB
KΩ
20-40
[2]
Depending on
AUXIN Gain Setting
Conditions VDD=3V, TA=25°C unless otherwise stated.
With 0db Gain setting.
- 13 -
Publication Release Date: Dec 10, 2013
Revision 1.5
ISD3900
6.4.3 Outputs
AUXOUT
MIN
[1]
PARAMETER
SYMBOL
TYP
MAX
SINAD, AUXIN to AUXOUT
SINADAUXIN_AUXOUT
80
dB
Load 5K
[2][3]
SINAD, ANAIN to AUXOUT
SINADANAIN_AUXOUT
80
dB
Load 5K
[2][3]
PSRR
PSRRAUXOUT
-40
dB
[4]
DC Bias
VBIAS_AUXOUT
Minimum Load Impedance
RL(AUXOUT)
Maximum Load Capacitance
CL(AUXOUT)
1.2
UNITS
CONDITIONS
V
KΩ
5
0.1
nF
[1]
Notes:
Conditions VDD=3V, TA=25°C unless otherwise stated.
1 Vpp 1KHz signal applied at AUXIN/ANAIN with 0db Gain setting.
[3]
All measurements are C-message weighted.
[4]
Measured with 1KHz, 100 mVpp sine wave applied to VCCA pins.
[2]
AUDOUT
PARAMETER
SYMBOL
MIN
[1]
TYP
MAX
UNITS
CONDITIONS
SINAD, AUXIN to AUDOUT
[5]
SINADAUXIN_AUDOUT
80
dB
Load 5K
[2][3]
SINAD, ANAIN to AUDOUT
[5]
SINADANAIN_AUDOUT
80
dB
Load 5K
[2][3]
PSRRAUDOUT
-40
dB
[4]
PSRR
[5]
DC Bias
[5]
VBIAS_AUDOUT
Minimum Load Impedance
[5]
Maximum Load Capacitance
Output Current
Notes:
[6]
1.2
RL(AUDOUT)
[5]
KΩ
5
CL(AUDOUT)
IAUDOUT
0
V
3
0.1
nF
6
mA
[2][6]
[1]
Conditions Vcc=3V, TA=25°C unless otherwise stated.
1 Vpp 1KHz signal applied at AUXIN/ANAIN with 0db Gain setting.
[3]
All measurements are C-message weighted.
[4]
Measured with 1Khz, 100 mVpp sine wave applied to VCCA pins.
[5]
Configured as AUDOUT(Voltage Output).
[6]
Configured as AUDOUT(Current Output).
[2]
- 14 -
Publication Release Date: Dec 10, 2013
Revision 1.5
ISD3900
SPEAKER OUTPUTS
MIN
[1]
PARAMETER
SYMBOL
TYP
MAX
UNITS
SNR, AUXIN to SPK+/SPK-
SNRAUXIN_SPK
60
dB
Load 150Ω
[2][3]
SNR, ANAIN to SPK+/SPK-
SNRANAIN_SPK
60
dB
Load 150Ω
[2][3]
Output Power
POUT_SPK VCC=3.0
mW
Load 8Ω
[2]
THD, AUXIN to SPK+/SPK-
THD %
Load 8Ω
[2]
Minimum Load Impedance
RL(SPK)
360