Ameba-D User Manual
User Manual All information provided in this document is subject to legal disclaimers. © REALTEK 2019. All rights reserved.
406
0xF0
R/W
8 bits
0x0
rxd Sample Delay Register
0xF4
R/W
32 bits
Writes have no effect;
reads return value of 0.
Reserved location for future
use
0xF8
R/W
32 bits
Writes have no effect;
reads return value of 0.
Reserved location for future
use
0xFC
R/W
32 bits
Writes have no effect;
reads return value of 0.
Reserved location for future
use
19.3.2
Registers and Field Descriptions
The following sections contain the memory diagrams and field descriptions for the individual registers.
19.3.2.1
CTRLR0
Name:
Control Register 0
Size:
32 bits
Address offset:
0x0
Read/Write access:
read/write
This register controls the serial data transfer. It is impossible to write to this register when the SPI is enabled. The SPI is enabled and disabled
by writing to the SSIENR register.
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
SS_T
RSVD
RXBITSWAP
RXBYTESWAP
TXBITSWAP
TXBYTESWAP
RSVD
R/W
R/W
R/W
R/W
R/W
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
RSVD
SLV_OE
TMOD
SCPOL
SCPH
FRF
DFS
R/W
R/W
R/W
R/W
R/W
R/W
Bit
Name
Access
Reset
Description
31
SS_T
R/W
0
When SCPH is 0 (Relevant only when the SPI is configured as a serial-master device)
0 – ss_n_out doesn’t toggle between successive frames
1 – ss_n_out does toggle between successive frames
30:25
RSVD
N/A
-
Reserved
24
RXBITSWAP
R/W
0
0 – Order of receive bit doesn’t swap
1 – Order of receive bit does swap
23
RXBYTESWAP
R/W
0
0 – Order of receive byte doesn’t swap
1 – Order of receive byte does swap
22
TXBITSWAP
R/W
0
0 – Order of transmit bit doesn’t swap
1 – Order of transmit bit does swap
21
TXBYTESWAP
R/W
0
0 – Order of transmit byte doesn’t swap
1 – Order of transmit byte does swap
20:11
RSVD
N/A
-
Reserved
10
SLV_OE
R/W
0
Slave Output Enable. Relevant only when the SPI is configured as a serial-slave
device. When configured as a serial master, this bit field has no functionality. This
bit enables or disables the setting of the ssi_oe_n output from the SPI serial slave.
When SLV_OE = 1, the ssi_oe_n output can never be active. When the ssi_oe_n
output controls the tri-state buffer on the txd output from the slave, a high
impedance state is always present on the slave txd output when SLV_OE = 1.
This is useful when the master transmits in broadcast mode (master transmits data
to all slave devices). Only one slave may respond with data on the master rxd line.
This bit is enabled after reset and must be disabled by software (when broadcast
mode is used), if you do not want this device to respond with data.
0 – Slave txd is enabled
1 – Slave txd is disabled
Realtek confidential files
The document authorized to
SZ99iot
2019-05-15 10:08:03