First of all, the hardware circuit must be checked to see if there is any problem. The waveform can be observed to examine whether or not the voltage on the bus can be kept above 1.71V during the writing.
Secondly, the sequence of commands should be examined to see if it is strictly following page 16 of the data sheet. As shown in the figure below,
the commands must be issued strictly according to the sequence in the figure, and the release operation should be executed once for each data issued. Then the entire sequence within the Repeat should be cycled.
The sequence cannot be changed. For example, if it is read once after the continuous writing of several data, this operation is not in compliance with the sequence in the data sheet. It could result in a writing failure.