Deserial – Serial Peripheral Interface (DSPI)
PXN20 Microcontroller Reference Manual, Rev. 1
30-20 Freescale Semiconductor
Offset: DSPI_BASE + 0x0034 Access: User read/write
0123456789101112131415
R
CONT CTAS EOQ
CT
CNT
0000
PCS5 PCS4 PCS3 PCS2 PCS1 PCS0
W
Reset0000000000000000
16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
R
TXDATA
W
Reset0000000000000000
Figure 30-8. DSPI PUSH TX FIFO Register (DSPI_PUSHR)
Table 30-14. DSPI_PUSHR Field Descriptions
Field Description
CONT Continuous Peripheral Chip Select Enable. The CONT bit selects a Continuous Selection Format. The bit is used in
SPI master mode. The bit enables the selected PCS signals to remain asserted between transfers. See
Section 30.4.8.5, Continuous Selection Format, for more information.
Note: To ensure PCS stability during data transmission in Continuous Selection Format (and Continuous SCK clock
enabled) make sure that the data with reset CONT bit is written to DSPI_PUSHR register before previous data
sub-frame (with CONT bit set) transfer is over.
0 Return Peripheral Chip Select signals to their inactive state between transfers.
1 Keep Peripheral Chip Select signals asserted between transfers.
CTAS Clock and Transfer Attributes Select. The CTAS field selects which DSPI_CTARn register is used to set the transfer
attributes for the associated SPI frame. The field is only used in SPI master mode. In SPI slave mode, DSPI_CTAR0
is used. The table below shows how the CTAS values map to the DSPI_CTARn registers.
EOQ End Of Queue. The EOQ bit provides a means for host software to signal to the DSPI that the current SPI transfer
is the last in a queue. At the end of the transfer the EOQF bit in the DSPI_SR is set.
0 The SPI data is not the last data to transfer.
1 The SPI data is the last data to transfer.
CTCNT Clear SPI_TCNT. The CTCNT provides a means for host software to clear the SPI transfer counter. The CTCNT bit
clears the SPI_TCNT field in the DSPI_TCR register. The SPI_TCNT field is cleared before transmission of the
current SPI frame begins.
0 Do not clear SPI_TCNT field in the DSPI_TCR.
1 Clear SPI_TCNT field in the DSPI_TCR.
CTAS
Use Clock and Transfer
Attributes from
CTAS
Use Clock and Transfer
Attributes from
000 DSPI_CTAR0 100 DSPI_CTAR4
001 DSPI_CTAR1 101 DSPI_CTAR5
010 DSPI_CTAR2 110 DSPI_CTAR6
011 DSPI_CTAR3 111 DSPI_CTAR7