Spi Mode Enable Setting Register (Smenr) - Renesas RZ/A Series User Manual

Hide thumbs Also See for RZ/A Series:
Table of Contents

Advertisement

RZ/A1L Group, RZ/A1LU Group, RZ/A1LC Group
17.4.13

SPI Mode Enable Setting Register (SMENR)

SMENR is a 32-bit register that sets the bit size of the command, optional command, address, option data, and transfer
data in SPI operating mode and enables their output. SMENR also enables dummy cycle insertion. Disabling all of the
command, optional command, address, option data, dummy cycle, and transfer data is prohibited. At least one of them
except dummy cycle must be enabled.
The settings of this register should be changed when the TEND flag in CMNSR is 1; otherwise, the operation cannot be
guaranteed.
Bit:
31
CDB[1:0]
Initial value:
0
R/W:
R/W
Bit:
15
DME
Initial value:
0
R/W:
R/W
Bit
Bit Name
31, 30
CDB[1:0]
29, 28
OCDB[1:0]
27, 26
25, 24
ADB[1:0]
23, 22
21, 20
OPDB[1:0]
19, 18
17, 16
SPIDB[1:0]
R01UH0437EJ0600 Rev.6.00
Jan 29, 2021
30
29
28
27
26
OCDB[1:0]
-
-
0
0
0
0
0
R/W
R/W
R/W
R
R
14
13
12
11
10
CDE
-
OCDE
ADE[3:0]
1
0
0
0
0
R/W
R
R/W
R/W
R/W
Initial
Value
R/W
00
R/W
00
R/W
All 0
R
00
R/W
All 0
R
00
R/W
All 0
R
00
R/W
25
24
23
22
21
ADB[1:0]
-
-
OPDB[1:0]
0
0
0
0
0
R/W
R/W
R
R
R/W
9
8
7
6
5
OPDE[3:0]
0
0
0
0
0
R/W
R/W
R/W
R/W
R/W
Description
Command Bit Size
Sets the command size in bit units.
00: 1 bit
01: 2 bits
10: 4 bits
11: Setting prohibited
Optional Command Bit Size
Sets the optional command size in bit units.
00: 1 bit
01: 2 bits
10: 4 bits
11: Setting prohibited
Reserved
These bits are always read as 0. The write value should always be 0.
Address Bit Size
Sets the address size in bit units.
00: 1 bit
01: 2 bits
10: 4 bits
11: Setting prohibited
Reserved
These bits are always read as 0. The write value should always be 0.
Option Data Bit Size
Sets the option data size in bit units.
00: 1 bit
01: 2 bits
10: 4 bits
11: Setting prohibited
Reserved
These bits are always read as 0. The write value should always be 0.
Transfer Data Bit Size
Sets the transfer data size in bit units.
00: 1 bit
01: 2 bits
10: 4 bits
11: Setting prohibited
17. SPI Multi I/O Bus Controller
20
19
18
17
16
-
-
SPIDB[1:0]
0
0
0
0
0
R/W
R
R
R/W
R/W
4
3
2
1
0
SPIDE[3:0]
0
0
0
0
0
R/W
R/W
R/W
R/W
R/W
17-20

Advertisement

Table of Contents
loading

This manual is also suitable for:

Rz/a1 seriesRz/a1lu seriesRz/a1lc series

Table of Contents