Serial Peripheral Interface (SPI)
User Manual All information provided in this document is subject to legal disclaimers. © REALTEK 2019. All rights reserved.
405
Table 19-1 Memory map of SPI
Name
Address Offset
Access
Width
Reset
Description
0x00
R/W
32 bits
Configuration dependent
for some bit fields
Control Register 0
0x04
R/W
16 bits
0x0
Control Register 1
0x08
R/W
1 bits
0x0
SSI Enable Register
RSVD
0x0C
N/A
N/A
-
Reserved
0x10
R/W
1 bits
0x0
Slave Enable Register
0x14
R/W
16 bits
0x0
Baud Rate Select
0x18
R/W
6 bits
0x0
Transmit FIFO Threshold Level
0x1C
R/W
6 bits
0x0
Receive FIFO Threshold Level
0x20
R
7 bits
0x0
Transmit FIFO Level Register
0x24
R
7 bits
0x0
Receive FIFO Level Register
0x28
R
7 bits
0x6
Status Register
0x2C
R/W
6 bits: when SSI_IS_MASTER = 1
8 bits: when SSI_IS_MASTER = 0
0x3F/0x1F
Interrupt Mask Register
0x30
R
6 bits: when SSI_IS_MASTER = 1
8 bits: when SSI_IS_MASTER = 0
0x0
Interrupt Status Register
0x34
R
6 bits
0x0
Raw Interrupt Status Register
0x38
R
1 bits
0x0
Transmit FIFO Overflow
Interrupt Clear Register
0x3C
R
1 bits
0x0
Receive FIFO Overflow
Interrupt Clear Register
0x40
R
1 bits
0x0
Receive FIFO Underflow
Interrupt Clear Register
0x44
R
1 bits
0x0
Multi-Master Interrupt Clear
Register/Frame Alignment
Error Interrupt Clear Register
0x48
R
1 bits
0x0
Interrupt Clear Register
0x4C
R/W
2 bits
0x0
DMA Control Register
0x50
R/W
6 bits
0x0
DMA Transmit Data Level
0x54
R/W
6 bits
0x0
DMA Receive Data Level
0x58
R
1 bits
Not affected by reset
Transmit FIFO Underflow
Interrupt Clear Register
0x5C
R
1 bits
See the releases table in
the
AMBA 2 release notes
SS_N Rising Edge Detect
Interrupt Clear Register
0x60 – 0xEC
R/W
16 bits
0x0
Data Register
Note:
If the Data Register (DR) is
accessed from an AHB master
(such as a DMA controller or a
processor), the AHB transfer
type may be a burst. During
AHB burst transfers, the
address increments after each
beat of the burst. To facilitate an
AHB burst, read, or write
operation to the transmit or
receive FIFO, the Date Register
occupies thirty-six 32-bit
address locations of memory
map. Each of the 16-bit address
locations are aliased to the DR;
single accesses to the DR may
use any of the 16-bit address
locations.
Realtek confidential files
The document authorized to
SZ99iot
2019-05-15 10:08:03