![ARTERY AT32F435 Series Reference Manual Download Page 667](http://html1.mh-extra.com/html/artery/at32f435-series/at32f435-series_reference-manual_2977592667.webp)
AT32F435/437
Series Reference Manual
2022.11.11
Page 667
Rev 2.03
28.4 QSPI registers
These registers must be accessed by bytes (8-bit), half words (16-bit) or words (32-bit).
Table 28-1 SPI register map and reset values
28.4.1 Command word 0 (CMD_W0)
No-wait states, assessable by bytes, half words and words.
Bit
Register
Reset value
Type
Description
Bit 31: 0
SPIADR
0x0
rw
SPI Flash address
This register defines the values of SPI Flash addresses,
and sends them to SPI Flash. The address byte is based
on the bit [2: 0] of 004h.
28.4.2 Command word 1 (CMD_W1)
No-wait states, assessable by bytes, half words and words.
Bit
Register
Reset value
Type
Description
Bit 31: 29 Reserved
0x0
resd
Kept at its default value.
Bit 28
PEMEN
0x0
rw
Performance enhanced mode enable
Locates between the address and the second pseudo
state. In this mode, the command status after the second
read command can be removed. Do not set this bit when
CMD_W2=0.
0: Performance enhanced mode disabled
1: 1-byte Performance enhanced mode enabled
Bit 27: 26 Reserved
0x0
resd
Kept at its default value.
Register
Offset
Reset value
CMD_W0
0x0
0x0000 0000
CMD_W1
0x4
0x0100 0003
CMD_W2
0x8
0x0000 0000
CMD_W3
0xC
0x0000 0000
CTRL
0x10
0x0010 0083
ACTR
0x14
0x0000 000F
FIFOSTS
0x18
0x0000 0001
CTRL2
0x20
0x0000 0000
CMDSTS
0x24
0x0000 0000
RSTS
0x28
0x0000 0000
FSIZE
0x2C
0xF0000 0000
XIP CMD_W0
0x30
0x0000 3000
XIP CMD_W1
0x34
0x0000 2000
XIP CMD_W2
0x38
0x0F01 0F01
XIP CMD_W3
0x3C
0x0000 0000
REV
0x50
0x0001 0500
DT
0x100
0x0000 0000