Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4644

General • Raspberry Pi and Pi Pico as i2c slave

$
0
0
It might be stupid question and answered before - but I just cannot find any references to it: has anyone connected Pi Pico as i2c slave to Raspberry Pi (5 in this case)?

I have made a small program as per this nice library https://github.com/vmilea/pico_i2c_slave and example where i2c0 acts as slave and i2c1 as master on the same Pi Pico works perfectly well. But, when connected i2c0 to Raspberry Pi 5 - i2cdetects finds nothing. (just in case - by connected - I mean GND, SDA and SCL pins connected only as Pi Pico has its own power supply for 3.3V and RPi its own).

I have tried to explicitly set speed of RPi i2c to 100kHz, to put 4k7 pull ups on RPi's and then Pi Pico's 3.3V - and still nothing. I have even tried with using RPi's USB to power Pi Pico - still nothing.

(I have double checked if RPi5 can see some other devices - and it works well, too - with pull ups on RPi's 3.3V of course)

I must be missing something somewhere...

Any ideas what to try next?

Statistics: Posted by clicky — Sat Jun 22, 2024 8:30 pm — Replies 0 — Views 60



Viewing all articles
Browse latest Browse all 4644

Trending Articles