Re: i2c-slave-testunit over i2c-gpio bus

Matwey V. Kornilov
2025-02-18T09:46:44Z

вт, 18 февр. 2025 г. в 12:44, Wolfram Sang <wsa@sang-engineering.com>:
>
> Hi,
>
> > As far as I learned from the i2c-gpio source, the module doesn't
> > introduce itself as i2c slave compatible. Do I understand it
> > correctly? If so, would it have any sense to add i2c slave support for
> > i2c-gpio?
>
> No, i2c-gpio is not suitable for this. It would mean Linux had to read
> the GPIOs constantly to not miss anything, e.g. the remote controller
> starting a communication. With all the latencies involved in running the
> system, this cannot be guaranteed. You need dedicated HW for that.

Thanks. But isn't it possible to attach an interrupt handler to SCL
GPIO? Or do you mean that the latency for IRQ handling is too high?

>
> Sorry for no better news,
>
> Wolfram
>