English
Language : 

LM3S2B93 Datasheet, PDF (846/1194 Pages) Texas Instruments – Stellaris® LM3S2B93 Microcontroller
Inter-Integrated Circuit Sound (I2S) Interface
Figure 17-2 on page 846 provides an example of an I2S data transfer. Figure 17-3 on page 846
provides an example of an Left-Justified data transfer. Figure 17-4 on page 846 provides an example
of an Right-Justified data transfer.
Figure 17-2. I2S Data Transfer
SCK
Word Select
Serial Data
MSB
LSB MSB
WORD n-1
RIGHT
CHANNEL
WORD n
LEFT
CHANNEL
WORD n+1
RIGHT
CHANNEL
Figure 17-3. Left-Justified Data Transfer
Word
Select
SCLK
Serial
Data
System Data Size
Left Channel
MSB -1 -2 -3 -4 -5 +5 +4 +3 +2 +1 LSB
Sample Size
Right Channel
MSB -1 -2 -3 -4 +5 +4 +3 +2 +1 LSB
Figure 17-4. Right-Justified Data Transfer
Word
Select
SCLK
Serial 0
Data
System Data Size
Left Channel
MSB -1 -2 -3 -4 -5
+7 +6 +5 +4 +3 +2 +1 LSB
Sample Size
Right Channel
MSB -1 -2 -3 -4 -5
+7 +6 +5 +4 +3 +2 +1 LSB
17.3.1
Transmit
The transmitter consists of a serial encoder, an 8-entry FIFO, and control logic. The transmitter has
independent MCLK (I2S0TXMCLK), SCLK (I2S0TXSCK), and Word-Select (I2S0TXWS) signals.
17.3.1.1
Serial Encoder
The serial encoder reads audio samples from the receive FIFO and converts them into an audio
stream. By configuring the serial encoder, common audio formats I2S, Left-Justified, and
Right-Justified are supported. The MSB is transmitted first. The sample size and system data size
846
January 20, 2012
Texas Instruments-Production Data