AT24CXX datasheet, AT24CXX circuit, AT24CXX data sheet: ATMEL – 2-Wire Serial EEPROM,alldatasheet, datasheet, Datasheet search site for Electronic. AT24CXX 2-wire Serial Eeprom Features. (VCC (VCC to V) Internally Organized 8 (16K) Two-wire Serial Interface Schmitt Trigger, Filtered Inputs for. The AT24Cxx EEPROM carrier board is module for easily adding I2C enabled non-volatile storage to AT24C02 Serial EEPROM ; application/ pdf.
|Published (Last):||5 October 2016|
|PDF File Size:||12.47 Mb|
|ePub File Size:||5.1 Mb|
|Price:||Free* [*Free Regsitration Required]|
If I understand it this being on the I2C bus will need a separate address how do I find this or does it some how use the same address as the DS chip?
AT24CXX EEPROM Board A tool for EEPROM with I2C interface, AT24Cxx on board
PaulS Brattain Member Posts: Did you try that? The art of getting good answers lies in asking good questions. You need to be careful. When you write, you write only to that page. I put together a library to help me keep track of things.
RandallR, Is this the only place where you publish you code? Wt24cxx could add it to the Playground. I like your code, because it handles the page boundery for me. But is the 50ms delay necessary? If it is omitted, is the Wire. I have daasheet a test with the 24C64A. I used ReadMem and WriteMem with a buffer.
AT24CXX EEPROM Board (Waveshare) with I2C interface, AT24Cxx on board
If there are wrong read bytes, the return value is still normal. So the return value doesn’t show an error. I removed the delay of 50ms and added a delay of 5ms outside the adtasheet, just before the return. That result is also good. So it is not the writing that needs a delay, but only the first read after writing.
I don’t know what to test else, and I don’t understand the delay. Yes, I am sort of still working on it. But it looked like someone needed the code.
Also, I do not know how to post to the “Playground”.
The Playground is a wiki, and this a forum. It has a totally different style of writing.
If you save it, you can go to you new created page by clicking on it, and start writing your page. RandallR, I think I found the problem.
I checked the return datasheett of the Wire library, and was able to generate some errors. Without the delay of 50ms, the device could be busy. In that case, every Wire. Both while writing and reading.
And if an error occured, some time 5ms should be waited before trying again. That would increase the code size, but reading and writing would be fast.
A much simpler solution is to change your delay in the loop to 5ms, and add also a delay of 5ms to the other WriteMem function the byte write version. Also other examples at the Playground use a delay: I can’t a24cxx any error. So that’s what I’m using now. I assume that 5ms is enough, since the datasheet of the AT24C64A says that writing is finished within 5ms.