cancel
Showing results for 
Search instead for 
Did you mean: 

STM32L0 inconsistency between RM0451 and CMSIS

msemegen
Senior

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

1 ACCEPTED SOLUTION

Accepted Solutions
Bubbles
ST Employee

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.

View solution in original post

1 REPLY 1
Bubbles
ST Employee

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.