
Deserial Serial Peripheral Interface (DSPI)
MPC5566 Microcontroller Reference Manual, Rev. 2
20-40
Freescale Semiconductor
20.4.3.5.2
Draining the RX FIFO
Host software or the eDMA can remove (pop) entries from the RX FIFO by reading the DSPI
x
_POPR. A
read of the DSPI
x
_POPR decrements the RX FIFO counter by one. Attempts to pop data from an empty
RX FIFO are ignored, the RX FIFO counter remains unchanged. The data returned from reading an empty
RX FIFO is undetermined.
Section 20.3.2.7, “DSPI POP RX FIFO Register (DSPIx_POPR)
DSPI
x
_POPR.
When the RX FIFO is not empty, the RX FIFO drain flag (RFDF) in the DSPI
x
_SR is set. The RFDF bit
is cleared when the RX_FIFO is empty and the eDMA controller indicates that a read from DSPI
x
_POPR
is complete; alternatively the RFDF bit can be cleared by the host writing a 1 to it.
20.4.4
Deserial Serial Interface (DSI) Configuration
The DSI configuration supports pin count reduction by serializing parallel input signals or register bits and
shifting them out in an SPI-like protocol. The received serial frames are converted to a parallel form
(deserialized) and placed on the parallel output signals or in a register. The various features of the DSI
configuration are set in the DSPI
x
_DSICR. For more information on the DSPI
x
_DSICR. The DSPI is in
DSI configuration when the DCONF field in the DSPI
x
_MCR is 0b01.
Section 20.4.7, “Transfer Formats
” for a description of the timing and transfer protocol.
Section 20.3.2.10, “DSPI DSI Configuration Register (DSPIx_DSICR)
.”
The DSI frames can be from 4 to 16 bits long. With multiple transfer operation (MTO), the DSPI supports
serial chaining of DSPI modules within the MCU to create DSI frames consisting of concatenated bits
from multiple DSPIs. The DSPI also supports parallel chaining allowing several DSPIs and off-chip SPI
devices to share the same serial communications clock (SCK) and peripheral chip select (PCS) signals.
Section 20.4.4.7, “Multiple Transfer Operation (MTO)
,” for details on the serial and parallel chaining
support.
20.4.4.1
DSI Master Mode
In DSI master mode the DSPI initiates and controls the DSI transfers. The DSI master has four different
conditions that can initiate a transfer:
•
Continuous
•
Change in data
•
Trigger signal
•
Trigger signal combined with a change in data
The four transfer initiation conditions are described in
Section 20.4.4.5, “DSI Transfer Initiation Control
Transfer attributes are set during initialization. The DSICTAS field in the DSPI
x
_DSICR determines
which of the DSPI
x
_CTARs controls the transfer attributes.
Содержание MPC5566
Страница 12: ...MPC5566 Microcontroller Reference Manual Devices Supported MPC5566 MPC5566 RM Rev 2 0 23 Apr 2008...
Страница 81: ...Introduction MPC5566 Microcontroller Reference Manual Rev 2 1 24 Freescale Semiconductor...
Страница 135: ...Signal Description MPC5566 Microcontroller Reference Manual Rev 2 2 54 Freescale Semiconductor...
Страница 189: ...Reset MPC5566 Microcontroller Reference Manual Rev 2 4 20 Freescale Semiconductor...
Страница 331: ...System Integration Unit SIU MPC5566 Microcontroller Reference Manual Rev 2 6 128 Freescale Semiconductor...
Страница 343: ...Crossbar Switch XBAR MPC5566 Microcontroller Reference Manual Rev 2 7 12 Freescale Semiconductor...
Страница 361: ...Error Correction Status Module ECSM MPC5566 Microcontroller Reference Manual Rev 2 8 18 Freescale Semiconductor...
Страница 455: ...Interrupt Controller INTC MPC5566 Microcontroller Reference Manual Rev 2 10 42 Freescale Semiconductor...
Страница 603: ...Flash Memory MPC5566 Microcontroller Reference Manual Rev 2 13 38 Freescale Semiconductor...
Страница 609: ...SRAM MPC5566 Microcontroller Reference Manual Rev 2 14 6 Freescale Semiconductor...
Страница 679: ...Boot Assist Module BAM MPC5566 Microcontroller Reference Manual Rev 2 16 20 Freescale Semiconductor...
Страница 997: ...Deserial Serial Peripheral Interface DSPI MPC5566 Microcontroller Reference Manual Rev 2 20 72 Freescale Semiconductor...
Страница 1037: ...Enhanced Serial Communication Interface eSCI MPC5566 Microcontroller Reference Manual Rev 2 21 40 Freescale Semiconductor...
Страница 1073: ...MPC5566 Microcontroller Reference Manual Rev 2 22 36 Freescale Semiconductor...
Страница 1081: ...Voltage Regulator Controller VRC and POR Module MPC5566 Microcontroller Reference Manual Rev 2 23 8 Freescale Semiconductor...
Страница 1093: ...IEEE 1149 1 Test Access Port Controller JTAGC MPC5566 Microcontroller Reference Manual Rev 2 24 12 Freescale Semiconductor...
Страница 1185: ...Nexus MPC5566 Microcontroller Reference Manual Rev 2 25 92 Freescale Semiconductor...
Страница 1267: ...MPC5566 Reference Manual Revision History MPC5566 Microcontroller Reference Manual Rev 2 Freescale Semiconductor C 10...
Страница 1268: ...MPC5566 Reference Manual Revision History MPC5566 Microcontroller Reference Manual Rev 2 Freescale Semiconductor C 11...