External Frame And Clock Operation - Freescale Semiconductor MCF52277 Reference Manual

Table of Contents

Advertisement

Synchronous Serial Interface (SSI)
Table 25-22. SSI Bit Clock and Frame Rate as a Function of PSR, PM, and DIV2 (continued)
SSI_CLKIN
(SSI_MCLK)
Table 25-23
shows the example of programming clock controller divider ratio to generate the SSI_MCLK
and SSI_BCLK frequencies close to the ideal sampling rates. In these examples, setting the SSI to I
master mode (SSI_CR[I2S] = 01) or individually programming the SSI into network, transmit internal
clock mode selects the master mode. (The table specifically illustrates the I
rates.)
2
I
S master mode requires a 32-bit word length, regardless of the actual data type. Consequently, the fixed
2
I
S frame rate of 64 bits per frame (word length (WL) can be any value) and DC = 1 are assumed.
Table 25-23. SSI Sys Clock, Bit Clock, Frame Clock in Master Mode
25.4.3

External Frame and Clock Operation

When applying external frame sync and clock signals to the SSI module, at least four bit clock cycles
should exist between the enabling of the transmit or receive section and the rising edge of the
corresponding frame sync signal. The transition of SSI_FS should be synchronized with the rising edge of
external clock signal, SSI_BCLK.
25.4.4
Supported Data Alignment Formats
The SSI supports three data formats to provide flexibility with managing data. These formats dictate how
data is written to and read from the data registers. Therefore, data can appear in different places in
SSI_TX0/1 and SSI_RX0/1 based on the data format and the number of bits per word. Independent data
formats are supported for the transmitter and receiver (i.e. the transmitter and receiver can use different
data formats).
25-46
SSI_CCR
freq (MHz)
DIV2 PSR
12.288
0
0
12.288
0
0
12.288
0
0
12.288
0
0
12.288
0
0
12.288
0
0
Sampling
Over-
SSI_CLKIN
/Frame
sampling
freq (MHz)
rate (kHz)
rate
(SSI_MCLK)
44.10
384
22.05
384
11.025
384
48.00
256
MCF52277 Reference Manual, Rev. 1
Bit Clk (kHz)
SSI_BCLK
PM
WL
DC
5
3
3
1024
3
3
3
1536
23
7
3
256
11
7
3
512
5
7
3
1024
3
7
3
1536
SSI_CCR
DIV2 PSR PM
16.934
0
0
2
16.934
0
0
5
16.934
0
0
11
12.288
0
0
1
Frame rate
(kHz)
32
48
4
8
16
24
2
S mode frequencies/sample
Bit Clk (kHz)
SSI_BCLK
2822.33
1411.17
705.58
3072
Freescale Semiconductor
2
S

Advertisement

Table of Contents
loading

Table of Contents