stm32 /stm32h5 /STM32H573 /FLASH /FLASH_OPTSR_PRG

Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text

Interpret as FLASH_OPTSR_PRG

31 2827 2423 2019 1615 1211 87 43 0 0 0 0 0 0 0 0 00 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0BOR_LEV 0 (B_0x0)BORH_EN 0 (B_0x0)IWDG_SW 0 (B_0x0)WWDG_SW 0 (B_0x0)NRST_STOP 0 (B_0x0)NRST_STDBY 0PRODUCT_STATE0 (B_0x0)IO_VDD_HSLV 0 (B_0x0)IO_VDDIO2_HSLV 0 (B_0x0)IWDG_STOP 0 (B_0x0)IWDG_STDBY 0BOOT_UBE0 (B_0x0)SWAP_BANK

SWAP_BANK=B_0x0, IWDG_SW=B_0x0, IWDG_STDBY=B_0x0, IO_VDD_HSLV=B_0x0, NRST_STOP=B_0x0, BORH_EN=B_0x0, IO_VDDIO2_HSLV=B_0x0, NRST_STDBY=B_0x0, IWDG_STOP=B_0x0, WWDG_SW=B_0x0

Description

FLASH option status register

Fields

BOR_LEV

Brownout level option configuration bit These bits reflects the power level that generates a system reset. 00 or 11: BOR Level 1, the threshold level is low (around 2.1 V)

1 (B_0x1): BOR Level 2, the threshold level is medium (around 2.4 V)

2 (B_0x2): BOR Level 3, the threshold level is high (around 2.7 V)

BORH_EN

Brownout high enable configuration bit

0 (B_0x0): disable

1 (B_0x1): enable

IWDG_SW

IWDG control mode option configuration bit

0 (B_0x0): IWDG watchdog is controlled by hardware

1 (B_0x1): IWDG watchdog is controlled by software

WWDG_SW

WWDG control mode option configuration bit

0 (B_0x0): WWDG watchdog is controlled by hardware

1 (B_0x1): WWDG watchdog is controlled by software

NRST_STOP

Core domain Stop entry reset option configuration bit

0 (B_0x0): a reset is generated when entering Stop mode on core domain

1 (B_0x1): no reset generated when entering Stop mode on core domain.

NRST_STDBY

Core domain Standby entry reset option configuration bit

0 (B_0x0): a reset is generated when entering Standby mode on core domain

1 (B_0x1): no reset generated when entering Standby mode on core domain.

PRODUCT_STATE

Life state code (based on Hamming 8,4). More information in Section7.6.11: Product state transitions.

IO_VDD_HSLV

High-speed IO at low VDD voltage configuration bit. This bit can be set only with VDD below 2.7V.

0 (B_0x0): High-speed IO at low VDD voltage feature disabled (VDD can exceed 2.7V)

1 (B_0x1): High-speed IO at low VDD voltage feature enabled (VDD remains below 2.7V)

IO_VDDIO2_HSLV

High-speed IO at low VDDIO2 voltage configuration bit. This bit can be set only with VDDIO2 below 2.7V.

0 (B_0x0): High-speed IO at low VDDIO2 voltage feature disabled (VDDIO2 can exceed 2.7V)

1 (B_0x1): High-speed IO at low VDDIO2 voltage feature enabled (VDDIO2 remains below 2.7V)

IWDG_STOP

IWDG Stop mode freeze option status bit When set the independent watchdog IWDG is in system Stop mode.

0 (B_0x0): Independent watchdog frozen in system Stop mode

1 (B_0x1): Independent watchdog keep running in system Stop mode.

IWDG_STDBY

IWDG Standby mode freeze option status bit When set the independent watchdog IWDG is frozen in system Standby mode.

0 (B_0x0): Independent watchdog frozen in Standby mode

1 (B_0x1): Independent watchdog keep running in Standby mode.

BOOT_UBE

Available only on cryptography enabled devices. Unique boot entry control, selects either ST or OEM iRoT for secure boot. In Open PRODUCT_STATE this value selects bootloader. Defaut value.

180 (B_0xB4): OEM-iRoT (user flash) selected.

195 (B_0xC3): ST-iRoT (system flash) selected

SWAP_BANK

Bank swapping option configuration bit SWAP_BANK option bit is used to configure whether the Bank1 and Bank2 are swapped or not. This bit is loaded with the SWAP_BANK bit of FLASH_OPTSR_CUR register after a reset.

0 (B_0x0): Bank1 and Bank2 not swapped

1 (B_0x1): Bank1 and Bank2 swapped

Links

()