30-28
MC9328MX1 Reference Manual
MOTOROLA
Synchronous Serial Interface (SSI)
30.3.10.1 Calculating the SSI Bit Clock from the Input Clock Value
The serial bit clock is the result of the Clock Controller input PerCLK3 being divided by one fixed, one
selectable, and one programmable divider. Serial bit clock may range from the value (PerCLK3 / 4
×
1
×
1)
to (PerCLK3 / (4
×
8
×
256)). See Figure 30-4 on page 30-5. Note that WL has a value of 8, 10, 12, or 16.
f
INT_BIT_CLK
= f
PerCLK3
÷ [4 x (7 x PSR + 1) x (PM + 1)]
Eqn. 30-4
f
FRAME_SYN_CLK
= (f
INT_BIT_CLK
) ÷ [(DC + 1) x WL]
Eqn. 30-5
Example 1:
When the 7-bit clock controller divider, PCLKDIV3 in the PLL and Clock Control module, is
set to 5, then PerCLK3 is 96 MHz ÷ 5 = 19.2 MHz.
The SSI is set up in normal mode with a word length of 8 (WL = 00), a frame rate divider control of 1
(DC = 0001), a prescale modulus of 74 (decimal) (PM = 01001010), and the PSR bit cleared (PSR = 0).
In this case, the bit clock rate is 19.2 MHz ÷ (4 × 1 × 75) = 64 kHz.
That means that the frame sync clock (SSI_TXFS) is 64 kHz ÷ (2 × 8) = 4 kHz.
Example 2:
When the 7-bit clock controller divider, PCLKDIV3, is set to 8, then PerCLK3 is
96 MHz ÷ 8 = 12 MHz.
The SSI is set up in network mode, with a word length of 16 (WL = 11), a frame rate divider control of 1
(DC = 0001), a prescale modulus of 1 (decimal) (PM = 00000001), and the PSR bit cleared (PSR = 0).
In this case, the bit clock rate is 12 MHz ÷ (4 × 1 × 2) = 1.5 MHz.
That means that the frame sync clock (SSI_TXFS) is 1.5 MHz ÷ (2 × 16) = 46.875 kHz.
WL
Bits 14–13
Word Length
—Selects the length (8, 10, 12, or 16 bits) of the data
words being transferred by the SSI. WL also controls the frame sync
pulse length when the length of the frame sync (SRCR:RFSL or
STCR:TFSL) is set to 1 word. The value of this field is used as a
divider value to convert serial bit clock to word clock as shown in
Figure 30-4.
00 = 8 Bits per word
01 = 10 Bits per word
10 = 12 Bits per word
11 = 16 Bits per word
DC
Bits 12–8
Frame Rate Divider Control
—Specifies the divide ratio for the
programmable frame rate divider shown in Figure 30-5. The divider
converts the word clock to the frame clock. In normal mode, this ratio
determines the word transfer rate. In network mode, this ratio sets the
number of words per frame.
In network mode, a divide ratio of one (DC = 00000) is a special case
(on-demand mode).
In normal mode, a divide ratio of one (DC = 00000) provides
continuous periodic data word transfer (a bit-length sync must be
used).
00000 = Divide Ratio is 1
00001 = Divide Ratio is 2
…
11111 = Divide Ratio is 32
In network mode,
DC = 00000 is a special
case.
PM
Bits 7–0
Prescale Modulus Select
—Specifies the divide ratio for the modulus
divider shown in Figure 30-4. This divider is one of three dividers that
convert the PerCLK3 signal to the serial bit clock.
0x00 = Divide ratio is 1
0x01 = Divide ratio is 2
...
0xFF = Divide ratio is 256
Table 30-15. SSI Transmit Clock Control Register and SSI Receive Clock Control Register
Description (Continued)
Name
Description
Settings
Содержание DragonBall MC9328MX1
Страница 68: ...1 12 MC9328MX1 Reference Manual MOTOROLA Introduction ...
Страница 86: ...2 18 MC9328MX1 Reference Manual MOTOROLA Signal Descriptions and Pin Assignments ...
Страница 116: ...3 30 MC9328MX1 Reference Manual MOTOROLA Memory Map ...
Страница 126: ...4 10 MC9328MX1 Reference Manual MOTOROLA ARM920T Processor ...
Страница 160: ...8 8 MC9328MX1 Reference Manual MOTOROLA System Control ...
Страница 272: ...13 32 MC9328MX1 Reference Manual MOTOROLA DMA Controller ...
Страница 281: ...Programming Model MOTOROLA Watchdog Timer Module 14 9 ...
Страница 282: ...14 10 MC9328MX1 Reference Manual MOTOROLA Watchdog Timer Module ...
Страница 300: ...15 18 MC9328MX1 Reference Manual MOTOROLA Analog Signal Processor ASP ...
Страница 438: ...18 16 MC9328MX1 Reference Manual MOTOROLA Serial Peripheral Interface Modules SPI 1 and SPI 2 ...
Страница 478: ...19 40 MC9328MX1 Reference Manual MOTOROLA LCD Controller ...
Страница 542: ...20 64 MC9328MX1 Reference Manual MOTOROLA Multimedia Card Secure Digital Host Controller Module MMC SD ...
Страница 574: ...21 32 MC9328MX1 Reference Manual MOTOROLA Memory Stick Host Controller MSHC Module ...
Страница 598: ...23 16 MC9328MX1 Reference Manual MOTOROLA Real Time Clock RTC ...
Страница 670: ...24 72 MC9328MX1 Reference Manual MOTOROLA SDRAM Memory Controller ...
Страница 726: ...25 56 MC9328MX1 Reference Manual MOTOROLA SmartCard Interface Module SIM ...
Страница 736: ...26 10 MC9328MX1 Reference Manual MOTOROLA General Purpose Timers ...
Страница 854: ...29 18 MC9328MX1 Reference Manual MOTOROLA I2C Module ...
Страница 900: ...30 46 MC9328MX1 Reference Manual MOTOROLA Synchronous Serial Interface SSI ...
Страница 942: ...32 26 MC9328MX1 Reference Manual MOTOROLA GPIO Module and I O Multiplexer IOMUX ...