Serial Peripheral Interface (SPI)
User Manual All information provided in this document is subject to legal disclaimers. © REALTEK 2019. All rights reserved.
417
This register is only valid when SPI is configured with a set of DMA Controller interface signals.
31
30
29
28
27
26
25
…
8
7
6
5
4
3
2
1
0
RSVD
TDMAE
RDMAE
R/W
R/W
Bit
Name
Access
Reset
Description
31:2
RSVD
N/A
-
Reserved
1
TDMAE
R/W
0
Transmit DMA Enable. This bit enables/disables the transmit FIFO DMA channel.
0 – Transmit DMA disabled
1 – Transmit DMA enabled
0
RDMAE
R/W
0
Receive DMA Enable. This bit enables/disables the receive FIFO DMA channel
0 – Receive DMA disabled
1 – Receive DMA enabled
19.3.2.20
DMATDLR
Name:
DMA Transmit Data Level Register
Size:
6 bits
Address offset
:
0x50
Read/write access:
read/write
This register is only valid when the SPI is configured with a set of DMA interface signals.
31
30
29
28
27
26
25
…
12
11
10
9
8
7
6
5
4
3
2
1
0
RSVD
DMATDL
R/W
Bit
Name
Access
Reset
Description
31:6
RSVD
N/A
-
Reserved
5:0
DMATDL
R/W
0x0
Transmit Data Level. This bit field controls the level at which a DMA request is made by
the transmit logic. It is equal to the watermark level; that is, the dma_tx_req signal is
generated when the number of valid data entries in the transmit FIFO is equal to or below
this field value, and TDMAE = 1. Refer to Table 19-5 for the field decode.
Table 19-5 DMATDL decode value
DMATDL value
Description
0000_0000
dma_tx_req is asserted when 0 data entry is present in transmit FIFO
0000_0001
dma_tx_req is asserted when 1 data entry is present in transmit FIFO
0000_0010
dma_tx_req is asserted when 2 data entries are present in transmit FIFO
0000_0011
dma_tx_req is asserted when 3 data entries are present in transmit FIFO
…
…
1111_1100
dma_tx_req is asserted when 252 data entries are present in transmit FIFO
1111_1101
dma_tx_req is asserted when 253 data entries are present in transmit FIFO
1111_1110
dma_tx_req is asserted when 254 data entries are present in transmit FIFO
1111_1111
dma_tx_req is asserted when 255 data entries are present in transmit FIFO
19.3.2.21
DMARDLR
Name:
DMA Receive Data Level Register
Size:
6 bits
Address offset
:
0x54
Read/write access:
read/write
This register is only valid when SPI is configured with a set of DMA interface signals.
Realtek confidential files
The document authorized to
SZ99iot
2019-05-15 10:08:03