Writing to and reading from ST25DV04KC through i2c.
Hello ALL.
I am reading this from the ST25DV04KC datasheet:
"During the internal write cycle, the device disconnects itself from the bus, and writes a copy of the data from its
internal latches to the memory cells. The maximum I²C write time (tw) is shown in Table 251. I²C AC
characteristics up to 85 °C and Table 252. I²C AC characteristics up to 125 °C, but the typical time is shorter."
The value of I²C write time in Table 251 is ~5 ms.
I wrote a test function, which writes a 16-byte array to the user memory and tries to read it back. I really see that if the delay between writing and reading is about 800 us, reading fails because I don't get ACK. It works if I write and read e.g. from two separate console commands.
Are my observations right, and is it really necessary to wait for ~5ms or do ACK polling tests or do I have a bug in my code?
Thanks.
