Skip to main content
Graduate
December 1, 2025
Solved

STM32L0 inconsistency between RM0451 and CMSIS

  • December 1, 2025
  • 1 reply
  • 122 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

    This topic has been closed for replies.
    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

    BubblesAnswer
    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