![ARTERY AT32F435 Series Reference Manual Download Page 519](http://html1.mh-extra.com/html/artery/at32f435-series/at32f435-series_reference-manual_2977592519.webp)
AT32F435/437
Series Reference Manual
2022.11.11
Page 519
Rev 2.03
Figure 24-12
NOR/PSRAM mode C write access
XMC_NE[x]
XMC_NOE
XMC_NWE
XMC_D[15
:
0]
1
HCLK
Data from XMC
1
HCLK
DTST+1
HCLK
High
High-Z
Memory address
XMC_NADV
Don
t care
Address signals
Data signals
Chip select
signal
XMC_A[23
:
16]
XMC_A[0]
XMC_LB
XMC_UB
Mode D
As configured in Table 24-25,
the XMC uses mode D to access the
external memory. The timing of read operation is shown in Figure 24-13
The timing of write operation is
shown in Figure 24-14
Table 24-25
Mode D— SRAM/NOR Flash chip select register (XMC_BK1CTRL) configuration
Bit
Description
Configuration
Bit 31: 20
Reserved
0x0
Bit 19
MWMC: Memory write mode control
0x0
Bit 18: 16
CRPGS
:
CRAM page size
0x0
Bit 15
NWASEN: NWAIT in asynchronous
transfer enable
Configure according to memory specifications.
Bit 14
RWTD: Read-write timing different
0x1
Bit 13
NWSEN: NWAIT in synchronous
transfer enable
0x0
Bit 12
WEN: Write enable
Configure according to needs.
Bit 11
NWTCFG: NWAIT timing configuration 0x0
Bit 10
WRAPEN: Wrapped enable
0x0
Bit 9
NWPOL: NWAIT polarity
Configure according to memory specifications.
Bit 8
SYNCBEN: Synchronous burst enable 0x0
Bit 7
Reserved
0x1
Bit 6
NOREN: NOR
Flash access enable
Configure according to memory specifications.
Bit 5: 4
EXTMDBW: External memory data
bus width
Configure according to memory specifications.
Bit 3: 2
DEV: Memory device type
Configure according to memory specifications.
Bit 1
ADMUXEN: Address/data multiplexing
enable
0x0
Bit 0
EN: Memory bank enable
0x1