Motorola* Spi Frame Formats For Spo And Sph Programming; Serial Clock Polarity (Spo); Serial Clock Phase (Sph) - Intel IXP45X Developer's Manual

Network processors
Table of Contents

Advertisement

Synchronous Serial Port—Intel
20.5.2.4

Serial Clock Polarity (SPO)

The serial clock (SSP_SCLK) polarity bit (SPO) selects the polarity of the inactive state
of the SSP_SCLK pin when Motorola SPI format is selected (FRF=00). For SPO=0, the
SSP_SCLK is held low in the inactive or idle state when the SSP is not transmitting/
receiving data. For SPO=1, the SSP_SCLK is held high during the inactive/idle state.
The programmed setting of the SPO alone does not determine which SSP_SCLK edge
is used to transmit or receive data. The SPO setting in combination with the SSP_SCLK
phase bit (SPH) determines this. Note that the SPO is ignored for all data frame
formats except for the Motorola* SPI format (FRF=00).
20.5.2.5

Serial Clock Phase (SPH)

The serial clock (SSP_SCLK) phase bit (SPH) determines the phase relationship
between the SSP_SCLK and the serial frame (SSP_SFRM) pins when the Motorola SPI
format is selected (FRF=00). When SPH=0, SSP_SCLK remains in its inactive/idle
state (as determined by the SPO setting) for one full cycle after SSP_SFRM is asserted
low at the beginning of a frame. SSP_SCLK continues to transition for the rest of the
frame and is then held in its inactive state for one-half of an SSP_SCLK period before
SSP_SFRM is de-asserted high at the end of the frame. When SPH=1, SSP_SCLK
remains in its inactive/idle state (as determined by the SPO setting) for one-half cycle
after SSP_SFRM is asserted low at the beginning of a frame. SSP_SCLK continues to
transition for the rest of the frame and is then held in its inactive state for one full
SSP_SCLK period before SSP_SFRM is de-asserted high at the end of the frame. The
combination of the SPO and SPH settings determines when SSP_SCLK is active during
the assertion of SSP_SFRM and which SSP_SCLK edge is used to transmit and receive
data on the SSP_TXD and SSP_RXD pins. When SPO and SPH are programmed to the
same value (both 0 or both 1), transmit data is driven on the falling edge of SSP_SCLK
and receive data is latched on the rising edge of SSP_SCLK. When SPO and SPH are
programmed to opposite values (one 0 and the other 1), transmit date is driven on the
rising edge of SSP_SCLK and receive data is latched on the falling edge of SSP_SCLK.
Note that the SPH is ignored for all data frame formats except for the Motorola SPI
format (FRF=00).
Table 275
Note that SPO inverts the polarity of the SSP_SCLK signal, and SPH determines the
phase relationship between SSP_SCLK and SSP_SFRM, shifting the SSP_SCLK signal
one-half phase to the left or right during the assertion of SSP_SFRM.
Table 275.
Motorola
SSP_S
CLK
SSP_S
CLK
SSP_S
FRM
SSP_T
XD4
SSP_R
XD4
SSP_S
CLK
August 2006
Order Number: 306262-004US
®
®
IXP45X and Intel
IXP46X Product Line of Network Processors
shows the pin timing for all four programming combinations of SPO and SPH.
*
SPI Frame Formats for SPO and SPH Programming (Sheet 1 of 2)
SPO=0
SPO=1
Bit<N>
Bit<N>
MSB
SPO=0
...
...
...
Bit<N..>
...
Bit<1>
Bit<0>
Bit<N..>
...
Bit<1>
Bit<0>
4 to 16 Bits
LSB
SPH = 0
...
®
®
Intel
IXP45X and Intel
IXP46X Product Line of Network Processors
Developer's Manual
867

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ixp46x

Table of Contents