I'm using internal EEPROM of an LPC1857 having internal sysclock @ 180 MHz, sometimes errors occurr reading or writing the EEPROM (the read write operations are always dword aligned).
Checking the EEPROM initialization of read and write wait cycles I found the following values
#define EEPROM_READ_WAIT_STATE_VAL 0x58
#define EEPROM_WAIT_STATE_VAL 0x232
but, reading the datasheet of the Processor and calculating the values, I obtain different values.
Question: the values in the file eeprom_18xx_43xx.h of LPCOpen are correct or have to be recalculated for the different custom boards ?
Thanks
Hello
Hope you´re well.
The wait values of the LPCOpen are correct. However you can change these parameters if you think they will give better results.
Let me know if you have further questions.
Best regards,
Omar