This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM2434: SDK EEPROM driver question

Part Number: AM2434

Tool/software:

After completing EEPROM page write, I need to wait for write cycle time before starting the next write. If I don't want to wait for this write cycle time, Is there any flag can be used to check if the eeprom write cycle time is completed before starting next write?

  • Hello Cheng ,

    Please allow me today time and I will get back to you in one or two days .

    Regards,

    Anil.

  • Hello Cheng,

    Sorry for the delayed reply.

    I have looked at the datasheet and there is no status for the completion of the writing operation.

    But, as per datasheet, if master device send an address and followed by data for each transaction there is an ACK signal.

    Based on this ack signal, the user can request a new writing or read operations.

    For example, currently there is an example which supports I2C interrupt mode.

    Here, users give information about device address , eeprom starting address and how many bytes should be written on the EEPROM memory .

    And, the I2C driver gives write call back support after completion of all bytes written on the EEPROM.

    In this call back you can set one flag. Based on this flag, you can initiate new transfer and clear this flag.

    Other than this method, there are no other methods to monitor the status of write completion.

    Regards,

    Anil.