AGND1-AGND4 : Analog Ground
AVDD1, AVDD2: Analog Power Supply
DCLK: DAI (Digital Audio Interface) Clock Output
DGND: Digital Ground
DI: DAI Serial Input
DO: DAI Serial Output
DRSTB: DAI Reset
DSPSEL: Digital Signal Processor Select
DD: Digital Power Supply
DV
FSYNC: Frame Synchronization Signal Input
IC: Internally Connected
MCLK: Microcontroller Synchronous Clock
MDAT: Microcontroller Serial Data
MICI+: Microphone Amplifier Input Non-Inverted
MICI–: Microphone Amplifier Input Inverted
MICO: Microphone Amplifier Output
MIXI: Mixer Input
MSTR: Microcontroller Strobe
RACOMI: Receive Common Reference Voltage Input
RACOMO: Receive Common Reference Voltage Output
RAUXO: Receive Auxiliary Amplifier Output
REC1O: Receive Amplifier 1 Output
REC2I–: Receive Amplifier 2 Input Inverted
REC2O+: Receive Amplifier 2 Output Non-Inverted
REC2O–: Receive Amplifier 2 Output Inverted
REQB: Request
RESETB: Reset
RINGER: Ringer
SCLK: Serial Data Synchronous Clock Output
SEN: Serial Data Output Enable
SI: Serial Data Input
SO: Serial Data Output
TC1, TC2: DAI Mode Control
TEST: Test
TIMER: Timer
XACOMI: Transmit Common Reference Voltage Input
XACOMO: Transmit Common Reference Voltage Output
XAUXI–: Transmit Auxiliary Amplifier Input Inverted
XAUXO: Transmit Auxiliary Amplifier Output
Connect sidetone gain adjust resistor.
34REC1OOutputReceiver amplifier 1 output
35RAUXOOutputAccessory output amplifier output
36AVDD1—Analog power. Connect to an analog power supply line near µPD9930 pins.
37AVDD2—
38DVDD—Digital power. Connect to a digital power supply line near µPD9930 pins.
39SENOutputDSP interface enable signal output
40SIInputDSP interface serial input
41SOOutputDSP interface serial output
42SCLKOutputDSP interface clock output (256 kHz)
43TESTInputSet at high level
44MSTRInputMicrocontroller interface strobe signal input
PD9930
Caution Short-circuit the XACOMI and XACOMO pins at a location as close to the pins of the µPD9930 as
possible. Connect a capacitor (chip capacitor or electrolytic capacitor) between this short-circuited
portion and analog ground.
The same applies to the RACOMI and RACOMO pins.
The transmission/reception level is determined by these reference pins. Therefore, make sure that
these pins are not affected by noise or fluctuation of ground potential due to current.
7
1.2 PIN EQUIVALENT CIRCUIT
AV
DD
µ
PD9930
Type 2Type 1
AV
DD
Analog input
To internal circuit
AGND
Pin Name MICI+, MICI–, XAUXI–, REC2I–
AV
Type 3
DD
Analog output
From internal circuit
AGND
Pin Name MICO, XAUXO, XACOMO, RACOMO,
REC2O+, REC2O–, REC1O, RAUXO
DV
Type 5
DD
Mask input
CMOS input
To internal
circuit
Analog input
AGND
Pin Name MIXI, XACOMI, RACOMI
DV
Type 4
DD
CMOS input
DGND
Pin Name MDAT, MCLK, DSPSEL, REQB,
RESETB, FSYNC, TEST, MSTR
Note
Type 6
DV
DD
CMOS input
To internal circuit
To internal
circuit
To internal
circuit
Pin Name SI
Note
Type 7
DV
DD
CMOS input
Pin Name DRSTB, DI
Type 9
CMOS output
Pin Name DO, DCLK
DV
DD
P
N
DGND
DGND
DD
DV
DGND
To internal
circuit
Enable signal
From internal
circuit
DGND
Pin Name TC1, TC2
Type 8
DV
DD
P
CMOS output
N
DGND
Pin Name TIMER, RINGER, SEN, SO, SCLK
From internal
circuit
Note In normal mode, set the output of drive IC side to high impedance for reducing power consumption.
8
2. BLOCK FUNCTIONS
2.1 CODEC
2.1.1 Audio Codec
Audio analog signal and linear code conversion.
• Input/output format: 16 bits (2's complement)
• Accuracy: 13 bits
2.1.2 Audio Analog Input
Includes microphone input and accessory input.
(1) Microphone amplifier
Amplifiers differential input signals from the microphone to the required gain.
(2) Accessory input amplifier
Amplifiers the accessory input signal to the required gain.
µ
PD9930
(3) Pre-filter + mixer
Selects the output signal of microphone amplifier and accessory input amplifier, and inputs these to A/D converter
after controlled gain.
Table 2-1 Analog Input Function
Amplifier
Function
Gain setting methodExternal resistorExternal resistorMicrocontroller
Gain setting range15 to 33 dB0 to 10 dB0 or –3 dB
20 log (dB)20 log (dB)
Minimum resistive load50 kΩ300 kΩ—
(Including gain setting resistance)(Including gain setting resistance)
Maximum capacitive load 20 pF20 pF—
Maximum output level0.6 V0-p0.6 V0-p—
This is differential output amplifier that can directly drive a piezo-electric receiver (when using a dynamic receiver,
an additional external amplifier is necessary). The sidetone is added in this circuit.
(3) Post filter 1 (accessory output amplifier)
This circuit converts D/A differential output signal to single output signal. Connected to the earphone of the head
set (capacitance load), etc.
Table 2-2 Analog Output Functions
Amplifier
Function
Gain setting methodMicrocontroller commandExternal resistor—
Gain setting range0 to –31 dB (1 dB steps)Voice receive signal gain:—
Note Conversion result (single output → differential output)
Figure 2-2 Analog Output Block
Post filter 1
(accessory output
amplifier)
0 dB fix
Post filter 2
(receive amplifier 1)
0 to –31 dB
(1 dB steps)
Receiver drive amplifier
(receiver amplifier 2)
–
+
to V
ref
Sidetone signal
R1
R2
R3
RAUXO
REC1O
REC2I–
REC2O–
10
REC2O+
–
+
to V
ref
µ
PD9930
2.1.4 Audio Digital Accessory Output
(1) Ringer output (RINGER pin)
• Outputs rectangular waves of the same signal frequency as tone signal frequency.
• The output is controlled by turning off power to the output buffer with a control register.
Figure 2-3 RINGER Output
RAUXO
(Tone output)
RINGER
The RINGER signal tends to bounce when the tone output (RAUXO) signal crosses its zero level, and this
tendency increases as the tone output gain decreases (lower than 0 dB).
When using RINGER pin, tune the tone output gain by TNGCR (Tone gain control register) to 0 dB.
(2) Timer (tone interval) output (TIMER pin)
Outputs rectangular waves of the same pattern as the tone signal interrupt pattern. This is used to make the
LED blink in synchronization with the ringer tone.
Figure 2-4 Digital Accessory Output Waveform
REC10
RAUXO
(Tone output)
RINGER
TIMER
2.1.5 Audio Digital Signal Processor
Send signal digital BPF processing, receive signal digital LPF processing, transmission level (digital gain)
control, and tone generation processing.
(1) Voice send signal digital gain fine adjustment function
Performs gain fine adjustment for voice send signal by digital coefficient multiplication. Together with prefilter
gain adjustment, fine adjustment is possible at a width of 5.8 dB.
(2) Voice receive signal digital gain fine adjustment function
Performs fine adjustment of gain for voice receive signal by digital coefficient multiplication.
(3) Tone generation function
Generates single-tone and dual-tone audible signals. Tone frequency, interrupt pattern, gain, generation/stop
can be controlled by microcontroller command. GSM triple tone can be generated by special command.
11
Table 2-3 Digital Gain Control Functions
µ
PD9930
Voice Send Signal Gain Control
Gain setting methodMicrocontroller commandMicrocontroller commandMicrocontroller command
Gain setting range0 to –2.8 dB (0.4 dB steps)0 to –2.4 dB (0.8 dB steps)0 to –30 dB (1 dB steps), –38.5 dB
2.1.6 Power Up/Down Control
The µPD9930 includes a power down function for reducing power consumption. Power down control is by
the two methods described below.
(1) Input/output amplifier power up/down control
Power up/down for both the input and output amplifiers can be controlled.
When the power down function is used for all input amplifiers, both pre-filter and A/D enter the power down state.
When the power down function is used for the accessory output amplifier and the receiver 1 amplifier, the D/A
also enters power down state.
(2) Stand-by mode
Low power consumption can be realized in the mode in which all chip operation is stopped. The stand-by mode
is set by power down command. Operation restarts by power up command.
The following control registers are used to enable the control described above.
Control MethodRegisters Used
Power up/down control of input/output amplifierInput/output amplifier control register (AMPCR)
(not including receiver amplifier 2)
Power up/down control of receiver amplifier 2Send analog gain/receiver amplifier 2 control register (TXGCR)
Set/clear of standby modePower up control command (PUPCMD)
Voice Receive Signal Gain Control
Power down control command (PDWCMD)
Tone Gain Control
An outline diagram of power down control is shown in Figure 2-5.
12
Figure 2-5 Power Down Control
µ
PD9930
Register address
000MICPDB
XAUXPDB REC1PDB RAUXPDB RINGPDB
Register address
000110
AMPCR
TXGCR
REC2PDB
TXAG
Power up command
011110——
Power down command
011100——
Note M: HEX value with MSB first L: HEX value with LSB first
Stand-by
Pre-filter
+ mixer
When all input amplifiers are
in the power down state,
these also enter power
down state.
A/D
to XACOMI
Microphone input
–
+
"1" = Power ON
Accessory input
–
+
"1" = Power ON
ref
to V
MICPDB
XAUXPDB
ML
78H1EH
ML
70H0EH
PLL
Stand-by
Digital signal
processor
HEX
HEX
Note
Note
Accessory output
–
+
"1" = Power ON
Receiver 1
–
+
"1" = Power ON
Receiver 2
Ringer output
–
+
–
+
"1" = Ringer output
to V
to V
RAUXPDB
REC1PDB
ref
ref
RINGPDB
Stand-by
D/A
Stand-by
When both accessory output
and receiver 1 amplifiers are
in the power down state, these
also enter power down state.
Stand-by
"1" = Power ON
REC2PDB
Stand-by
Caution MICPDB and XAUXPDB cannot enter the power up state at the same time (MICPDB = XAUXPDB =
"1").
13
µ
PD9930
(3) Input/output amplifier control register (AMPCR)
This is a 5-bit register for power up/down control of each input/output amplifier (not including receiver amplifier
2), and for ringer output ON/OFF control.
Remark For information on power up/down control of receiver amplifier 2, refer to 4.1.1 Voice Send Analog Gain/
Receiver Amplifier 2 Control Register (TXGCR).
Figure 2-6 Input/Output Amplifier Control Register
Register addressAMPCR
D7D6D5D4D3D2D1D0
000MICPDB
XAUXPDB REC1PDB RAUXPDB RINGPDB
MICPDB
0
1Power up
XAUXPDB
0
1Power up
REC1PDB
0
1Power up
RAUXPDB
0
1Power up
Microphone amplifier power control
Power down
Accessory input amplifier power control
Power down
Receiver amplifier 1 power control
Power down
Accessory output amplifier power control
Power down
RINGPDB
Ringer output control
Sets output at low level.
0
1Output enable
Remarks 1. In the stand-by mode, all amplifiers enter the power down state regardless of input/output control register
settings. However, register contents are held unless reset or written, so when the stand-by mode is
cleared by power up command, the command prior to the stand-by mode is resumed.
2. The microphone and accessory amplifiers cannot enter the power up (D4 = D3 = "1") state at the same
time.
14
Table 2-4 Function Specification by Input/Output Amplifier Control Register
The stand-by mode is set and cleared by the following two special commands. When resetting, the stand-by
mode is set.
Figure 2-7 Power Down Command (Sets to stand-by mode)
D7D6D5D4D3D2D1D0
PDWCMD
011100XX
Remark X: Don't Care
Figure 2-8 Power Up Command (Clears stand-by mode)
D7D6D5D4D3D2D1D0
PUPCMD
011110XX
Remark X: Don't Care
Power up/down timing
Power down commandPower up command
FSYNC
COUNT238239102324024100
ANAPWD
CLKPWD
DSPPWD
Remarks COUNT: Internal counter (counts with an 8-kHz internal clock)
ANAPWD: Analog power down (power down when high)
CLKPWD: Clock power down (power down when high)
DSPPWD: Signal processing power down (power down when high)
16
(5) Power up/down sequence
(a) Power down sequence
(b) Power up sequence
Power down command execution
Digital signal processing (filter operation,
tone generation operation) operation stop
Clock (internal clock, serial clock) power down
Analog (PLL, all amplifiers) power down
µ
PD9930
Power up command execution
Analog and PLL operation start
PLL clock stabilization
Clock operation start
Digital signal operation start
Remarks 1. The DSP interface serial input/output operation does not stop or start when switching to power up/down.
2. Rising time from standby mode to normal operation mode is about 30.5 ms after execution of the power
up command.
3. FSYNC can be stopped at power down. However, input of the FSYNC clock is necessary during
operation and in the above sequence.
17
µ
PD9930
2.1.7 Microcontroller Interface
The µPD9930 can control internal functions by microcontroller command. A clock synchronous serial I/O is
incorporated to receive command.
A clocked serial interface is provided to receive microcontroller commands. A microcontroller connection
example is shown in Figure 2-9. 8-bit length data is received by the serial clock (MCLK), serial input (MDAT),
Note
and strobe input (MSTR) lines
.
The timing chart is shown in Figure 2-10. By reading data to the internal shift register and setting MSTR
to high level at the MCLK rising point, it is latched to the internal control register. Data transfer must be made
with LSB first.
Note When 8 bits or more (9 MCLK clocks or more) data is input, the last 8-bit which is input immediately before
the active edge of MSTR is recognized as a control command.
Figure 2-9 Example of Connection with Microcontroller
A clock synchronous serial I/O is built-in to exchange voice send/receive coding data with an external DSP.
16-bit data is transferred at 8 kHz by the serial clock (SCLK = 256 kHz), serial input (SI), serial output (SO),
and enable output (SEN) lines. The REQB is a terminal for allowing/inhibiting data transmission. There are
two modes for data input and output timing, and either can be selected by the DSPSEL terminal. Select the
mode matching the DSP serial interface input/output timing. Data format is as follows: Both SO output and SI
input are in 2's complement format with MSB first.
Remark When a full code is input to the SI pin, the accessory output is 1.2 V
Table 2-5 DSP Input/Output Timing Mode Selection
Pin input
DSPSEL
HMODE1
LMODE2
Mode
Table 2-6 Allowing Data Transmission
REQB pin InputData Transmission
LData transmission is allowed. Enable signal (SEN) is output at rising edge of FSYNC (8 kHz), and
data input/output is started.
HEnable signal is not output and data are not input or output.
p-p.
19
Figure 2-12 Example of Connection with DSP (Mode 1)
µ
DSP
PD9930
µ
PD9930
Serial I/O
SCK
enable
SI
SO
PORT
V
DD
Note When using with mode 2, connect DSPSEL to GND.
DSP I/F
SCLK
SEN
SO
SI
REQB
DSPSEL
Note
FSYNC
8 kHz
20
REQB
FSYNC
(8 kHz)
SEN
SCLK
(256 kHz)
SO
SI
125 s
D15 D14D2D1D0D15 D14
D15 D14D2D1D0D15 D14D13
D13
µ
D13
D12
don't caredon't care
Figure 2-13 DSP Interface Timing Chart
µ
PD9930
REQB
FSYNC
(8 kHz)
SEN
SCLK
(256 kHz)
SO
SI
don't care
(a) Mode 1 (DSPSEL = V
125 s
µ
D15 D14D2D1D0D15 D14
D15 D14D2D1D0D15 D14
DD)
don't care
D13
D13
(b) Mode 2 (DSPSEL = GND)
21
µ
PD9930
2.1.9 DAI (Digital Audio Interface)
Has a on-chip circuit enabling DAI functions specified in GSM11.10. The receive system has a on-chip LPF
only. If a BPF is necessary, it should be mounted externally. System configuration at the time of DAI test mode
is shown in Figure 2-15. The DAI terminal is connected to the system simulator via the pin 25 DSUB socket.
The test mode can be selected by terminals TC1 or TC2, or by microcontroller command. DAI mode should be
set after completing power-up operation (30.5 ms after executing power-up command).
When changing the modes from DAI to normal, either of the following operations should be executed.
• After specifying normal mode, input the DAI reset signal (DRSTB = low).
• Input reset signal (RESETB = low).
When specifying by command, test control register mode specification bits (ITC1, ITC2) are used (Refer to
4.4.1 Test Control Register (TSTCR).).
Timing for each mode is shown in Figures 2-16 through 2-20.
For operation at the time of each mode, refer to Figure 4-13 Test Mode Operation.
Table 2-7 DAI Test Mode Specification
TC2TC1Test modeFunction
(ITC2) (ITC1)specification
00Normal operation
01Speech encoderOutputs data input from DI pin to DSP (speech encoder) from SO pin.
test modeInput is started at rising edge of first FSYNC (8-kHz external clock input) after
10Speech decoderOutputs speech decoder output data input from SI pin from DO pin.
test modeInputting data from DSP is started at rising edge of first FSYNC (8-kHz external
11Acoustic device, A/D, Outputs audio data converted into digital signal from DO pin.
D/A test modeAlso inputs audio data input from DI pin to D/A converter. Inputting/outputting data
Note
Normal operation.
This mode is set at system reset (when RESETB = low) regardless of status of TC1
and TC2.
execution of mode specification, and outputting data to DSP is started at next rising
edge of FSYNC.
clock input) after execution of mode specification, and data is output from DO pin at
next rising edge of FSYNC.
is started at rising edge of first FSYNC (8-kHz external clock input) after execution
of mode specification. At this time, clock output to DSP (SCLK) is stopped.
Note In the normal mode, do not set DRSTB to low level (during low period, serial interface with DSP is disabled).
As well, set the output pins of driver IC to high-impedance state, because DRSTB input pin is connected with
a pull-up resistor.
Remark Analog loop back mode and DAI test mode cannot be specified at the same time.
DAI test mode is set with TC1, TC2 (or ITC1, ITC2) and DRSTB pins. DAI test mode is entered at the rising
edge of the DRSTB signal when both TC1 and TC2 pins (or ITC1 and ITC2 pins) are set as shown in Figure
2-14.
22
Figure 2-14 Latch Timing of TC1, TC2 (or ITC1, ITC2)
TC1 (ITC1)
TC2 (ITC2)
DRSTB
Figure 2-15 Example of System Configuration at Time of DAI Test Mode
Mobile equipment
PD9930
µ
µ
PD9930
8 kHz
Test command
Microcontroller
DSP
(SP-CODEC)
DAI
25-Pin DSUB socketSystem simulator
DAI
DCLK
DO
DI
TC1
TC2
DRSTB
FSYNC
MCLK
MSTR
MDAT
SCLK
SEN
SO
SI
REQB
Remark In the acoustic device test mode, REQB is ignored (both high and low levels). When DSPSEL = VDD (mode
1), SCLK and SEN are fixed to low, and when DSPSEL = GND (mode 2), fixed to high.