AnsweredAssumed Answered

Multi-master I2C example for STM32F0 (with CPAL)

Question asked by Moonen.Arno on Feb 9, 2016
Latest reply on Feb 17, 2016 by Moonen.Arno
Hi,

I'm looking for an example of a multi-master I2C configuration with the CPAL library (or a newer library if that works better / easier).
I currently have my application switching between master and slave mode, but this seems to be rather slow and it does not check if the I2C line is "busy" (in other words: another Master is already providing the clock and communicating with this/another device).
Anyone here that can help me?

PS: The user manual supplied with the CPAL mentions an example that uses the special Slave Listen mode. However, this example is not included, nor is that Listen mode defined in the actual sources.

Kind regards,
Arno Moonen

Outcomes