MPC5606E Microcontroller Reference Manual, Rev. 2
20 Freescale Semiconductor
24.6 External signal description ............................................................................................................546
24.6.1 Signal overview ..............................................................................................................546
24.6.2 Signal names and descriptions ........................................................................................546
24.6.2.1 Peripheral Chip Select / Slave Select (CS_0) ...............................................546
24.6.2.2 Peripheral Chip Selects 1–3 (CS1:3
) ............................................................547
24.6.2.3 Peripheral Chip Select 4 / Master Trigger (CS4
/MTRIG) ............................547
24.6.2.4 Peripheral Chip Select 5/Peripheral Chip Select Strobe (CS_5) ..................547
24.6.2.5 Serial Input (SIN_x) ......................................................................................547
24.6.2.6 Serial Output (SOUT_x) ...............................................................................547
24.6.2.7 Serial Clock (SCK_x) ...................................................................................547
24.7 Memory map and registers description .........................................................................................548
24.7.1 Memory map ...................................................................................................................548
24.7.2 Registers description .......................................................................................................549
24.7.2.1 DSPI Module Configuration Register (DSPIx_MCR) .................................549
24.7.2.2 DSPI Hardware Configuration Register (DSPI_HCR) .................................552
24.7.2.3 DSPI Transfer Count Register (DSPIx_TCR) ..............................................553
24.7.2.4 DSPI Clock and Transfer Attributes Registers 0–7 (DSPIx_CTARn) .........553
24.7.2.5 DSPI Status Register (DSPIx_SR) ................................................................559
24.7.2.6 DSPI DMA / Interrupt Request Select and Enable Register (DSPIx_RSER) ....
561
24.7.2.7 DSPI PUSH TX FIFO Register (DSPIx_PUSHR) .......................................562
24.7.2.8 DSPI POP RX FIFO Register (DSPIx_POPR) .............................................564
24.7.2.9 DSPI Transmit FIFO Registers 0–4 (DSPIx_TXFRn) .................................565
24.7.2.10DSPI Receive FIFO Registers 0–4 (DSPIx_RXFRn) ...................................565
24.8 Functional description ...................................................................................................................566
24.8.1 Modes of operation .........................................................................................................567
24.8.1.1 Master mode .................................................................................................567
24.8.1.2 Slave mode ....................................................................................................568
24.8.1.3 Module disable mode ....................................................................................568
24.8.1.4 Debug mode ..................................................................................................568
24.8.2 Start and stop of DSPI transfers ......................................................................................568
24.8.3 Serial Peripheral Interface (SPI) configuration ..............................................................569
24.8.3.1 SPI master mode ...........................................................................................569
24.8.3.2 SPI slave mode ..............................................................................................570
24.8.3.3 FIFO disable operation .................................................................................570
24.8.3.4 Transmit First In First Out (TX FIFO) buffering mechanism ......................570
24.8.3.4.1Filling the TX FIFO 571
24.8.3.4.2Draining the TX FIFO 571
24.8.3.5 Receive First In First Out (RX FIFO) buffering mechanism ........................571
24.8.3.5.1Filling the RX FIFO 572
24.8.3.5.2Draining the RX FIFO 572
24.8.4 DSPI baud rate and clock delay generation ....................................................................572
24.8.4.1 Baud rate generator .......................................................................................572
24.8.4.2 CS to SCK delay (t
CSC
) ................................................................................573
24.8.4.3 After SCK delay (t
ASC
) .................................................................................573