cancel
Showing results for 
Search instead for 
Did you mean: 

STM32L031K6 - How to Store Variables in EEPROM?

Sany
Associate III

Hello!

I am new in STM32, forgot my stupid question...

How can i store a variable in EEPROM or flash?

I have a STM32L031K6 Nucleo board, and got my CC1101-868MHZ transceiver with interrupts to work.

I receive a unique address over RF, and want to store this client address, now i can't find any examples for storing...

is there any examples to store variables in EEPROM or flash?

Thanks guys!

2 REPLIES 2

NVM Operation code example in the Appendix in RM? Or the same in SnippetsL0?

JW

Mike_ST
ST Employee

Maybe you already have found it, but in L0 firmware package, you can find this example:

STM32Cube_FW_L0_V1.11.3\Projects\NUCLEO-L031K6\Examples\FLASH\FLASH_EraseProgram