Skip to main content
Visitor II
May 30, 2003
Question

I2C interface master example

  • May 30, 2003
  • 2 replies
  • 875 views
Posted on May 30, 2003 at 15:36

I2C interface master example

    This topic has been closed for replies.

    2 replies

    moshikomeAuthor
    Visitor II
    May 17, 2011
    Posted on May 17, 2011 at 11:54

    Hi,

    I wanted to know where can i find examples for I2C implementation code for master role .

    Thanks.

    Visitor II
    May 17, 2011
    Posted on May 17, 2011 at 11:54

    After setting bits 6&7 of P3SFS (to enable I2C fn on these pins) and setting the CLK freq bits in S2CON, Write slave address data to S2DAT, and set STA.