Hi to everyone!
I have a doubt about the internal eeprom psoc 5lp has. I see that it depends on the die temperature for correct working, if I did not misunderstood what I read. My question is does that mean it's better to use an external eeprom? 2K of eeprom is ok for what I need, but have misgiving using the one that comes with psoc 5lp. My working temp is from somewhat -20C to 50C, due to the equipment may be very down south (Tierra del Fuego) or very north (Misiones, Chaco) where it's very hot.
And If the is a more simpler example for the eeprom than the one that comes with creator 3.2 since it's not quit self explained.
Thank you all and regards from Bs.As. Argentina
Hi Odissey1, thanks for the component, it looks like it's more friendly, I'll take a try
The temperature mostly affects EEProm endurance and limits the number of guaranteed write/erase cycles as listed in the datasheet (Family Data Sheet). The programming algorithm checks at EEPROM_Start() API the actual die temperature and gets optimized to the result.
Hi Bob! Ok to what you say, but the basic is what happens if my pcb is in a room with 40 or 50 C, or if it's at -10 to -20C, does the eeprom work well?
The specifications apply for the following -
Specifications are valid for –40 °C ≤ TA ≤ 85 °C and TJ ≤ 100 °C, except where noted. Specifications are valid for 1.71 V to 5.5 V,
except where noted.
as Dana said: Trust the specs, the EEProm will work al stated in the datasheet. When it is most likely that the temperature changes for more than 10°C between start of EEProm and an erase/write cycle you should call the API to deliver the actual temp to the component.
From the component datasheet -
It is necessary to acquire the die temperature by calling the CySetTemp() before a series of EEPROM write operations. The CySetTemp() function queries SPC for the die temperature and stores it in a global variable, which is used while performing EEPROM write operations. If the application is used in an environment where the die temperature changes 5°C or more, the temperature should be refreshed to adjust the write times for the optimal performance.