Synchronous Serial Interface (SSI)
MCF52277 Reference Manual, Rev. 1
Freescale Semiconductor
25-47
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–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. The
SSI_TCR[TXBIT0] and the SSI_RCR[RXBIT0] bits control data alignment.
shows the bit
assignment for all the data formats supported by the SSI module.
In addition, if lsb alignment is selected, the receive data can be zero-extended or sign-extended.
•
In zero-extension, all bits above the most significant bit are 0s. This format is useful when data is
stored in a pure integer format.
•
In sign-extension, all bits above the most significant bit are equal to the most significant bit. This
format is useful when data is stored in a fixed-point integer format (which implies fractional
values).
Table 25-24. Data Alignment
Format
Bit Number
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
8-bit lsb Aligned
7
6
5
4
3
2
1
0
8-bit msb Aligned
7
6
5
4
3
2
1
0
10-bit lsb Aligned
9
8
7
6
5
4
3
2
1
0
10-bit msb Aligned
9
8
7
6
5
4
3
2
1
0
12-bit lsb Aligned
11 10
9
8
7
6
5
4
3
2
1
0
12-bit msb Aligned
11 10
9
8
7
6
5
4
3
2
1
0
16-bit lsb Aligned
15 14 13 12 11 10
9
8
7
6
5
4
3
2
1
0
16-bit msb Aligned
15 14 13 12 11 10
9
8
7
6
5
4
3
2
1
0
18-bit lsb Aligned
17 16 15 14 13 12 11 10
9
8
7
6
5
4
3
2
1
0
18-bit msb Aligned
17 16 15 14 13 12 11 10
9
8
7
6
5
4
3
2
1
0
20-bit lsb Aligned
19 18 17 16 15 14 13 12 11 10
9
8
7
6
5
4
3
2
1
0
20-bit msb Aligned
19 18 17 16 15 14 13 12 11 10
9
8
7
6
5
4
3
2
1
0
22-bit lsb Aligned
21 20 19 18 17 16 15 14 13 12 11 10
9
8
7
6
5
4
3
2
1
0
22-bit msb Aligned
21 20 19 18 17 16 15 14 13 12 11 10
9
8
7
6
5
4
3
2
1
0
24-bit lsb Aligned
23 22 21 20 19 18 17 16 15 14 13 12 11 10
9
8
7
6
5
4
3
2
1
0
24-bit msb Aligned
23 22 21 20 19 18 17 16 15 14 13 12 11 10
9
8
7
6
5
4
3
2
1
0
Summary of Contents for MCF52277
Page 22: ...MCF52277 Reference Manual Rev 1 Freescale Semiconductor xxii...
Page 32: ...MCF52277 Reference Manual Rev 0 xxxii Freescale Semiconductor...
Page 60: ...Signal Descriptions MCF52277 Reference Manual Rev 1 2 16 Freescale Semiconductor...
Page 128: ...Static RAM SRAM MCF52277 Reference Manual Rev 1 6 6 Freescale Semiconductor...
Page 140: ...Clock Module MCF52277 Reference Manual Rev 1 7 12 Freescale Semiconductor...
Page 172: ...Chip Configuration Module CCM MCF52277 Reference Manual Rev 1 9 16 Freescale Semiconductor...
Page 180: ...Serial Boot Facility SBF MCF52277 Reference Manual Rev 1 10 8 Freescale Semiconductor...
Page 188: ...Reset Controller Module MCF52277 Reference Manual Rev 1 11 8 Freescale Semiconductor...
Page 210: ...Crossbar Switch XBS MCF52277 Reference Manual Rev 1 13 8 Freescale Semiconductor...
Page 542: ...FlexCAN MCF52277 Reference Manual Rev 1 23 32 Freescale Semiconductor...
Page 724: ...UART Modules MCF52277 Reference Manual Rev 1 30 34 Freescale Semiconductor...
Page 740: ...I2 C Interface MCF52277 Reference Manual Rev 1 31 16 Freescale Semiconductor...
Page 790: ...Debug Module MCF52277 Reference Manual Rev 1 32 50 Freescale Semiconductor...