USB Audio Design Guide
The master clock source is controlled by a mux which, in turn, is controlled by bit
1 of
PORT 4D
:
Value
Source
0
Master clock is sourced from PhaseLink PLL
1
Master clock is source from Cirrus Clock Multiplier
Figure 38:
Master Clock
Source
Selection
The current version of the supplied application only supports the use of the fixed
master-clocks from the PhaseLink part.
The clock-select from the phaselink part is controlled via bit 2 of
PORT 4E
:
Value
Frequency
0
24.576MHz
1
22.579MHz
Figure 39:
Master Clock
Frequency
Select
6.5.2
DAC and ADC Configuration
The board is equipped with a single multi-channel audio DAC (Cirrus Logic CS4384)
and a single multi-channel ADC (Cirrus Logic CS5368) giving 8 channels of analogue
output and 8 channels of analogue input.
Configuration of both the DAC and ADC takes place using I2C. The design uses
the I2C component sc_i2c
29
.
The reset lines of the DAC and ADC are connected to bits 0 and 1 of
PORT 4E
respectively.
6.5.3
AudioHwInit()
The
function is implemented to perform the following:
·
Initialise the I2C master software module
·
Puts the audio hardware into reset
·
Enables the power to the audio hardware
·
Select the PhaseLink PLL as the audio master clock source.
6.5.4
AudioHwConfig()
The
function is called on every sample frequency change.
http://www.github.com/xcore/sc_i2c
XM0088546.1
Summary of Contents for xCORE-200 Multi-channel Audio board
Page 6: ...1 Overview XM0088546 1...