XMOS xCORE-200 Multi-channel Audio board Design Manual page 110

Usb audio
Hide thumbs Also See for xCORE-200 Multi-channel Audio board:
Table of Contents

Advertisement

USB Audio Design Guide
Function
adatReceiver48000
Description
ADAT Receive Thread (48kHz sample rate).
When a data rame is received, samples will be output onto the streaming
channel At first a word 0x000000Z1 will be output, where Z are the user data;
after that eight words 0x0ZZZZZZ0 will be output where ZZZZZZ is a 24-bit
sample value. The eight words may refer to sample values on eight channels,
or on fewer channels if muxing is used.
The function will return if it cannot lock onto a 48,000 Hz signal. Normally the
48000 function is called in a while(1) loop. If both 44,100 and 48,000 need to
be supported, they should be called in sequence in a while(1) loop. Note that
the functions are large, and that 44,100 should not be called if 44.1 KHz does
not need to be supported.
Type
void
adatReceiver48000(buffered in port:32 p, chanend oChan)
Parameters
p
oChan
Function
adatReceiver44100
ADAT Receive Thread (44.1kHz sample rate).
Description
When a data rame is received, samples will be output onto the streaming
channel At first a word 0x000000Z1 will be output, where Z are the user data;
after that eight words 0x0ZZZZZZ0 will be output where ZZZZZZ is a 24-bit
sample value. The eight words may refer to sample values on eight channels,
or on fewer channels if muxing is used.
The function will return if it cannot lock onto a 44,100 Hz signal. Normally the
44,100 function is called in a while(1) loop. If both 44,100 and 48,000 need to
be supported, they should be called in sequence in a while(1) loop. Note that
the functions are large, and that 48,000 should not be called if 48 Khz does
not need to be supported.
Type
void
adatReceiver44100(buffered in port:32 p, chanend oChan)
Parameters
p
oChan
XM0088546.1
ADAT port - should be 1-bit and clocked at 100MHz
channel on which decoded samples are output
ADAT port - should be 1-bit and clocked at 100MHz
channel on which decoded samples are output
110/110

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents