Eeprom-flash-sram speed comparison

The atmel tiny45 microcontroller is currently being encoded, and I use several lookup tables. Where is the best place to store them? Could you give me a general idea of ​​the differences in memory speed between sram-flash-eeprom?

+5
source share
1 answer

EEPROM is by far the slowest alternative, with write access times of around 10 ms. Access to reading is as fast as FLASH access, as well as the overhead of setting up and running an address. Since there is no automatic increment in the EEPROM address registers, each byte reading will require at least four instructions.

SRAM access is the fastest (with the exception of direct register access).

FLASH , SRAM, (Z-), SRAM, .

. AVR, LPM LDS, LD LDD.

+5

All Articles