
Deserial – Serial Peripheral Interface (DSPI)
PXN20 Microcontroller Reference Manual, Rev. 1
30-40
Freescale Semiconductor
30.4.6
Buffered SPI Operation
The DSPI can use a FIFO buffering mechanism to transmit and receive commands and data to and from
external devices. The transmit FIFO buffers SPI commands and data to be transferred. The receive FIFO
buffers incoming serial data. Both FIFOs are four entries deep. The TX FIFO stores 32-bit words when the
DSPIs are configured for master mode. The 32-bit words are composed of 16-bit command fields and data
fields as wide as 16 bits. The RX FIFOs store 16-bit words of received data from external devices. When
the DSPI is configured for slave mode, the DSPI ignores the SPI command in the TX FIFO.
For queued operations, the SPI queues reside in system memory external to the DSPI. Data transfers
between the memory and the DSPI FIFOs are accomplished through the use of the eDMA controller or
through host software. See
for conceptual diagram of the queue data transfer control in the
MCU.
Figure 30-26. DSPI Queue Transfer Control in PXN20
30.4.7
DSPI Baud Rate and Clock Delay Generation
The SCK frequency and the delay values for serial transfer are generated by dividing the system clock
frequency by a prescaler and a scaler with the option for doubling the baud rate.
shows
conceptually how the SCK signal is generated.
Figure 30-27. Communications Clock Prescalers and Scalers
30.4.7.1
Baud Rate Generator
The baud rate is the frequency of the serial communication clock (SCK). The system clock is divided by
a baud rate prescaler (defined by DSPI_CTAR
n
[PBR]) and baud rate scaler (defined by
System RAM
DSPI
DMA controller/
TX queue
RX FIFO
TX FIFO
Shift register
Data
Data
Address
RX queue
Data
Data
Address
DMA
control/
host
host
Prescaler
1
Scaler
1 + DBR
System clock
SCK
Summary of Contents for PXN2020
Page 1: ...PXN20 Microcontroller Reference Manual Devices Supported PXN2020 PXN2120 PXN20RM Rev 1 06 2011...
Page 42: ...PXN20 Microcontroller Reference Manual Rev 1 lxiv Freescale Semiconductor...
Page 64: ...Introduction PXN20 Microcontroller Reference Manual Rev 1 1 22 Freescale Semiconductor...
Page 112: ...Signal Description PXN20 Microcontroller Reference Manual Rev 1 3 44 Freescale Semiconductor...
Page 118: ...Resets PXN20 Microcontroller Reference Manual Rev 1 4 6 Freescale Semiconductor...
Page 372: ...e200z6 Core Z6 PXN20 Microcontroller Reference Manual Rev 1 13 8 Freescale Semiconductor...
Page 412: ...e200z0 Core Z0 PXN20 Microcontroller Reference Manual Rev 1 14 14 Freescale Semiconductor...
Page 821: ...Media Local Bus MLB PXN20 Microcontroller Reference Manual Rev 1 Freescale Semiconductor 27 49...
Page 822: ...Media Local Bus MLB PXN20 Microcontroller Reference Manual Rev 1 27 50 Freescale Semiconductor...
Page 1376: ...Memory Map PXN20 Microcontroller Reference Manual Rev 1 A 118 Freescale Semiconductor...