LPC 1857 EEPROM error

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

LPC 1857 EEPROM error

368 Views
luciano_mortari
Contributor I

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

 

0 Kudos
1 Reply

354 Views
Omar_Anguiano
NXP TechSupport
NXP TechSupport

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

0 Kudos