Skip to main content
Visitor II
August 26, 2004
Question

Header byte and address transmission b/n M24C08 and STR710F

  • August 26, 2004
  • 2 replies
  • 756 views
Posted on August 26, 2004 at 07:15

Header byte and address transmission b/n M24C08 and STR710F

    This topic has been closed for replies.

    2 replies

    Visitor II
    August 24, 2004
    Posted on August 24, 2004 at 05:12

    Hi

    In 7 bit addressing mode, how do you send the device select code.

    The Transfer Sequencing provided in Page 242 of STR710F hardware reference manual indicates transmission of the address byte after generation of START ( no header transmission). But the EEPROM M24C08 will not respond unless he receives a slave address( device select code). When is the Slave address transmitted in the 7 bit mode by STR710?

    Visitor II
    August 25, 2004
    Posted on August 25, 2004 at 15:08

    Hi,

    The EEPROM M24C08 needs to receive the device select Code in order to receive

    This Device select codes corresponds to the Address (which is sent directly after START generating) page 242 STR710F hardware reference manual.

    After sending the address (the device select code) you need after that to send the first byte address of the memory where you want to perform Read Write operations.

    Example:

    If the configuration of your EEPROM M24C08 is E2=1; A9=0; A8=0; and you want to write into the address 0x0 of the memory you need to do the following:

    Generate start

    Wait EV5

    Send A0 to the EEPROM

    Wait EV6 ; EV8

    Send 0x0 to the EEPROM

    Wait EV8

    Write your data

    Regards

    Note : If you need more information you can see application note AN1782 ''STR71x I2C Communication with M24Cxx EEPROM''