6.3.6.4 I2S Reception and Transmission Sequence

As specified in the I2S protocol, data bits are left-justified in the word select time slot, with the MSB transmitted first, starting one clock period after the transition on the word select line.

Figure 6-24. I2S Reception and Transmission Sequence

Data bits are sent on the falling edge of the serial clock and sampled on the rising edge of the serial clock. The word select line indicates the channel in transmission, a low level for the left channel and a high level for the right channel.

The length of words managed in transmit and/or receive holding registers can be chosen among 8, 16, 18, 20, 24, and 32 bits by writing I2SMCC_MRA.DATALENGTH. The length of the data transmitted or received on the I2S line (Slot length) depends on I2SMCC_MRA.DATALENGTH/IWS.

The slot length is defined in the following table.

Table 6-4. Slot Length (I2S format)
I2SMCC_MRA.DATALENGTHWord LengthSlot Length
032 bits32
124 bits32 if I2SMCC_MRA.IWS = 0

24 if I2SMCC_MRA.IWS = 1

220 bits
318 bits
416 bits16
516 bits compact stereo
68 bits8
78 bits compact stereo

If the time slot allows for more data bits than written in I2SMCC_MRA.DATALENGTH, zeroes are appended to the transmitted data word or extra received bits are discarded (see examples in the following figure).

Figure 6-25. I2S Transfer Format with TX Zero Padding and RX LSB Discarding