Issues with X-CUBE-EEPROM
Hey everyone,
I have a problem in understanding the X-CUBE-EEPROM when using it with the STM32G0B1xx.
1. What is meant by kcycles? Does it mean 1000 cycles? The documentation (https://www.st.com/resource/en/application_note/an4894-how-to-use-eeprom-emulation-on-stm32-mcus-stmicroelectronics.pdf) says i have 10kycles per page. One page saves up to 252 elements. Does it mean I can write a 32bit (4 byte) variable 252 * 10000 times? What happens after that?
2. I am thinking of implementing my own smaller version of the emulated eeprom. I have 2 variables (8 bytes) which I continuously need to write to the flash. So I could write each variable at a fix memory address, lets say 0x08080000 and 0x08080004. Of course I would loose all the benefits of having data retention, etc. but how often could I write a new value to these addresses?
Over the lifetime of my use case (a battery) the variable could be written 300.000 times, at always the same address, is this feasible?
So with the need for 300.000 writes, did I understand number 1.) correctly and would 2.) also be feasible?
Regards,
René
