Problem to write data in EEPROM in AT24C1024
Discussion in "Project Addition or Changes" started by jigneshdoshi Jun 13, 2017.
Tue Jun 13 2017, 09:40 am
Hello All,
I am communicate AT24C1024 EEPROM with MSP430F6659 Microcontroller.
If i try to write 1 in LSB of my data then it may be microcontroller hang or it will rotate in one loop and when i write 0 then it can work proper.
But when i use MSP430F149 Microcontroller and program & EEPROM are same then it can work properly.
So what is problem occur?
I am communicate AT24C1024 EEPROM with MSP430F6659 Microcontroller.
If i try to write 1 in LSB of my data then it may be microcontroller hang or it will rotate in one loop and when i write 0 then it can work proper.
But when i use MSP430F149 Microcontroller and program & EEPROM are same then it can work properly.
So what is problem occur?
Tue Jun 13 2017, 11:09 pm
Hi
Really we need more information about what you are doing.
Can you post examples of code that works
and code that does not work.
Really we need more information about what you are doing.
Can you post examples of code that works
and code that does not work.
Wed Jun 14 2017, 11:40 am
Please find attachment for CODE.
in this code in "write_i2c(0x02);" routine if i pass 0x01 then Microcontroller Hang and if i pass 0x02 then it can work proper.
That means if i pass 0 as LSB than it is work proper.
in this code in "write_i2c(0x02);" routine if i pass 0x01 then Microcontroller Hang and if i pass 0x02 then it can work proper.
That means if i pass 0 as LSB than it is work proper.
Tue Jul 04 2017, 10:02 am
Did you miss the attachment? I think I2C implementation might be an issue.
Powered by e107 Forum System