Skip to main content
Visitor II
November 5, 2015
Solved

m24lr64r write problem

  • November 5, 2015
  • 1 reply
  • 850 views
Posted on November 05, 2015 at 15:12

The original post was too long to process during our migration. Please click on the attachment to read the original post.
    This topic has been closed for replies.
    Best answer by Rene Lenerve
    Posted on November 13, 2015 at 14:38

    Hello,

    When writing in the EEPROM you must wait until the internal process of writing finished before writing again. You have 2 manners to do it.

    First one, you wait for a delay of tw (defined in the Table 122 of the datasheet) before writing again, but this delay is the maximum time for writing.

    Or Second One, if you don't want to wait that long, you can minimize system delays by polling on ACK. This procedure is described in the datasheet of the M24LR chapter 5.10.

    I hope this can be helpful,

    Have a nice day.

    1 reply

    ST Employee
    November 13, 2015
    Posted on November 13, 2015 at 14:38

    Hello,

    When writing in the EEPROM you must wait until the internal process of writing finished before writing again. You have 2 manners to do it.

    First one, you wait for a delay of tw (defined in the Table 122 of the datasheet) before writing again, but this delay is the maximum time for writing.

    Or Second One, if you don't want to wait that long, you can minimize system delays by polling on ACK. This procedure is described in the datasheet of the M24LR chapter 5.10.

    I hope this can be helpful,

    Have a nice day.