Skip to main content
Visitor II
October 13, 2009
Question

STR9 as I2C 10-bit Master transmitter

  • October 13, 2009
  • 2 replies
  • 654 views
Posted on October 13, 2009 at 17:16

STR9 as I2C 10-bit Master transmitter

    This topic has been closed for replies.

    2 replies

    johann2Author
    Visitor II
    May 17, 2011
    Posted on May 17, 2011 at 09:59

    Hi all,

    I'm implementing on STR91 I2C communication with an I2C EEPROM.

    The initialisation was done and I can send addresses and data to EEPROM but only in 7-bit Master transmitter/receiver mode.

    Now I would like to use 10-bit Master transmitter/receiver mode but I can't find any information how to initialise I2C on STR91 in 10-bit mode.

    In 10-bit Master mode STR91 have to send first a Header and after EV9 the Address. It sounds simple, but I never get the EV9 event and ADD10 bit is never set.

    On my mind Header contains device code, 3 MSBits of address and R/W flag. Or I'm wrong?

    Perhaps someone can help me to solve this problem.

    Thanks!

    Best Regards

    Ivunin

    Visitor II
    May 17, 2011
    Posted on May 17, 2011 at 09:59

    Do you send a proper first address byte? Its format is 11110xxS, where XX are 8- and 9-th bits, S is R/\W. Read Philips I2C spec on the net, chapters 14 and 14.1.