EEPROM library
#2895
Replies: 1 comment
-
|
You can refer to the wiki: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I noticed the high latency on
EEPROM.read()requests on my STM32F407 and I had a look into EEPROM.h and stm32_eeprom.c.So
EEPROM.read()executeseeprom_read_byte()which is this function.My STM32 does not have a buildin EEPROM, so the #else Part is used every time and it show, that on every read
eeprom_buffer_fill();is called. This means the complete buffer of 8129 bytes is copied into RAM on everyEEPROM.readcall, which causes the latency. Theeeprom_buffer_fill()takes 1208 microseconds on a STM32F407 with 48Mhz.Is this intentional, and if so, is there a reason for it?
Thanks,
Thorsten
Beta Was this translation helpful? Give feedback.
All reactions