Quantcast
Channel: Digital I/O topics
Viewing all articles
Browse latest Browse all 2194

I2C bus monitoring

$
0
0

Hello all, 

I have a RIO evaluation kit and I use 2 of its digital I/O to control an I2C bus as a master and now I have many I2C slave devices which i want to get a data from each one by writting the address of a slave device and draw it as graph !! 

anyone can help me please .. 

may be at first how to detect the start condition where the serial data (SDA DI/O) and serial clock (SCL other DI/O) are both high then the SDA goes low after it the SCL goes to low ... and after the start condition the address of the slave come and data and so on...

 

thanks in advance   

 

Mustafa 


Viewing all articles
Browse latest Browse all 2194