Reference

Last revision 2026/01/08

This article provides detailed insights into the communication protocols of the Beetle RP2350, focusing on UART, I2C, and SPI interfaces and their respective pin configurations in the Arduino development environment.

Communication Protocol Description

UART Communication

In the Arduino development environment, the Beetle RP2350 defaults to 2 sets of UART communication interfaces: UART1, UART2

The following is the definition of the UART interface in the RP2350:

#define PIN_SERIAL1_TX (0u)
#define PIN_SERIAL1_RX (1u)

#define PIN_SERIAL2_TX (8u)
#define PIN_SERIAL2_RX (9u)

I2C Communication

Beetle RP2350 provides 1 set of I2C communication interface: I2C0. The pin distribution is as follows:

Pin Number I2C Function
4 I2C0/SDA
5 I2C0/SCL

In Arduino, I2C0 is used as the default I2C interface.

SPI Communication

The SPI communication interface pin distribution of Beetle RP2350 is as follows:

Pin Number SPI Function
16 SPI0/MISO
18 SPI0/SCK
19 SPI0/MOSI

Other Supplementary Information

Was this article helpful?

TOP