DocID018909 Rev 11
927/1731
RM0090
Serial audio interface (SAI)
957
Each slot can be defined as a valid slot, or not, by setting bit SLOTEN[15:0] in the
SAI_xSLOTR register. In an audio frame, during the transfer of a non-valid slot, 0 value will
be forced on the data line or the SD data line will be released to HI-z (refer to
) if the audio block is transmitter, or the received value from the end of this
slot will be ignored. Consequently, there will be no FIFO access and so no request to read
or write the FIFO linked to this inactive slot status.
The slot size is also configurable as shown in the
The size of the slots is
selected by setting bit SLOTSZ[1:0] in the SAI_xSLOTR register. The size is applied
identically for each slot in an audio frame.
Figure 287. Slot size configuration with FBOFF = 0 in SAI_xSLOTR
It is possible to choose the position of the first data bit to transfer within the slots, this offset
is configured by bit FBOFF[5:0] in the SAI_xSLOTR register. 0 values will be injected in
transmitter mode from the beginning of the slot until this offset position is reached. In
reception, the bit in the offset phase is ignored. This feature targets the LSB justified
protocol (if the offset is equal to the slot size minus the data size).
Figure 288. First bit offset
069
;;
;;;;
;GRQ¶WFDUH
$XGLREORFNLVWUDQVPLWWHU
6ORWVL]H GDWDVL]H
GDWDVL]H
GDWDVL]H
GDWDVL]H
GDWDVL]H
VORW[
VORW[
VORW[
ELW
ELW
$XGLREORFNLVUHFHLYHU
6ORWVL]H GDWDVL]H
GDWDVL]H
GDWDVL]H
GDWDVL]H
VORW[
VORW[
VORW[
ELW
ELW
GDWDVL]H
069
;;;;
;GRQ¶WFDUH
$XGLREORFNLVWUDQVPLWWHU
6ORWVL]H GDWDVL]H
GDWDVL]H
GDWDVL]H
GDWDVL]H
GDWDVL]H
VORW[
VORW[
VORW[
ELW
ELW
$XGLREORFNLVUHFHLYHU
)%2))
)%2)) 6/276='6
;;
6ORWVL]H GDWDVL]H
GDWDVL]H
GDWDVL]H
GDWDVL]H
GDWDVL]H
VORW[
VORW[
VORW[
ELW
ELW
;;
)%2))
)%2)) 6/276='6