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

General • Re: RP2354A Simultaneous I2C master and slave?

$
0
0
I have a bit of an odd question, I'm working on a custom PCB with the RP2350A and was wondering whether its possible to configure the RP2354A as both an I2C master and slave at the same time?
The slave_mem_i2c example in pico-examples does this.

Code:

// For this example, we run both the master and slave from the same board.// You'll need to wire pin GP4 to GP6 (SDA), and pin GP5 to GP7 (SCL).

Statistics: Posted by trejan — Wed Jan 14, 2026 7:34 pm



Viewing all articles
Browse latest Browse all 8015

Trending Articles