![GigaDevice Semiconductor GD32F20 Series User Manual Download Page 744](http://html.mh-extra.com/html/gigadevice-semiconductor/gd32f20-series/gd32f20-series_user-manual_2225801744.webp)
GD32F20x User Manual
744
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
RCMD[15:0]
rw
Bits
Fields
Descriptions
31
RDID
Send SPI Read ID Command, command code and mode come from RCMD and
RMODE.
30:22
Reserved
Must be kept at reset value
21:20
RMODE[1:0]
SPI PSRAM Read command mode
00: Not SPI mode
01: SPI mode
10: SQPI mode
11: QPI mode
19:16
RWAITCYCLE[3:0]
SPI Read Wait Cycle number after address phase.
15:0
RCMD[15:0]
SPI Read Command for AHB read transfer.
When CMDBIT is different, valid RCMD is different:
CMDBIT=00,RCMD[3:0] are valid.
CMDBIT=01,RCMD[7:0] are valid.
CMDBIT=10,RCMD[15:0] are valid.
Note:
Before writing 1 to RDID bit, users must ensure it is cleared by reading RDID as 0.
SPI write command register (EXMC_SWCMD)
Offset address: 0x330
Reset Value: 0x0000 0000
This register has to be accessed by word(32-bit)
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
SC
Reserved
WMODE[1:0]
WWAITCYCLE[3:0]
rw
rw
rw
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
WCMD[15:0]
rw
Bits
Fields
Descriptions
31
SC
Send SPI Special Command which does not have address and data phase,
command code and mode come from WCMD and WMODE.
30:22
Reserved
Must be kept at reset value
Summary of Contents for GD32F20 Series
Page 191: ...GD32F20x User Manual 191 Bits Fields Descriptions 31 0 TRNDATA 31 0 32 Bit Random data ...
Page 290: ...GD32F20x User Manual 290 conversion is ongoing ...
Page 325: ...GD32F20x User Manual 325 15 0 ALRM 15 0 RTC alarm value low ...
Page 385: ...GD32F20x User Manual 385 ...
Page 523: ...GD32F20x User Manual 523 clears AERR bit by writing 0 to it ...