I have MK60DN512VLL10 that has its I2C1 connected to EEPROM (ST Microelectronics - datasheet pdf) M24256-BWDW6
I removed the pull up on WC signal above.
following the above write sequence in my application I have:
Then based on the read sequence:
My read looks like:
But this returns me 0xff (printf result is 0xff 0x0 0x0 0x0 0x0), that means either I did not write or I cannot read?
As you can see from the above code snippets, my I2C1 is interrupt based:
Can someone tell me what is wrong? And why I cannot write/read EEPROM?