GD32W51x User Manual
107
3.4.3.
Read operation
The value of the EFUSE can only be accessed through the corresponding register. After
system reset, the EFUSE value take effect and reloaded to corresponding register. When
read the ROTPK or its hash/Debug Password/IAK/GSSA/User data or RF data related bytes
in the EFUSE, you need to follow the following steps:
The following steps show the register access sequence of the EFUSE reading operation.
1.
Clear the RDIF bit if it is SET, and make sure there are no
overstep boundary errors.
2.
Reset the EFRW bit in EFUSE_CS.
3.
Write the desired efuse address and size to EFUSE_ADDR register.
4.
Set the EFSTR bit EFUSE_CS register.
5.
Wait until the reading operation has been finished by checking the RDIF bit in
EFUSE_CS register.
6.
Read the register value corresponding to the EFUSE.
When the read operation is executed successfully, the RDIF in EFUSE_CS register is set,
and an interrupt will be triggered by EFUSE if the RDIE bit in the EFUSE_CS register is set.
Note
:
When reading EFUSE block, the whole block should be read back first, and then the
corresponding register content could be read.
3.4.4.
Program operation
The value of the EFUSE can only be modified through the corresponding register.
The following steps show the register access sequence of the EFUSE writing operation.
1.
Clear the PGIF bit if it is SET, and make sure there are no
overstep boundary errors.
2.
SET the EFRW bit in EFUSE_CS.
3.
Write the desired efuse address and size to EFUSE_ADDR register.
4.
Write the data to the corresponding register.
5.
Set the EFSTR bit EFUSE_CS register.
6.
Wait until the writing operation has been finished by checking the PGIF bit in EFUSE_CS
register.
When the write operation is executed successfully, the PGIF in EFUSE_CS register is set,
and an interrupt will be triggered by EFUSE if the PGIE bit in the EFUSE_CS register is set.
It should be noted that the address and size of the written data must match the corresponding
fuse register. If not match, OBERIF bit in the EFUSE_CS register will be set, and an interrupt
will be triggered by EFUSE if the OBERIE bit in the EFUSE_CS register is set
Note
: RF data can only be written in byte, the others can be written in word.
Содержание GD32W515 Series
Страница 1: ...GigaDevice Semiconductor Inc GD32W51x Arm Cortex M33 32 bit MCU User Manual Revision 1 0 Nov 2021 ...
Страница 66: ...GD32W51x User Manual 66 Bits Fields Descriptions 31 0 UNIQUE_ID 95 64 Unique device ID ...
Страница 389: ...GD32W51x User Manual 389 The FWDGT timeout can be more accurate by calibrating the IRC32K ...
Страница 504: ...GD32W51x User Manual 504 ...
Страница 710: ...GD32W51x User Manual 710 ...