Hi,
I would like also to add info about timing.
The formula to calculate EEPROM events are presented in the data sheet.
A.3.1.2 Row Programming
This applies only to the Flash where up to 32 words in a row can be programmed consecutively by keeping the command pipeline filled. The time to program a consecutive word can be calculated as:
The time to program a whole row is:
tbwpgm = 4 / fNVMOP + 9 / fbus; Operating Frequency fNVMOP = 150~200 kHz
Row programming is more than 2 times faster than single word programming.
tbrpgm = tswpgm + 31 ⋅ tbwpgm
Single Word Programming Time tswpgm 46 (2) ~ 74.5 (3) μs
2. Minimum Programming times are achieved under maximum NVM operating frequency fNVMOP and maximum bus frequency fbus.
3. Maximum Erase and Programming times are achieved under particular combinations of fNVMOP and bus frequency fbus.
Refer to formulae in Sections Section A.3.1.1 Single Word Programming- Section A.3.1.4 Mass Erasefor guidance.
μs
Best regards,
Ladislav