wm9703 ETC-unknow, wm9703 Datasheet - Page 17

no-image

wm9703

Manufacturer Part Number
wm9703
Description
Manufacturer
ETC-unknow
Datasheet
Production Data
WOLFSON MICROELECTRONICS LTD
Figure 14 Start of an Audio Output Frame
A new audio output frame begins with a low to high transition of SYNC as shown in Figure 14. SYNC
is synchronous to the rising edge of BIT_CLK. On the immediately following falling edge of BIT_CLK,
the WM9703 samples the assertion of SYNC. This falling edge marks the time when both sides of
AC-link are aware of the start of a new audio frame. On the next rising edge of BIT_CLK, AC’97
transitions SDATA_OUT into the first bit position of slot 0 (Valid Frame bit). Each new bit position is
presented to AC-link on a rising edge of BIT_CLK, and subsequently sampled by the WM9703 on the
following falling edge of BIT_CLK. This sequence ensures that data transitions and subsequent
sample points for both incoming and outgoing data streams are time aligned.
Baseline AC’97 specified audio functionality MUST ALWAYS sample rate convert to and from a fixed
48ks/s on the AC’97 controller.
This requirement is necessary to ensure that interoperability between the AC’97 controller and the
WM9703, among other things, can be guaranteed by definition for baseline specified AC’97 features.
SDATA_OUT’s composite stream is MSB justified (MSB first) with all non-valid slot bit positions
stuffed with 0s by the AC’97 controller.
In the event that there are less than 20 valid bits within an assigned and valid time slot, the AC’97
controller always stuffs all trailing non-valid bit positions of the 20-bit slot with 0s.
As an example, consider an 8-bit sample stream that is being played out to one of the WM9703’s
DACs. The first 8 bit positions are presented to the DAC (MSB justified) followed by the next 12 bit
positions, which are stuffed with 0s by the AC’97 controller. This ensures that regardless of the
resolution of the implemented DAC (16, 18 or 20-bit), no DC biasing will be introduced by the least
significant bits.
When mono audio sample streams are output from the AC’97 controller, it is necessary that BOTH
left and right sample stream time slots be filled with the same data.
SLOT 1: COMMAND ADDRESS PORT
The command port is used to control features, and monitor status for the WM9703 functions
including, but not limited to, mixer settings, and power management (refer to the register section).
The control interface architecture supports up to 64, 16-bit read/write registers, addressable on even
byte boundaries. Only the even registers (00h, 02h, etc.) are valid, odd register (01h, 03h, etc.)
accesses are discouraged (if supported they should default to the preceding even byte boundary -
i.e. a read to 01h will return the 16-bit contents of 00h). The WM9703’s control register file is
nonetheless readable as well as writeable to provide more robust testability.
Audio output frame slot 1 communicates control register address, and read/write command
information to the WM9703.
COMMAND ADDRESS PORT BIT ASSIGNMENTS
The first bit (MSB) sampled by the WM9703 indicates whether the current control transaction is a
read or write operation. The following 7 bit positions communicate the targeted control register
address. The trailing 12 bit positions within the slot are reserved and must be stuffed with 0s by the
AC’97 controller.
Bit (19)
Bit (18:12)
Bit (11:0)
SDATA_OUT
BIT_CLK
SYNC
END OF PREVIOUS AUDIO FRAME
WM9703 SAMPLES
SYNC ASSERTION HERE
WM9703 SAMPLES
FIRST SDATA_OUT
BIT OF FRAME HERE
FRAME
VALID
Read/write command (1 = read, 0 = write)
Control register index (64 16-bit locations, addressed on even
byte boundaries)
Reserved (stuffed with 0s)
SLOT (1)
SLOT (2)
PD Rev 3.4 January 2001
WM9703
17

Related parts for wm9703