![ARTERY AT32F435 Series Скачать руководство пользователя страница 672](http://html1.mh-extra.com/html/artery/at32f435-series/at32f435-series_reference-manual_2977592672.webp)
AT32F435/437
Series Reference Manual
2022.11.11
Page 672
Rev 2.03
28.4.11 Flash size register (FSIZE)
No-wait states, accessible by bytes, half words and words.
Bit
Register
Reset value
Type
Description
Bit 31: 0
SPIFSIZE
0xF000 0000 rw
SPI Flash Size
In direct address map mode, system address is always
greater than that of SPI Flash. The user must mask the
upper bits of the system address to match SPI Flash size.
28.4.12 XIP command word 0 (XIP CMD_W0)
No-wait states, accessible by bytes, half words and words.
Bit
Register
Reset value
Type
Description
Bit 31: 20 Reserved
0x000
resd
Kept at its default value.
Bit 19: 12 XIPR_INSC
0x03
rw
XIP read instruction code
This field is set to execute SPI Flash command of XPI
read.
Bit 11
XIPR_ADRLEN
0x0
rw
XIP read address length
This bit defines the number of bytes of SPI Flash address.
The user can uses this bit to program a 3-byte or 4-byte
XIP read address.
0: 3-byte address
1: 4-byte address
Bit 10: 8
XIPR_OPMODE
0x0
rw
XIP read Operation mode
000: Serial mode
001: Dual mode
010: Quad mode
011: Dual IO mode
100: Quad IO mode
101: DPI mode
110: QPI mode
111: Reserved
Bit 7: 0
XIPR_DUM2
0x00
rw
XIP Read second dummy cycle
The second dummy state is located between the address
and data status, excluding continuous read mode status.
The user can check if there is a dummy state between the
address and data status in SPI Flash specification. The
host controller issues logic 1 in a dummy cycle.
0: No second dummy state
1~32: 1 dummy second period~32 dummy second periods
28.4.13 XIP command word 1 (XIP CMD_W1)
No-wait states, accessible by bytes, half words and words.
Bit
Register
Reset value
Type
Description
Bit 31: 18 Reserved
0x000
resd
Kept at its default value.
Bit 19: 12 XIPW_INSC
0x02
rw
XIP write instruction code
The user can set this field to enable a SPI Flash command
of XIP write.
Bit 11
XIPW_ADRLEN
0x0
rw
XIP write address length
This bit defines the number of bytes of SPI Flash address.
The user can uses this bit to program a 3-byte or 4-byte
XIP write address.
0: 3-byte address
1: 4-byte address