??? 09/20/08 09:08 Read: times |
#158431 - What problem? Responding to: ???'s previous message |
Arvind Shrivastava said:
I am facing a problem in writing and reading floating values in EEPROM. You haven't actually said what problem you are facing! For single BYTE read and write the code is working fine, but not for the FLOAT values. The EEPROM knows absolutely nothing about FLOAT. As far as the EEPROM is concerned, it's all just bytes - it's up to you to store the FLOAT as a sequence of bytes. If you can store individual bytes, but not the sequence of bytes for a float, timing could be an issue - are you sure that you wait for the previous operation to complete before starting the next...? |
Topic | Author | Date |
problem in FLOAT values in AT24C512 EEPROM | 01/01/70 00:00 | |
What problem? | 01/01/70 00:00 | |
reply | 01/01/70 00:00 | |
So how do you know it's the EEPROM? | 01/01/70 00:00 | |
serial EEPROM | 01/01/70 00:00 | |
read CODE ... | 01/01/70 00:00 | |
why do you think it IS the code? | 01/01/70 00:00 | |
What are the possibilities? | 01/01/70 00:00 | |
Other possibilities | 01/01/70 00:00 | |
Reads clock 9 bits too | 01/01/70 00:00 | |
Also seeming to be missing... | 01/01/70 00:00 | |
On Sequential reads, the eeprom | 01/01/70 00:00 | |
Acknowledge bit | 01/01/70 00:00 | |
You are right Henry. It should be 'bit'. | 01/01/70 00:00 | |
code is given ... plz read ... | 01/01/70 00:00 | |
But, Arvind, you DON'T send the ACK after reading! | 01/01/70 00:00 | |
What code? What tests? | 01/01/70 00:00 | |
try to read your name | 01/01/70 00:00 | |
commented code ... | 01/01/70 00:00 | |
Where is your 9th clock in Read... | 01/01/70 00:00 | |
Dan Henry has already found the mistake!![]() | 01/01/70 00:00 |