![Freescale Semiconductor PXR4030 Скачать руководство пользователя страница 893](http://html1.mh-extra.com/html/freescale-semiconductor/pxr4030/pxr4030_reference-manual_2330660893.webp)
Deserial Serial Peripheral Interface (DSPI)
Freescale Semiconductor
25-33
PXR40 Microcontroller Reference Manual, Rev. 1
25.4.1
Modes of Operation
The DSPI has these distinct modes:
•
Master Mode
•
Slave Mode
•
Module Disable Mode
•
External Stop Mode
•
Debug Mode
Master, Slave, and Module Disable Modes are block-specific modes while External Stop and Debug
Modes are MCU-specific modes.
The block-specific modes are determined by bits in the DSPI_MCR register. External Stop Mode and
Debug Mode are modes that the entire MCU can enter in parallel with the DSPI being configured in one
of its block-specific modes.
25.4.1.1
Master Mode
In Master Mode the DSPI can initiate communications with peripheral devices. The DSPI operates as bus
master when the MSTR bit in the DSPI_MCR register is set. The Serial Communications Clock (SCK) is
controlled by the Master DSPI. All three DSPI configurations are valid in Master Mode.
In SPI Configuration, Master Mode transfer attributes are controlled by the SPI command in the current
TX FIFO entry. The CTAS field in the SPI command selects which of the eight DSPI_CTAR registers will
be used to set the transfer attributes. Transfer attribute control is on a frame by frame basis. See
Section 25.4.3, Serial Peripheral Interface (SPI) Configuration
, for more details.
In DSI Configuration, Master Mode transfer attributes are controlled by the DSPI DSI Configuration
Register (DSPI_DSICR). The DSISCTAS field in the DSPI_DSICR selects which of the DSPI_CTAR
registers will be used to set the transfer attributes. Transfer attributes are set up during initialization and
should not be changed between frames. See
Section 25.4.4, Deserial Serial Interface (DSI) Configuration
for more details.
In CSI Configuration, the DSI data is transferred using DSI Configuration transfer attributes and SPI data
is transferred using the SPI Configuration transfer attributes. In order for the bus slave to distinguish
between DSI and SPI frames, the transfer attributes for the two types of frames must utilize different
Peripheral Chip Select signals. See
Section 25.4.5, Combined Serial Interface (CSI) Configuration
, for
details.
25.4.1.2
Slave Mode
In Slave Mode the DSPI responds to transfers initiated by a SPI master. The DSPI operates as bus slave
when the MSTR bit in the DSPI_MCR is negated. The DSPI slave is selected by a bus master by having
the slave’s SS asserted. In Slave Mode the SCK is provided by the bus master. All transfer attributes are
controlled by the bus master but clock polarity, clock phase and numbers of bits to transfer must still be
configured in the DSPI slave for proper communications.
Содержание PXR4030
Страница 1: ...PXR40 Microcontroller Reference Manual Devices Supported PXR4030 PXR4040 PXR40RM Rev 1 06 2011...
Страница 30: ...PXR40 Microcontroller Reference Manual Rev 1 Freescale Semiconductor xxx...
Страница 40: ...PXR40 Microcontroller Reference Manual Rev 1 xl Freescale Semiconductor...
Страница 66: ...Memory Map PXR40 Microcontroller Reference Manual Rev 1 2 4 Freescale Semiconductor...
Страница 120: ...Signal Descriptions 3 54 Freescale Semiconductor PXR40 Microcontroller Reference Manual Rev 1...
Страница 158: ...Power Management Controller PMC 5 26 Freescale Semiconductor PXR40 Microcontroller Reference Manual Rev 1...
Страница 182: ...Frequency Modulated Phase Locked Loop FMPLL 6 24 Freescale Semiconductor PXR40 Microcontroller Reference Manual Rev 1...
Страница 278: ...System Integration Unit SIU 7 96 Freescale Semiconductor PXR40 Microcontroller Reference Manual Rev 1...
Страница 280: ...System Information Module PXR40 Microcontroller Reference Manual Rev 1 8 2 Freescale Semiconductor...
Страница 300: ...Boot Assist Module BAM 9 20 Freescale Semiconductor PXR40 Microcontroller Reference Manual Rev 1...
Страница 346: ...Interrupts and Interrupt Controller INTC 10 46 Freescale Semiconductor PXR40 Microcontroller Reference Manual Rev 1...
Страница 352: ...General Purpose Static RAM SRAM 11 6 Freescale Semiconductor PXR40 Microcontroller Reference Manual Rev 1...
Страница 432: ...Core e200z7 Overview PXR40 Microcontroller Reference Manual Rev 1 13 44 Freescale Semiconductor...
Страница 460: ...Peripheral Bridge PBRIDGE 15 16 Freescale Semiconductor PXR40 Microcontroller Reference Manual Rev 1...
Страница 478: ...Memory Protection Unit MPU 16 18 Freescale Semiconductor PXR40 Microcontroller Reference Manual Rev 1...
Страница 496: ...Error Correction Status Module ECSM 17 18 Freescale Semiconductor PXR40 Microcontroller Reference Manual Rev 1...
Страница 524: ...Periodic Interrupt Timer PIT_RTI 20 12 Freescale Semiconductor PXR40 Microcontroller Reference Manual Rev 1...
Страница 740: ...FlexRay Communication Controller FLEXRAY 22 156 Freescale Semiconductor PXR40 Microcontroller Reference Manual Rev 1...
Страница 860: ...FlexCAN Module 24 50 Freescale Semiconductor PXR40 Microcontroller Reference Manual Rev 1...
Страница 928: ...Deserial Serial Peripheral Interface DSPI 25 68 Freescale Semiconductor PXR40 Microcontroller Reference Manual Rev 1...
Страница 982: ...Enhanced Serial Communication Interface eSCI 26 54 Freescale Semiconductor PXR40 Microcontroller Reference Manual Rev 1...
Страница 1114: ...Enhanced Queued Analog to Digital Converter EQADC 27 132 Freescale Semiconductor PXR40 Microcontroller Reference Manual Rev 1...
Страница 1167: ...Decimation Filter Freescale Semiconductor 28 53 PXR40 Microcontroller Reference Manual Rev 1...
Страница 1168: ...Decimation Filter 28 54 Freescale Semiconductor PXR40 Microcontroller Reference Manual Rev 1...
Страница 1262: ...Enhanced Time Processing Unit eTPU2 29 94 Freescale Semiconductor PXR40 Microcontroller Reference Manual Rev 1...
Страница 1399: ...Nexus Development Interface NDI Freescale Semiconductor 31 83 PXR40 Microcontroller Reference Manual Rev 1...
Страница 1400: ...Nexus Development Interface NDI 31 84 Freescale Semiconductor PXR40 Microcontroller Reference Manual Rev 1...