EasyManua.ls Logo

NXP Semiconductors MPC5606S - Page 11

NXP Semiconductors MPC5606S
1344 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
MPC5606S Microcontroller Reference Manual, Rev. 7
Freescale Semiconductor 9
11.7.2.9 DSPI Receive FIFO Registers 0–4 (DSPIx_RXFRn) . . . . . . . . . . . . .306
11.8 Functional description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .307
11.8.1 Modes of operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .308
11.8.1.1 Master mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .308
11.8.1.2 Slave mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .309
11.8.1.3 Module Disable mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .309
11.8.1.4 External Stop mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .309
11.8.1.5 Debug mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .309
11.8.2 Start and stop of DSPI transfers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .309
11.8.3 Serial Peripheral Interface (SPI) configuration . . . . . . . . . . . . . . . . . . . . . . . . .310
11.8.3.1 SPI Master mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .311
11.8.3.2 SPI Slave mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .311
11.8.3.3 FIFO disable operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .311
11.8.3.4 transmit First In First Out (TX FIFO) buffering mechanism . . . . . . . . .311
11.8.3.5 Receive First In First Out (RX FIFO) buffering mechanism . . . . . . . .312
11.8.4 DSPI baud rate and clock delay generation . . . . . . . . . . . . . . . . . . . . . . . . . . .313
11.8.4.1 Baud rate generator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .314
11.8.4.2 CS to SCK delay (tCSC) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .314
11.8.4.3 After SCK delay (tASC) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .314
11.8.4.4 Delay after transfer (tDT) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .315
11.8.5 Transfer formats . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .316
11.8.5.1 Classic SPI transfer format (CPHA = 0) . . . . . . . . . . . . . . . . . . . . . . .318
11.8.5.2 Classic SPI transfer format (CPHA = 1) . . . . . . . . . . . . . . . . . . . . . . .319
11.8.5.3 Modified SPI transfer format (MTFE = 1, CPHA = 0) . . . . . . . . . . . . .320
11.8.5.4 Modified SPI transfer format (MTFE = 1, CPHA = 1) . . . . . . . . . . . . .321
11.8.5.5 Continuous selection format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .322
11.8.5.6 Clock polarity switching between DSPI transfers . . . . . . . . . . . . . . . .323
11.8.6 Continuous serial communications clock . . . . . . . . . . . . . . . . . . . . . . . . . . . . .324
11.8.7 Interrupts/DMA requests . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .326
11.8.7.1 End of queue interrupt request (EOQF) . . . . . . . . . . . . . . . . . . . . . . .326
11.8.7.2 Transmit FIFO fill interrupt or DMA request (TFFF) . . . . . . . . . . . . . .326
11.8.7.3 Transfer complete interrupt request (TCF) . . . . . . . . . . . . . . . . . . . . .326
11.8.7.4 Transmit FIFO underflow interrupt request (TFUF) . . . . . . . . . . . . . .327
11.8.7.5 Receive FIFO drain interrupt or DMA request (RFDF) . . . . . . . . . . . .327
11.8.7.6 Receive FIFO overflow interrupt request (RFOF) . . . . . . . . . . . . . . . .327
11.8.7.7 FIFO overrun request (TFUF) or (RFOF) . . . . . . . . . . . . . . . . . . . . . .327
11.8.8 Power-saving features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .327
11.8.8.1 External Stop mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .327
11.8.8.2 Module Disable mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .328
11.8.8.3 Slave interface signal gating . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .328
11.9 Initialization and application information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .328
11.9.1 How to change queues . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .328
11.9.2 Baud rate settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .329
11.9.3 Delay settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .330
11.9.4 Calculation of FIFO pointer addresses . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .330

Table of Contents

Related product manuals