Serial audio interface (SAI)
RM0090
932/1731
DocID018909 Rev 11
29.11
AC’97 link controller
The SAI is able to work as an AC’97 link controller. In this protocol:
•
The slot number and the slot size are fixed.
•
The frame synchronization signal is perfectly defined and has a fixed shape.
To select this protocol, set bit PRTCFG[1:0] in the SAI_xCR1 register to 10. When AC’97
mode is selected the data sizes that can be used are 16-bit or 20-bit only, else SAI behavior
is not guaranteed.
•
Bits NBSLOT[3:0] and SLOTSZ[1:0] are consequently ignored.
•
The number of slots is fixed at 13 slots. The first one is 16 bits wide and all the others
are 20 bits wide (data slots).
•
Bit FBOFF[5:0] in the SAI_xSLOTR register is ignored
•
The SAI_xFRCR register is ignored.
The FS signal from the block defined as asynchronous is configured automatically as an
output, since the AC’97 controller link drives the FS signal whatever the master or slave
configuration.
presents an AC’97 audio frame structure.
Figure 290. AC’97 audio frame
Note:
In AC’97 protocol, bit 2 of the tag is reserved (always 0), so whatever the value written in the
SAI FIFO, bit 2 of the TAG is forced to 0 level.
For more details about TAG representation, please refer to the AC’97 protocol standard.
One SAI can be used to target an AC’97 point-to-point communication.
In receiver mode, the SAI acting as an AC’97 link controller will require no FIFO request and
so no data storage in the FIFO when the codec ready bit in the slot 0 is decoded low. If bit
CNRDYIE is enabled in the SAI_xIM register, flag CNRDY will be set in the SAI_xSR
register and an interrupt is generated. This flag is dedicated to the AC’97 protocol.
069
)6
6',
6'2
7DJ
&0'
$''5
&0'
'$7$
/,1(
'$&
3&0
/)5217
3&0
5)5217
3&0
&(17(5
3&0
/6855
3&0
56855
3&0
/)(
/,1(
'$&
+6(7
'$&
,2
&75/
7DJ
67$786
$''5
67$786
'$7$
/,1(
$'&
3&0
/()7
3&0
5,*+7
3&0
0,&
565
9'
565
/9'
/,1(
$'&
+6(7
,2
67$786
565
9'