cancel
Showing results for 
Search instead for 
Did you mean: 

I2C interface master example

moshikome
Associate II
Posted on May 30, 2003 at 15:36

I2C interface master example

2 REPLIES 2
moshikome
Associate II
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.

joseph2399
Associate II
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.