I2C bufferd transfer?

12 Jan 2012

Hey guys!

I am reading some sensor values via I2C bus. The frequency is about 100kHz. There must be a really high frequent reading of sensors, and there is a lot of computing with this data.

The problem is, reading all sensors takes about 2ms. This is pure I2C transmission. But the reading takes too much time, I need for computing.

An interrupt driven I2C Master, that is buffering all incoming and outgoing data, for fast use would be perfect. Is there such an implementation?

03 May 2012

Hey, no support?

03 May 2012

Hello,

although the hardware would be capable of handling interrupt-driven I2C there's no library available. I'd very appreciate to have, but I think the development team has more urgent tasks to do. If your programming skills are more sophisticated than mine you could look for "driver library" on the mbed-website, there you can see how interrupt-driven I2C could be done. If not, you'll have to wait - like me, too...

Michael