MPC5604E Reference Manual, Rev. 5
18 Freescale Semiconductor
24.6.2.7 Serial Clock (SCK_x) ...................................................................................520
24.7 Memory map and registers description .........................................................................................520
24.7.1 Memory map ...................................................................................................................520
24.7.2 Registers description .......................................................................................................521
24.7.2.1 DSPI Module Configuration Register (DSPIx_MCR) .................................521
24.7.2.2 DSPI Hardware Configuration Register (DSPI_HCR) .................................524
24.7.2.3 DSPI Transfer Count Register (DSPIx_TCR) ..............................................525
24.7.2.4 DSPI Clock and Transfer Attributes Registers 0–7 (DSPIx_CTARn) .........525
24.7.2.5 DSPI Status Register (DSPIx_SR) ................................................................531
24.7.2.6 DSPI DMA / Interrupt Request Select and Enable Register (DSPIx_RSER)
.......................................................................................................................533
24.7.2.7 DSPI PUSH TX FIFO Register (DSPIx_PUSHR) .......................................534
24.7.2.8 DSPI POP RX FIFO Register (DSPIx_POPR) .............................................536
24.7.2.9 DSPI Transmit FIFO Registers 0–4 (DSPIx_TXFRn) .................................537
24.7.2.10DSPI Receive FIFO Registers 0–4 (DSPIx_RXFRn) ...................................537
24.8 Functional description ...................................................................................................................538
24.8.1 Modes of operation .........................................................................................................539
24.8.1.1 Master mode .................................................................................................539
24.8.1.2 Slave mode ....................................................................................................540
24.8.1.3 Module disable mode ....................................................................................540
24.8.1.4 Debug mode ..................................................................................................540
24.8.2 Start and stop of DSPI transfers ......................................................................................540
24.8.3 Serial Peripheral Interface (SPI) configuration ..............................................................541
24.8.3.1 SPI master mode ...........................................................................................541
24.8.3.2 SPI slave mode ..............................................................................................542
24.8.3.3 FIFO disable operation .................................................................................542
24.8.3.4 Transmit First In First Out (TX FIFO) buffering mechanism ......................542
24.8.3.4.1Filling the TX FIFO ............................................................................543
24.8.3.4.2Draining the TX FIFO ........................................................................543
24.8.3.5 Receive First In First Out (RX FIFO) buffering mechanism ........................543
24.8.3.5.1Filling the RX FIFO ............................................................................544
24.8.3.5.2Draining the RX FIFO ........................................................................544
24.8.4 DSPI baud rate and clock delay generation ....................................................................544
24.8.4.1 Baud rate generator .......................................................................................544
24.8.4.2 CS to SCK delay (t
CSC
) ................................................................................545
24.8.4.3 After SCK delay (t
ASC
) .................................................................................545
24.8.4.4 Delay after transfer (tDT) .............................................................................546
24.8.4.5 Peripheral Chip Select strobe enable (CS5_x) ..............................................546
24.8.5 Transfer formats ..............................................................................................................547
24.8.5.1 Classic SPI transfer format (CPHA = 0) .......................................................548
24.8.5.2 Classic SPI transfer format (CPHA = 1) .......................................................549
24.8.5.3 Modified SPI transfer format (MTFE = 1, CPHA = 0) ................................549
24.8.5.4 Modified SPI transfer format (MTFE = 1, CPHA = 1) ................................551
24.8.5.5 Continuous selection format .........................................................................551
24.8.5.6 Clock polarity switching between DSPI transfers ........................................553