![Freescale Semiconductor MPC5632M Скачать руководство пользователя страница 1175](http://html.mh-extra.com/html/freescale-semiconductor/mpc5632m/mpc5632m_manual_23306591175.webp)
MPC563XM Reference Manual, Rev. 1
Freescale Semiconductor
1175
Preliminary—Subject to Change Without Notice
26.5
Functional Description
The Deserial Serial Peripheral Interface (DSPI) block supports full-duplex, synchronous serial
communications between MCUs and peripheral devices. The DSPI can also be used to reduce the number
of pins required for I/O by serializing and deserializing up to 16 Parallel Input/Output signals. All
communications are through a SPI-like protocol.Specifically in the TSB configuration, the DSPI can
serialize up to 32 Parallel Input signals or 32 registered bits.
The DSPI has three configurations:
•
SPI Configuration in which the DSPI operates as a basic SPI or a queued SPI.
•
DSI Configuration in which the DSPI serializes and deserializes Parallel Input/Output signals or
bits from memory mapped registers.
•
CSI Configuration in which the DSPI combines the functionality of the SPI and DSI
configurations.
The DCONF field in the DSPI Module Configuration Register (DSPI_MCR) determines the DSPI
Configuration. See
for the DSPI configuration values.
The DSPI_CTAR0 - DSPI_CTAR7 registers hold clock and transfer attributes. The SPI configuration can
select which CTAR to use on a frame by frame basis by setting a field in the SPI command. The DSI
configuration statically selects which CTAR to use. In CSI Configuration priority logic determines if SPI
data or DSI data is transferred. The type of data transferred dictates which CTAR register the CSI
configuration will use. See
Section 26.4.2.3, “DSPI Clock and Transfer Attributes Registers 0–7
,” for information on the fields of the DSPI_CTAR registers.
The 16-bit shift register in the Master and the 16-bit shift register in the Slave are linked by the SOUT and
SIN signals to form a distributed 32-bit register. The Master and Slave use 16-bit shift registers regardless
the TSBC bit is asserted in the DSPI_DSICR register. When a data transfer operation is performed, data
is serially shifted a predetermined number of bit positions. Because the registers are linked, data is
exchanged between the Master and the Slave; the data that was in the Master’s shift register is now in the
Table 26-31. DSPI_SDR Field Descriptions
Field Description
0–2
Reserved, should be cleared.
3–7
TSBCNT[0:4]
Timed Serial Bus Operation Count. When TSBC is set, TSBCNT defines the length of the TSB frame.
A number between 4 & 32.
The TSBCNT field selects number of bits to be shifted out during a transfer in TSB Operation. The
field sets the number of SCK cycles that the bus Master will generate to complete the transfer. The
number of SCK cycles used will be one more than the value in the TSBCNT field. The number of SCK
cycles defined by TSBCNT must be equal to or greater than the frame size.
8–23
Reserved, should be cleared.
24–31
DPCS1_
x
DSI Peripheral Chip Select 0–7. These bits define the CS to assert for the second part of the DSI
frame when operating in TSB configuration with dual receiver. The DPCS1 bits select which of the
PCS signals to assert during the second DSI transfer. The DPCS1 bits only control the assertions of
the PCS signals in DSI Master Mode when in TSB configuration.
0 Negate PCS[x]
1 Assert PCS[x]
Содержание MPC5632M
Страница 22: ...MPC563XM Reference Manual Rev 1 22 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 62: ...MPC563XM Reference Manual Rev 1 62 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 92: ...MPC563XM Reference Manual Rev 1 92 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 168: ...MPC563XM Reference Manual Rev 1 168 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 242: ...MPC563XM Reference Manual Rev 1 242 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 302: ...MPC563XM Reference Manual Rev 1 302 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 410: ...MPC563XM Reference Manual Rev 1 410 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 440: ...MPC563XM Reference Manual Rev 1 440 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 464: ...MPC563XM Reference Manual Rev 1 464 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 554: ...MPC563XM Reference Manual Rev 1 554 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 590: ...MPC563XM Reference Manual Rev 1 590 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 622: ...MPC563XM Reference Manual Rev 1 622 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 716: ...MPC563XM Reference Manual Rev 1 716 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 1114: ...MPC563XM Reference Manual Rev 1 1114 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 1144: ...MPC563XM Reference Manual Rev 1 1144 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 1266: ...MPC563XM Reference Manual Rev 1 1266 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 1316: ...MPC563XM Reference Manual Rev 1 1316 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 1348: ...MPC563XM Reference Manual Rev 1 1348 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 1362: ...MPC563XM Reference Manual Rev 1 1362 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 1382: ...MPC563XM Reference Manual Rev 1 1382 Freescale Semiconductor Preliminary Subject to Change Without Notice ...