Note
:
It is not recommended to change this value at runtime.
2. Program the SCLK Divider.
Note
:
It is not recommended to change this value at runtime.
3. Program the AES registers to specify the 192 bits of Channel Status value
4. Enable the core and latch the AES Channel bit.
Note
:
After asserting either
aud_mrst
or
m_axis_aresetn
, the core has to disabled and enabled again.
Interrupts
Each core has one interrupt output. The Interrupt output is level triggered and stays asserted
until the interrupt status bits are cleared.
Audio AXIS Interface
An AXI4-Stream audio cycle is illustrated in the following figure. The data is valid when both the
valid (TVLD) and ready (TRDY) signals are asserted. The I2S Receiver sends out adjacent channels
in sequential order (CH0, CH1, etc). Usually, the I2S Transmitter also expects the channels in
sequential order. If the channel data is not in order, then the I2S Transmitter would assert
underflow or block sync error.
Figure 4:
Audio AXIS Interface
CLK
TDATA[31:0]
TVALID
TREADY
TID[4:0]
Pre-emble = TData[3:0]
Channel Status = TData[30]
D
0
D
1
D
2
D
3
D
N
D
0
D
1
D
2
D
3
D
N
0
1
2
3
n
0
1
2
3
n
X
Y
X
Y
Y
Z
Y
Z
Y
Y
C[190]
C[191]
C[191]
C[0]
C[0]
Frame 191 (End of Block)
Frame 0 (Start of Block)
You must ensure proper pre-emble and TIDs while sending more than two channels of Audio
data over AXIS. The data width over the AXI4-Stream interface is fixed at 32-bits. All bit
positions are as per the IEC60958-3 standard except for the preamble bit format. The preamble
provides the start of the audio block and audio channel information. The preamble patterns for
the start of block, channelA audio data, and channelB audio data are listed as follows:
Chapter 4: Designing with the Core
PG308 (v1.0) April 4, 2018
www.xilinx.com
[placeholder text]
I2S Transmitter and I2S Receiver
25
Send Feedback