AT24CM02-SSHD I2C ERROR
I use STM32F767NIH6.
I save data to AT24CM02-SSHD with I2C.
However, I divide it into several areas and save the necessary data.
For example, I save data such as setting values, measurement values, etc. separately.
However, when saving data in some areas, it is not saved properly, and an ERROR occurs in the code and it is passed to Serial communication.
I need help to solve this problem.
+
I checked while testing and found that
Writing to the first page (Device Address Byte's A17, A16 are 0,0) works normally.
However, when writing data to another page, an error code is output from the code.
However, the symptom that is confirmed at the same time is that when writing to the first page, both the clock signal and the data signal are confirmed when measuring SDA and SCL with an oscilloscope. However, when writing to another page, SDA only maintains a HIGH state and SCL only maintains a LOW state.
