2025-12-01 5:13 AM
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
Solved! Go to Solution.
2025-12-01 5:44 AM
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.
2025-12-01 5:44 AM
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.