GD32W51x User Manual
75
Figure 2-4. Process of word program operation
Set the PG/SECPG bit
Is the LK/SECLK
bit is 0
Perform word write
Start
Yes
No
Unlock the
FMC_CTL/FMC_SECC
TL
Is the BUSY/
SECBUSY bit is 0
Yes
No
Is the BUSY/
SECBUSY bit is 0
Yes
No
Finish
Note:
1. In order to meet Wi-Fi OTA requirements, support continuous program when set PG
bit. 2. If user do not do read operation before program, it can realize the wired-AND of the
data to be programmed and the data in Flash. 3. In order to achieve the fastest programming
speed, user need to follow the following points when programming. (1) 32-bit program and
the address is continuous. (2) Program continuously on the bus, there must be no read Flash
between two write operation. (3) The interval between two write operations cannot exceed
64xT
hclk
(Flash clock is hclk/2).
2.4.7.
Option bytes
Option bytes description
The option bytes description is shown in the
.The option bytes are
configured according to the requirements of the application.
Table 2-3.
Option bytes
Nam e
Register m ap
15
:
TZEN
12
:
SRAM1_RST