MOTOROLA
MSC8101ADS RevB User’s Manual
51
Functional Description
ethernet transceiver may be Disabled / Enabled at any time via the MII’s MDIO port.
The LXT970 is able to interrupt the MSC8101, this via IRQ7~ line. This line is shared also with the
CPM expansion connectors. Therefore, any tool that is connect to IRQ7 or IRQ6~ for that matter,
should drive these lines only with an Open Drain buffer.
5•8•3
Audio CODEC
The CS4221 is a highly integrated, high performance, 24-bit, audio CODEC providing stereo ADC
and stereo DAC converters using delta-sigma conversion techniques.The device operates from a
5V power supply and provides digital interface 3.3V.
Control for the functions available on the CODEC device over SPI port of the MSC8101.
External crystal must be equal 11.289MHz for master mode with sample rate frequency Fs equal
to 44.1kHz.
The chip controlled by CODEC_EN bit in BCSR1/1. To enable CODEC device operation the
CODEC_EN bit should be set to zero (default setting).
FIGURE 5-4 MSC8101 to CODEC connection.
5•8•3•1 CS4221 Programming
After power-up the CODEC device needs to be initialized over SPI port of the CPM. The pulldown
resistor on SDOUT pin causes the part operates in Clock Master Mode. To communicate with the
CS4221 the chip address field must be ‘001000’. The control register contains eight bytes which
are selected by memory address pointer of three LSB. The programming values are shown in
TABLE 5-7. "CS4221 Programming" below
:
TABLE 5-7. CS4221 Programming
Byte
Num.
Function
Value
Meaning:
1
ADC Control
‘0’
Default. Normal mode. High Pass Filter active
2
DAC Control
‘0/60’
Default/Both channels are muted
3,4
OUT Attenuator
Data
‘00’
Default. No attention.
5
DSP Mode
‘0F’
44.1 kHz de-emphasis setting, I/O serial data format is
right justified 20 bit
MSC8101
CS4221
SCLK
LRCK
SDIN
SDOUT
XTI XTO
11.289MHz
AINR+/-
* Master Mode select
AONL+/-
BCSR1/1
CPM
TDMA1
L1RXD
L1TXD
CLK2
L1TSYNC
CLK1
L1RSYNC
To Exp. Connector
6
AONR+/-
SPI pins
MIC
Input
To stereo
Amp.
P.D.*
RST
AINL+/-
Line
Input
HRESET
To SPI port
CPM
2
CODECENb
on MCC1
U22
F
re
e
sc
a
le
S
e
m
ic
o
n
d
u
c
to
r,
I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
n
c
.
..