Rene Stange

Results 116 comments of Rene Stange

The Circle I2C slave driver is simple polling driver. The I2C slave peripheral in the Raspberry Pi supports interrupts, but this is not used here. When more bytes are requested...

Did this work for you or do we need an interrupt driven I2C slave?

Hi Brad, OK, let me know, when polling I2C is not fast enough. Rene

Hi Brad, yes, you are right, it blocks and there is no way out with the current implementation. Please give me two days for an update, which is also in...

I added a timeout parameter to `CI2CSlave::Read()` and `CI2CSlave::Write()` as a more generic solution. When you specify `TimeoutNone` as 3rd parameter, you should get the same behavior, as suggested by...

Thanks Brad for info. No problem.

Hi Brad, it should be possible to extend the I2C slave receiver with an IRQ mode. The [hardware spec.](https://datasheets.raspberrypi.com/bcm2835/bcm2835-peripherals.pdf) (pg. 160) mentions a RXINTR, but because I never used it...

So that it is not lost, attached there is a slightly modified *sample/16-i2cping/slave*, which contains a I2C slave driver in the files *i2cslaveirq.\**. The I2C receiver in this driver is...

While porting the I2C master driver for the Raspberry Pi 5, I discovered [this](https://github.com/raspberrypi/linux/blob/223d1247c0b0c0659a65949b6b9c3de53fd14223/drivers/i2c/i2c-core-base.c#L200). How it seems, the I2C bus recover must be done by the I2C master, which is...

No problem Brad. Understood.