![Freescale Semiconductor MCF54455 Скачать руководство пользователя страница 781](http://html1.mh-extra.com/html/freescale-semiconductor/mcf54455/mcf54455_reference-manual_2330541781.webp)
DMA Serial Peripheral Interface (DSPI)
31-28
Freescale Semiconductor
NOTE
The DSPI_PCSS signal is not supported when continuous DSPI_SCK is
enabled (CONT = 1).
31.4.4
Transfer Formats
The serial communications clock (DSPI_SCK) signal and the DSPI_PCS
n
signals control the SPI serial
communication. The DSPI_SCK signal provided by the master device synchronizes shifting and sampling
of the data by the DSPI_SIN and DSPI_SOUT pins. The DSPI_PCS
n
signals serve as enable signals for
the slave devices.
When the DSPI is the bus master, the DSPI_CTAR
n
[CPOL, CPHA] bits select the polarity and phase of
the DSPI_SCK signal. The polarity bit selects the idle state of the DSPI_SCK. The clock phase bit selects
if the data on DSPI_SOUT is valid before or on the first DSPI_SCK edge.
When the DSPI is the bus slave, the DSPI_CTAR0[CPOL, CPHA] bits select the polarity and phase of the
serial clock. Even though the bus slave does not control the DSPI_SCK signal, clock polarity, clock phase,
and number of bits to transfer must be identical for the master device and the slave device to ensure proper
transmission.
The DSPI supports four different transfer formats:
•
Classic SPI with CPHA = 0
•
Classic SPI with CPHA = 1
•
Modified transfer format with CPHA = 0
•
Modified transfer format with CPHA = 1
A modified transfer format is supported to allow for high-speed communication with peripherals that
require longer setup times. The DSPI can sample the incoming data later than halfway through the cycle
to give the peripheral more setup time. The DSPI_MCR[MTFE] bit selects between classic SPI format and
modified transfer format. The classic SPI formats are described in
Section 31.4.4.1, “Classic SPI Transfer
Section 31.4.4.2, “Classic SPI Transfer Format (CPHA = 1)
”
The modified
transfer formats are described in
Section 31.4.4.3, “Modified SPI Transfer Format (MTFE = 1, CPHA =
and
Section 31.4.4.4, “Modified SPI Transfer Format (MTFE = 1, CPHA = 1)
.
”
31.4.4.1
Classic SPI Transfer Format (CPHA = 0)
The transfer format shown in
communicates with peripheral SPI slave devices where the first
data bit is available on the first clock edge. In this format, the master and slave sample their DSPI_SIN
pins on the odd-numbered DSPI_SCK edges and change the data on their DSPI_SOUT pins on the
even-numbered DSPI_SCK edges.
Содержание MCF54455
Страница 33: ...xxviii Freescale Semiconductor ...
Страница 67: ...Freescale Semiconductor 1 ...
Страница 125: ...Freescale Semiconductor 1 ...
Страница 145: ...Enhanced Multiply Accumulate Unit EMAC 5 21 Freescale Semiconductor ...
Страница 173: ...Cache 6 28 Freescale Semiconductor ...
Страница 179: ...Static RAM SRAM 7 6 Freescale Semiconductor ...
Страница 207: ...Power Management 9 16 Freescale Semiconductor ...
Страница 323: ...Reset Controller Module 13 8 Freescale Semiconductor ...
Страница 389: ...Pin Multiplexing and Control 16 44 Freescale Semiconductor ...
Страница 575: ...PCI Bus Controller 22 58 Freescale Semiconductor ...
Страница 600: ...Advanced Technology Attachment ATA Freescale Semiconductor 23 25 ...
Страница 601: ...Freescale Semiconductor 1 ...
Страница 842: ...I2 C Interface Freescale Semiconductor 33 16 ...
Страница 843: ...Freescale Semiconductor 1 ...
Страница 921: ...Revision History A 6 Freescale Semiconductor ...