Quantcast
Channel: Forum - Recent Threads
Viewing all articles
Browse latest Browse all 5781

Multiple I2C slaves on r_iic

$
0
0

Hello,

I'm sorry to almost duplicate other discussions here.  I could not find anything that was close enough to my problem that I could generalize.

I'm using SSP 1.1.3 on S7G2 based system.  I'm using ThreadX.

I have multiple I2C slaves on riic0.  

To configure, I create multiple instances of the the I2C driver on riic0.  The channel remains the same: 0.  The instance name and slave address change.  Can you confirm this is correct?

Can I use a separate callback for each?  Do I have the option of sharing a callback if that fits my design?

Thanks!

Steve

 


Viewing all articles
Browse latest Browse all 5781

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>