Page 1 of 1

Use RP2040 in I2C slave mode

Posted: Sat Nov 27, 2021 12:52 pm
by pollux
Hi, I want to connect several RPi Picos and SparkFun Pro Micro RP2040 by using I2C protocol. Later I want to build a PCB with several RP2040.

The RP2040 supports being used as I2C slave, according to the datasheet. But unfortunately the machine.I2C library doesn’t implement it. Does anyone know a way to circumvent this?

Re: Use RP2040 in I2C slave mode

Posted: Sun Nov 28, 2021 3:14 am
by sonnybalut
Hi,

Pico i2c slave code snippet link below.

http://www.crus.in/codes/espruino_pico_i2c.txt

Sonny