
Deserial – Serial Peripheral Interface (DSPI)
PXN20 Microcontroller Reference Manual, Rev. 1
30-30
Freescale Semiconductor
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
n
registers are
used to set the transfer attributes. Transfer attribute control is on a frame by frame basis. See
Section 30.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). A detailed description of the DSPI_DSCIR is located in
DSI Configuration Register (DSPI_DSICR).
The DSISCTAS field in the DSPI_DSICR selects which of
the DSPI_CTAR
n
registers are used to set the transfer attributes. Transfer attributes are set up during
initialization and should not be changed between frames. See
Section 30.4.4, Deserial Serial Interface
for more details.
The CSI configuration is only available in master mode. 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
Serial Interface (CSI) Configuration,
for details.
30.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 register 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. However, clock polarity, clock phase, and numbers of bits to transfer must
still be configured in the DSPI slave for proper communications.
The SPI and DSI configurations are valid in slave mode. In SPI slave mode, the slave transfer attributes
are set in the DSPI_CTAR0. In DSI slave mode, the slave transfer attributes are set in the DSPI_CTAR1.
In both SPI and DSI configurations, the DSPI in slave mode transfers data MSB first. The LSBFE field of
the associated CTAR is ignored.
30.4.1.3
Module Disable Mode
The module disable mode is used for MCU power management. The clock to the non-memory mapped
logic in the DSPI can be stopped while in module disable mode.The DSPI enters the module disable mode
when the MDIS bit in DSPI_MCR is set. Logic external to the DSPI is needed to implement the module
disable mode. See
Section 30.4.13, Power Saving Features,
for more details on the module disable mode.
30.4.1.4
Halt Mode
When the appropriate bit in the SIU_HLT0 register is set, a request to enter halt mode is sent to the DSPI.
The DSPI does not acknowledge the request to enter halt mode until it has reached a frame boundary.
When the DSPI has reached a frame boundary, it halts all operations and indicates that it is ready to have
its clocks shut off. The DSPI exits halt mode and resumes normal operation once the clocks are turned on.
Serial communications or register accesses made while in halt mode are ignored even if the clocks have
not been shut off yet. See
Section 30.4.13, Power Saving Features,
for more details on the halt mode.
Содержание PXN2020
Страница 1: ...PXN20 Microcontroller Reference Manual Devices Supported PXN2020 PXN2120 PXN20RM Rev 1 06 2011...
Страница 42: ...PXN20 Microcontroller Reference Manual Rev 1 lxiv Freescale Semiconductor...
Страница 64: ...Introduction PXN20 Microcontroller Reference Manual Rev 1 1 22 Freescale Semiconductor...
Страница 112: ...Signal Description PXN20 Microcontroller Reference Manual Rev 1 3 44 Freescale Semiconductor...
Страница 118: ...Resets PXN20 Microcontroller Reference Manual Rev 1 4 6 Freescale Semiconductor...
Страница 162: ...Clocks Reset and Power CRP PXN20 Microcontroller Reference Manual Rev 1 6 30 Freescale Semiconductor...
Страница 182: ...Frequency Modulated Phase Locked Loop FMPLL PXN20 Microcontroller Reference Manual Rev 1 7 20 Freescale Semiconductor...
Страница 268: ...Boot Assist Module BAM PXN20 Microcontroller Reference Manual Rev 1 9 14 Freescale Semiconductor...
Страница 318: ...Interrupts and Interrupt Controller INTC PXN20 Microcontroller Reference Manual Rev 1 10 50 Freescale Semiconductor...
Страница 326: ...General Purpose Static RAM SRAM PXN20 Microcontroller Reference Manual Rev 1 11 8 Freescale Semiconductor...
Страница 372: ...e200z6 Core Z6 PXN20 Microcontroller Reference Manual Rev 1 13 8 Freescale Semiconductor...
Страница 412: ...e200z0 Core Z0 PXN20 Microcontroller Reference Manual Rev 1 14 14 Freescale Semiconductor...
Страница 460: ...Memory Protection Unit MPU PXN20 Microcontroller Reference Manual Rev 1 18 20 Freescale Semiconductor...
Страница 478: ...Error Correction Status Module ECSM PXN20 Microcontroller Reference Manual Rev 1 19 18 Freescale Semiconductor...
Страница 488: ...Software Watchdog Timer SWT PXN20 Microcontroller Reference Manual Rev 1 20 10 Freescale Semiconductor...
Страница 494: ...System Timer Module STM PXN20 Microcontroller Reference Manual Rev 1 21 6 Freescale Semiconductor...
Страница 821: ...Media Local Bus MLB PXN20 Microcontroller Reference Manual Rev 1 Freescale Semiconductor 27 49...
Страница 822: ...Media Local Bus MLB PXN20 Microcontroller Reference Manual Rev 1 27 50 Freescale Semiconductor...
Страница 926: ...Controller Area Network FlexCAN PXN20 Microcontroller Reference Manual Rev 1 29 42 Freescale Semiconductor...
Страница 990: ...Deserial Serial Peripheral Interface DSPI PXN20 Microcontroller Reference Manual Rev 1 30 64 Freescale Semiconductor...
Страница 1044: ...Enhanced Serial Communication Interface eSCI PXN20 Microcontroller Reference Manual Rev 1 31 54 Freescale Semiconductor...
Страница 1080: ...Cross Triggering Unit CTU PXN20 Microcontroller Reference Manual Rev 1 33 12 Freescale Semiconductor...
Страница 1134: ...Analog to Digital Converter ADC PXN20 Microcontroller Reference Manual Rev 1 34 54 Freescale Semiconductor...
Страница 1150: ...IEEE 1149 1 Test Access Port Controller JTAGC PXN20 Microcontroller Reference Manual Rev 1 35 16 Freescale Semiconductor...
Страница 1257: ...Nexus Development Interface NDI PXN20 Microcontroller Reference Manual Rev 1 Freescale Semiconductor 36 107...
Страница 1258: ...Nexus Development Interface NDI PXN20 Microcontroller Reference Manual Rev 1 36 108 Freescale Semiconductor...
Страница 1376: ...Memory Map PXN20 Microcontroller Reference Manual Rev 1 A 118 Freescale Semiconductor...