According to documentation it is possible but i couldn't find any information on how to do it.Previous Pi models did not support operation as an I2C slave. I'm not sure if that is the case on the Pi 5 too.
Also in documentation you can find:
and:The I2C block must be programmed to operate in master or slave mode only. Operating as a master and slave
simultaneously is not supported.
I'm only speculating and i don't have much experience but as i understand you have to write something to some specific registers and then reset I2C block or perhaps it's possible to do it using device tree, unfortunately there is no description of the I2C registers in documenation. I'd be really glad if anyone could help.• Master by default (Slave mode disabled at reset)
Statistics: Posted by v1s10n — Thu May 23, 2024 5:45 am