Is there a workaround to handle data incoming from the serial link while writing data into internal EEPROM?
MCU: STM32L083
UART: 9600 bp 8N1
MCU freq: 32 MHz
I have an issue about the internal EEPROM erase/write timing in STM32L0 MCU.
I have an UART serial link configured to 9600 bauds, handled by interrupt routine in my code.
Sometimes, I have to write data in internal EEPROM. I have split the write operation in 2 phases: erase then write data which takes 3 ms each operation. During this time access to code execution is not allowed in the same bank, so the execution of my program is frozen.
Therefore, when erasing or writing data in internal EEPROM, I can receive up to 3 bytes over UART link.