Skip to main content
msemegen
Associate III
December 1, 2025
Solved

STM32L0 inconsistency between RM0451 and CMSIS

  • December 1, 2025
  • 1 reply
  • 579 views

Hi,

I noticed that for the FLASH PECR register there is a discrepancy between the RM and the CMSIS files provided by ST.
The RM includes information about the `NZDISABLE` bit (which is not present in the CMSIS file `stm32l010x6.h`). On the other hand, the macro `FLASH_PECR_HALF_ARRAY` is provided in the CMSIS files but is not described in the RM.

Best,
msemegen

Best answer by Bubbles

Hello @msemegen,

thanks for reporting the issue. The NZDISABLE is present and works as described in the RM. The FLASH_PECR_HALF_ARRAY can be ignored. The RM is the primary description, the CMSIS sometimes contain parts of definitions from similar products or miss some part.

I'll report that for correction.

BR,

J

1 reply

Bubbles
BubblesBest answer
ST Employee
December 1, 2025

Hello @msemegen,

thanks for reporting the issue. The NZDISABLE is present and works as described in the RM. The FLASH_PECR_HALF_ARRAY can be ignored. The RM is the primary description, the CMSIS sometimes contain parts of definitions from similar products or miss some part.

I'll report that for correction.

BR,

J

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.