¡ Semiconductor
MSM7586-01/03
17/42
DENC, EXCKC, DINC, DOUTC
Serial control ports for MCU interface.
Reading and writing data are performed by an external MCU through these pins. The 8-byte
control registers (CRC0 - 7) are provided for the CODEC unit in this device. DENC is the "Enable"
control signal input, EXCKC is the data shift clock input, DINC is the address and data input, and
DOUTC is the data output. Figure 8 shows input/output timing diagram.
Table 3: CODEC Unit Control Register (CRC0 to 7) Map
R/W: Read/Write enable R: Read-only register
High Impedance
High Impedance
(a) Write Data Timing Diagram
(b) Read Data Timing Diagram
DENC
W
EXCKC
DINC
A2
DOUTC
A1
A0
B7
B6
B5
B4
B3
B2
B1
B0
R
A2
A1
A0
B7
B6
B5
B4
B3
B2
B1
B0
DENC
EXCKC
DINC
DOUTC
,
,
Figure 8 CODEC Unit MCU Interface I/O Timing
The register map is shown below.
Register
Name
Address
A2
A1
A0
Data Description
R/W
B7
B6
B5
B4
B3
B2
B1
B0
CRC0
0
0
0
R/W
A/
m
SEL
—
PDN
ALL
—
—
—
—
PDN
SAO/AOUT
CRC1
0
0
1
R/W
MODE1
MODE0
TX
RESET
RX
RESET
TX
MUTE
RX
MUTE
—
RX
PAD
CRC2
0
1
0
R/W
TX
ON/OFF
TX
GAIN2
TX
GAIN1
TX
GAIN0
RX
ON/OFF
RX
GAIN2
RX
GAIN1
RX
GAIN0
CRC3
0
1
1
R/W
Side Tone
GAIN2
Side Tone
GAIN1
Side Tone
GAIN0
TONE
ON/OFF
TONE
GAIN3
TONE
GAIN2
TONE
GAIN1
TONE
GAIN0
CRC4
1
0
0
R/W
DTMF/
OTHERS
SEL
TONE
SEND
SAO/
VFRO
TONE4
TONE3
TONE2
TONE1
TONE0
CRC5
1
0
1
R/W
SW1
CONT
SW2
CONT
SW3
CONT
SW4/5
CONT
—
TOUT3
CONT
TOUT2
CONT
TOUT1
CONT
CRC6
1
1
0
R/W
VOX
ON/OFF
ON
LVL1
ON
LVL0
OFF
TIME
VOX
IN
RX NOISE
LEVEL SEL
RX NOISE
LVL1
RX NOISE
LVL0
CRC7
1
1
1
R
VOX
OUT
TX NOISE
LVL1
TX NOISE
LVL0
—
—
—
—
—