Deserial Serial Peripheral Interface (DSPI)
MPC5565 Microcontroller Reference Manual, Rev. 1.0
Freescale Semiconductor
19-21
19.3.2.5
DSPI DMA / Interrupt Request Select and Enable Register (DSPI
x
_RSER)
The DSPI
x
_RSER serves two purposes: enables flag bits in the DSPI
x
_SR to generate DMA requests or
interrupt requests, and selects the type of request to generate. Refer to the bit descriptions for the type of
requests that are supported. Do not write to the DSPI
x
_RSER while the DSPI is running.
14
RFDF
Receive FIFO drain flag. Indicates that the RX FIFO can be drained. Provides a method for the DSPI to
request that entries be removed from the RX FIFO. The bit is set while the RX FIFO is not empty. The RFDF
bit can be cleared by writing 1 to it, or by acknowledgement from the eDMA controller when the RX FIFO is
empty.
0 RX FIFO is empty
1 RX FIFO is not empty
Note:
In the interrupt service routine, RFDF must be cleared only after the DSPIx_POPR register is read.
15
Reserved.
16–19
TXCTR
[0:3]
TX FIFO counter. Indicates the number of valid entries in the TX FIFO. The TXCTR is incremented every
time the DSPI _PUSHR is written. The TXCTR is decremented every time an SPI command is executed and
the SPI data is transferred to the shift register.
20–23
TXNXTPTR
[0:3]
Transmit next pointer. Indicates which TX FIFO entry is transmitted during the next transfer. The TXNXTPTR
field is updated every time SPI data is transferred from the TX FIFO to the shift register. Refer to
Section 19.4.3.4, “Transmit First In First Out (TX FIFO) Buffering Mechanism
” for more details.
24–27
RXCTR
[0:3]
RX FIFO counter. Indicates the number of entries in the RX FIFO. The RXCTR is decremented every time
the DSPI _POPR is read. The RXCTR is incremented after the last incoming databit is sampled, but before
the tASC delay starts. Refer to
Section 19.4.7.1, “Classic SPI Transfer Format (CPHA = 0)
” for details.
28–31
POPNXTPTR
[0:3]
Pop next pointer. Contains a pointer to the RX FIFO entry that is returned when the DSPI
x
_POPR is read.
The POPNXTPTR is updated when the DSPI
x
_POPR is read. Refer to
Section 19.4.3.5, “Receive First In
First Out (RX FIFO) Buffering Mechanism
” for more details.
Address: Base + 0x0030
Access: R/W
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
R
TCF_
RE
0
0
EOQF
_RE
TFUF_
RE
0
TFFF_
RE
TFFF_
DIRS
0
0
0
0
RFOF
_RE
0
RFDF
_RE
RFDF_
DIRS
W
Reset
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
R
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
W
Reset
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
Figure 19-7. DSPI DMA / Interrupt Request Select and Enable Register (DSPI
x
_RSER)
Table 19-6. DSPI
x
_SR Field Descriptions (continued)
Field
Description
Содержание MPC5565
Страница 18: ...MPC5565 Microcontroller Reference Manual Devices Supported MPC5565 MPC5565 RM Rev 1 0 09 2007...
Страница 34: ...MPC5565 Reference Manual Rev 1 0 Freescale Semiconductor 15...
Страница 35: ...MPC5565 Reference Manual Rev 1 0 16 Freescale Semiconductor...
Страница 325: ...Error Correction Status Module ECSM MPC5565 Microcontroller Reference Manual Rev 1 0 8 16 Freescale Semiconductor...
Страница 515: ...External Bus Interface EBI MPC5565 Microcontroller Reference Manual Rev 1 0 12 70 Freescale Semiconductor...
Страница 553: ...Flash Memory MPC5565 Microcontroller Reference Manual Rev 1 0 13 38 Freescale Semiconductor...
Страница 559: ...SRAM MPC5565 Microcontroller Reference Manual Rev 1 0 14 6 Freescale Semiconductor...
Страница 577: ...Boot Assist Module BAM MPC5565 Microcontroller Reference Manual Rev 1 0 15 18 Freescale Semiconductor...
Страница 895: ...Deserial Serial Peripheral Interface DSPI MPC5565 Microcontroller Reference Manual Rev 1 0 19 72 Freescale Semiconductor...
Страница 973: ...Preface MPC5565 Microcontroller Reference Manual Rev 1 0 21 36 Freescale Semiconductor...
Страница 1145: ...MPC5565 Register Map MPC5565 Microcontroller Reference Manual Rev 1 0 A 60 Freescale Semiconductor...
Страница 1153: ...Calibration MPC5565 Microcontroller Reference Manual Rev 1 0 B 8 Freescale Semiconductor...