CS5535-UDCF AMD (ADVANCED MICRO DEVICES), CS5535-UDCF Datasheet - Page 96

no-image

CS5535-UDCF

Manufacturer Part Number
CS5535-UDCF
Description
Manufacturer
AMD (ADVANCED MICRO DEVICES)
Datasheet

Specifications of CS5535-UDCF

Operating Temperature (min)
0C
Operating Temperature (max)
85C
Operating Temperature Classification
Commercial
Mounting
Surface Mount
Lead Free Status / RoHS Status
Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
CS5535-UDCF
Manufacturer:
AMD
Quantity:
20 000
5.3.7.3
Table 5-7 shows an example of the how PCM audio data is
stored in memory (byte order and channel order). Each row
represents a byte in memory, with increasing addresses as
you go down. The byte order can be configured via the Bus
Master Command Register for Intel (little endian) or Motor-
ola (big endian) byte ordering. Changing the byte order
ONLY affects how PCM data is interpreted. PRD entries
and register contents are always little endian. The two
channel format applies to the 32-bit bus masters handling
left and right input and output. The single channel format
applies to the 16-bit bus masters. The 32-bit bus masters
always operate on stereo data, and the 16-bit bus masters
always operate on mono data. Since there is no special
mode for playing monaural sound through the main chan-
nels (left and right), it is the responsibility of the software to
create stereo PCM data with identical samples for the left
and right channels to effectively output monaural sound.
96
Sample
0
0
0
0
1
1
1
1
PCM Data Format and Byte Order
Little Endian
2 Channel,
Channel
Address_3
Right
Right
Right
Right
Left
Left
Left
Left
EOT = 0
EOP = 1
JMP = 0
EOT = 0
EOP = 1
JMP = 0
EOT = 0
EOP = 0
JMP = 1
31506B
Table 5-7. PCM Data format (Byte and Channel Ordering)
Byte
High
High
High
High
Low
Low
Low
Low
Address_1
Address_2
Address_3
Sample
Figure 5-7. ACC PRD Table Example
Little Endian
0
2
0
1
1
2
3
3
1 Channel,
Don’t Care
Size_1
Size_2
Byte
High
High
High
High
Low
Low
Low
Low
Sample
5.3.7.4
Audio Playback/Record
The following discussion explains, in steps, how to initiate
and maintain a bus master transfer between memory and
an audio slave device. In the steps, the reference to Exam-
ple refers to Figure 5-7:
1)
PRD_1
PRD_2
PRD_3
0
1
0
0
0
1
1
1
Software creates a PRD table in system memory. The
last PRD entry in a PRD table must have the EOT or
JMP bit set.
Example - Assume the data is outbound. There are
three PRDs in the example PRD table. The first two
PRDs (PRD_1, PRD_2) have only the EOP bit set.
The last PRD (PRD_3) has only the JMP bit set. This
example creates a PRD loop.
AMD Geode™ CS5535 Companion Device Data Book
Programming Model
Big Endian
2 Channel,
Channel
Address_1
Address_2
Right
Right
Right
Right
Left
Left
Left
Left
Buffer_1
Buffer_2
Audio
Audio
Byte
High
High
High
High
Low
Low
Low
Low
AC97 Audio Codec Controller
Sample
Size_1
Size_2
0
0
1
1
2
2
3
3
Big Endian
1 Channel,
Byte
High
High
High
High
Low
Low
Low
Low

Related parts for CS5535-UDCF