AnsweredAssumed Answered

how to implement a SLAVE-mode MQX i2c driver??

Question asked by Wade Miller on Nov 10, 2010
Latest reply on Sep 14, 2011 by Aaron Linsdau

Hello all.  I am currently running MQX v3.6.0 on an MCF52259, and have a Master i2c driver working great on one of the 2 i2c ports on this processor.

 

Now, I need to implement a slave driver on the other port, as this processor is one of many that exist as 'slaves' on a system-wide 400k bus.

 

My problem is, I see no documentation on how to do this, and I'm not finding much of anything on these forums.  Implementing a slave-mode driver does not appear to be as straight-forward as the master-mode driver was.  I mean, yes... obviously there is a 'slave mode' IOCTL call that I'm setting, and the slave's station address... my question is what do I do at that application layer to service this driver?

 

Any pointers in the right direction would be great!

 

Thanks.

Outcomes