Support Forum

Share your projects and post your questions

Register   or   Sign In
The Forum

Can i2c operate in Slave Mode?

445 Views - Created 16/01/2023

16/01/2023

Posted by:
seanbolton

seanbolton Avatar

Hi

I want to be able to configure a Raspberry Pi device as an i2c slave device.

Is this possible with any of the abel electronics I2C add on modules?

Sean

16/01/2023

Posted by:
andrew

andrew Avatar

Location:
United Kingdom

andrew Twitter  andrew Website  

Hi Sean

As far as I am aware, it is not possible to configure a Raspberry Pi as an I2C slave device, and none of our add-on modules would allow you to do this.

16/01/2023

Posted by:
seanbolton

seanbolton Avatar

OK Thanks for the reply.

I did find an example project for the Raspberry Pi Pico board which enables slave mode.

https://pypi.org/project/picoslave/

I haven't tried it yet but from the description it looks like it will support i2c slave mode.

I am not sure if this is for the Pi Pico only and not possible on other Pi's e.g. Pi 4.

regards

Sean

16/01/2023

Posted by:
andrew

andrew Avatar

Location:
United Kingdom

andrew Twitter  andrew Website  

The Pico uses a different I2C controller to the full-size Pi boards like the Pi 4, so the picoslave project code will only work on the Pico.

Sign in to post your reply

Note: documents in Portable Document Format (PDF) require Adobe Acrobat Reader 5.0 or higher to view.
Download Adobe Acrobat Reader or other PDF reading software for your computer or mobile device.