English
Language : 

K60P100M100SF2RM Datasheet, PDF (1739/1809 Pages) Freescale Semiconductor, Inc – K60 Sub-Family Reference Manual
Chapter 53 Integrated interchip sound (I2S)
53.4.3.1 Supported data alignment formats
The I2S supports three data formats to provide flexibility with handling data. These
formats dictate how data is written to (and read from) the data registers. Therefore, data
can appear in different places in TX0/1 and RX0/1 based on the data format and the
number of bits per word. Independent data formats are supported for both the transmitter
and receiver (that is, the transmitter and receiver can use different data formats).
The supported data formats are:
• msb alignment
• lsb alignment
• Zero-extended (receive data only)
• Sign-extended (receive data only)
With msb alignment, the most significant byte is bits 31 through 24 of the data register if
the word length is larger than or equal to 16 bits. If the word length is less than 16 bits
and msb alignment is chosen, the most significant byte is bits 15–8. With lsb alignment,
the least significant byte is bits 7–0. Data alignment is controlled by the TCR[TXBIT0]
bit and the RCR[RXBIT0] bit. See the following table for the bit assignment for all the
data formats supported by the I2S.
Table 53-53. Data alignment
Format
Bit number
8-bit lsb aligned
8-bit msb aligned
10-bit lsb aligned
10-bit msb aligned
12-bit lsb aligned
12-bit msb aligned
16-bit lsb aligned
16-bit msb aligned
18-bit lsb aligned
18-bit msb aligned
20-bit lsb aligned
20-bit msb aligned
22-bit lsb aligned
22-bit msb aligned
15:0
17:0
19:0
21:0
Table continues on the next page...
7:0
7:0
9:0
9:0
11:0
11:0
15:0
17:0
19:0
21:0
K60 Sub-Family Reference Manual, Rev. 6, Nov 2011
Freescale Semiconductor, Inc.
1739