
SAMSUNG
Version: TM 2.4
KS9245 ATAPI Automated CD-ROM Controller
Preliminary Technical Manual
_____________________________________________________________
Do Not Copy or Release
12-6
12.7 CAV Audio Playback and Digital Audio Support
Introduction
In traditional CLV (Constant Linear Velocity) applications, the CD disc speed must constantly be
changed in order to maintain a constant linear velocity as the pickup head moves from inner track
to outer track or vice versa. As a result, CD-ROM access times are severely impacted, especially
when audio tracks must be played at single speed rates. To overcome this limitation, the KS9245
Automated ATAPI CD-ROM Controller integrates an Audio Buffer Manager and dedicated pins for
support of CAV (Constant Angular Velocity) mode playback. In this mode, the KS9245 allows
audio data to be buffered at up to 50X and played back at a constant 1X speed. Thus, CD-ROM
access times are not impacted as a result of speed changes. Additionally, since the audio data is
buffered, the KS9245 easily provides support for IEC-958 Digital Audio output at no extra cost.
This applications note describes the Audio Buffer Manager , the CAV pins and register sets along
with its Digital Audio support, and shows how to configure those pins and registers for CAV and
Digital Audio mode playback.
Audio Buffer Manager
The KS9245 integrates an Audio Buffer Manager in order to simplify firmware efforts and efficiently
control the CAV audio playback sequence. This hardware automatically keeps track of the
available audio block(s) in the buffer DRAM and monitors buffer full and empty conditions. Audio
blocks that are stored in DRAM are tracked by the
Valid Audio Block Count Register
(Reg48h).
In the event of buffer full conditions, the firmware must stop the DSP buffering operation. In the
event of buffer under-run conditions, the hardware automatically mutes the audio channels to mask
any undesired noise.
Note that buffer full is determined by firmware keeping track of available
DRAM space. Thus, firmware should stop the Audio Buffering before the DRAM actually becomes
full to account for any response delays.
CAV Pin Description
Table 1 lists the pins used for CAV mode playback. In CAV mode, these pins are dedicated
outputs from the KS9245 to the audio DAC and carry audio data that have been buffered to DRAM
by the KS9245.
Note: When not in CAV mode, these pins are General Purpose I/O pins.
Physical Pin Assignment
Description
Audio word clock output
Audio bit clock output
Audio data output
Table 1: CAV Pins
Signal
Pin
13
14
15
I/O
O
O
O
Source / Destination
KS9245 / DAC
KS9245 / DAC
KS9245 / DAC
AWCK
ABCK
ADAT
CAV Register Summary
Address
48h R/ W
4Ah R/ W
4Ch R/W
Name
VABC
DABA
DOFS
BIT 7
BIT 6
BIT 5
BIT 4
BIT 3
BIT 2
BIT 1
BIT 0
Valid Audio Block Count Register B7:B0
DAC Block Address Low Register B7:B0
AFPS
ABCKL
ADAT18
ABCK
D1
RCM
ABPS
ALSB
F
ALCH
ABCKF
4Dh R/W
4Eh R/W
DACR
ACCR
LCM
Rsvd
Rsvd
DAUE
Reserved
ACC
SPA
Rsvd
XINA Div
Table 2: KS9245 Audio Mode Register Set