Waveshare RP2350-Matrix

The RP2350 SoC [37] by Raspberry Pi Ltd. is a small sized and low-cost 32-bit dual ARM Cortex-M33 and dual 32-bit Hazard3 RISC-V (RV32IMAC+) microcontroller and predestined for versatile board designs. The Waveshare RP2350 board series based on this microcontroller offers a wide range with different scaling factors, in size, features and interfaces for communication, input and output.

Board Overview

Hardware

The RP2350-Matrix [14] is a special sized RP2350 development board. The on-board USB-C connector makes it compatible to future standards. It comes with an on-board 8×8 RGB LED matrix for colorful lighting displays or simple images.

Features and Resources

Printed Circuit Board

5V/480㎃ 3.3V/800㎃ 3.3V(OUT)

150㎒ 16㎆ 520㎅ RST RGB(8×8) LED(8×8) 6-DOF USB-C UF2

11 5 4 1 1 2

  • Dual core Arm Cortex-M33 and dual core Hazard3 (RV32IMAC+) RISC-V processor running up to 150㎒

  • 520㎅ on-chip SRAM

  • 16㎆ on-board QSPI flash with XIP capabilities

  • USB 1.1 controller (host/device)

  • On-board USB-C connector

  • On-board 3.3V LDO regulator with 800㎃

  • On-board RESET button

  • On-board BOOT button

  • On-board 6-DOF IMU sensor

  • On-board 8×8 RGB LED matrix (strip)

  • RGB888, 24-bit color depth

  • 2 INT signals from IMU sensor

  • 11 GPIO pins via edge pinout

  • 2 UART peripherals via edge pinout

  • 1 I2C controllers via edge pinout

  • 1 SPI controllers via edge pinout

  • 5 PWM channels via edge pinout

  • 4 ADC analog inputs via edge pinout

  • 12 Programmable I/O (PIO) state machines for custom peripherals

  • 1 Watchdog timer peripheral

  • 1 Temperature sensor on-chip

Design Data

Waveshare RP2350-Matrix

Positions

Waveshare RP2350-Matrix details
  1. RP2350A

  2. On-board flash memory
    16㎆ NOR-Flash P25Q128HA-SUH-IR (W25Q128JV)
  3. QMI8658A
    6D MEMS IMU sensor (3-axis accelerometer, 3-axis gyroscope)
  4. Dout pin
    for extending RGB matrix
  5. RESET button

  1. USB Type-C connector
    Supports USB1.1 hosts and slave devices
  2. BOOT button
    press it when resetting to enter download mode
  3. ME6217C33
    800㎃ low dropout, low noise, ultra-fast LDO
  4. 8×8 WS2812B
    cascaded RGB LED matrix

Data Sheets

Flash partitions

QSPI NOR-Flash

code_partition

storage_partition

primary 16㎆

1㎆

15㎆

secondary N/A

–

–

Pinouts

The peripherals of the RP2350 SoC [37] can be routed to various pins on the board. The configuration of these routes can be modified through DTS. Please refer to the datasheet to see the possible routings for each peripheral. The default assignments for the board is defined below.

External pin mapping on the RP2350-Matrix is not identical to the original Raspberry Pi Pico board. Almost all pins are rearranged in a more compact order. Likewise, the voltage sense and monitoring functions are not integrated. Thus all internal RP2350 GPIO lines are available for free use, insofar there is sufficient space for them on the outer edge of the board.

Only GPIO line 25 is exclusively routed to the on-board user 8×8 RGB LED array. The analog voltage reference is internally hard-wired to the digital 3.3V power supply and only decoupled by a simple resistor. There is no option to change this from outside the board.

Pin Mapping

Pinout

on-edge(1-23):

5 3 4 1 1 1

on-pads(A-H):

6 2 1

on-board:

RGB(8×8) LED(8×8) 6-DOF

Default Zephyr Peripheral Mapping

 

  • A UART0_TX : GP0 (PWM0)
  • B UART0_RX : GP1 (PWM1)
  • C (UART0_CTS) : GP2 (PWM2)
  • D (UART0_RTS) : GP3 (PWM3)
  • E (UART0_DSR) : GP4 (PWM4)
  • F (UART0_DTR) : GP5 (PWM5)
  • nc I2C1_SDA : GP6 (PWM6)
    on-board IMU sensor i/f data IMU_SDA
  • nc I2C1_SCL : GP7 (PWM7)
    on-board IMU sensor i/f clock IMU_SCL
  • nc 6-DOF : GP8 (PWM8)
    on-board IMU sensor i/f interrupt IMU_INT1
  • nc 6-DOF : GP9 (PWM9)
    on-board IMU sensor i/f interrupt IMU_INT2
  • 1 UART1_TX : GP10 (PWM10)
  • 2 UART1_RX : GP11 (PWM11)
  • 3 I2C0_SDA : GP12 (PWM12)
  • 4 I2C0_SCL : GP13 (PWM13)
  • 5 PIO/PWM : GP14 (PWM14)
  • 6 PIO/PWM : GP15 (PWM15)
  • 7 SPI0_RX : GP16 (PWM0)
  • 8 SPI0_CSN : GP17 (PWM1)
  • 9 SPI0_SCK : GP18 (PWM2)
  • 10 SPI0_TX : GP19 (PWM3)
  • G (UART0_DCD) : GP20 PWM4
  • H (UART0_RI) : GP21 PWM5
  • 11 PIO/PWM : GP22 PWM6
  • 12 PIO/PWM : GP23 PWM7
  • 13 PIO/PWM : GP24 PWM8
  • nc RGB : PIO0 : GP25 (PWM9)
    nc on-board user RGB_LED_DI
  • 14 ADC_CH0 : GP26 (PWM10)
  • 15 ADC_CH1 : GP27 (PWM11)
  • 16 ADC_CH2 : GP28 (PWM12)
  • 17 ADC_CH3 : GP29 (PWM13)
  • 18 3V3(OUT)
  • 19 GND
  • 20 VSYS

Devicetree compatible

Waveshare RP2350-Matrix edge pinout

Supported Features

Similar to the Raspberry Pi Pico 2 the board configuration supports the following hardware features:

Hardware Features Supported by Zephyr

Peripheral

Kconfig option

Devicetree compatible

Zephyr API

PINCTRL

CONFIG_PINCTRL

raspberrypi,pico-pinctrl

Pin Control API

GPIO

CONFIG_GPIO

raspberrypi,pico-gpio

General-Purpose Input/Output (GPIO)

UART

CONFIG_SERIAL

Universal Asynchronous Receiver-Transmitter (UART)

UDC (USB Device Controller)

CONFIG_USB_DEVICE_STACK_NEXT

raspberrypi,pico-usbd

USB device support APIs

I2C

CONFIG_I2C

raspberrypi,pico-i2c

Inter-Integrated Circuit (I2C) Bus

SPI

CONFIG_SPI

Serial Peripheral Interface (SPI) Bus

PWM

CONFIG_PWM

raspberrypi,pico-pwm

Pulse Width Modulation (PWM)

ADC

CONFIG_ADC

raspberrypi,pico-adc

Analog-to-Digital Converter (ADC)

Temperature (Sensor)

CONFIG_SENSOR

raspberrypi,pico-temp

Sensors

Timer (Counter)

CONFIG_COUNTER

raspberrypi,pico-timer

Counter

Watchdog Timer (WDT)

CONFIG_WATCHDOG

raspberrypi,pico-watchdog

Watchdog

Flash

CONFIG_FLASH

raspberrypi,pico-flash-controller

Flash and Flash map

PIO

CONFIG_PIO_RPI_PICO

raspberrypi,pico-pio

N/A

UART (PIO)

CONFIG_SERIAL

raspberrypi,pico-uart-pio

Universal Asynchronous Receiver-Transmitter (UART)

SPI (PIO)

CONFIG_SPI

raspberrypi,pico-spi-pio

Serial Peripheral Interface (SPI) Bus

WS2812 (PIO)

CONFIG_LED_STRIP

worldsemi,ws2812-rpi-pico-pio

N/A

DMA

CONFIG_DMA

raspberrypi,pico-dma

Direct Memory Access (DMA)

HWINFO

CONFIG_HWINFO

N/A

Hardware Information

VREG

CONFIG_REGULATOR

raspberrypi,core-supply-regulator

Regulators

RESET

CONFIG_RESET

raspberrypi,pico-reset

Reset Controller

CLOCK

CONFIG_CLOCK_CONTROL

Clock Control

NVIC

N/A

arm,v6m-nvic

Nested Vector Interrupts Controller

SYSTICK

N/A

arm,armv6m-systick

Other hardware features are not currently supported by Zephyr. The default configuration can be found in the different Kconfig files:

Board Configurations

The board can be configured for the following different use cases.

west build -b waveshare_rp2350_matrix/rp2350a/hazard3_0

Use the serial port UART0 on edge header as Zephyr console and for the shell. Running on Hazard3/RISC-V core. EXPERIMENTAL

west build -b waveshare_rp2350_matrix/rp2350a/hazard3_0 -S usb-console

Use the native USB device port with CDC-ACM as Zephyr console and for the shell. Running on Hazard3/RISC-V core. EXPERIMENTAL

west build -b waveshare_rp2350_matrix/rp2350a/m33_0

Use the serial port UART0 on edge header as Zephyr console and for the shell. Running on Cortex-M33 core.

west build -b waveshare_rp2350_matrix/rp2350a/m33_0 -S usb-console

Use the native USB device port with CDC-ACM as Zephyr console and for the shell. Running on Cortex-M33 core.

Connections and IOs

The Waveshare wiki [13] has detailed information about board connections. Download the different schematics or datasheets as linked above per board for more details. The pinout diagrams can also be found there.

System Clock

The RP2350A [37] MCU is configured to use the 12㎒ external crystal with the on-chip PLL generating the 150㎒ system clock. The internal AHB and APB units are set up in the same way as the upstream Raspberry Pi Pico C/C++ SDK [11] libraries.

GPIO (PWM) Ports

The RP2350A [37] MCU has 1 GPIO cell which covers all I/O pads and 8 PWM function unit each with 2 channels beside a dedicated Timer unit. The channels A and B of PWM2 are available on the Waveshare RP2350 Matrix PCB Pads, the channels A nd B of PWM3 and channel A of PWM4 are available on the Waveshare RP2350 Matrix header.

ADC/TS Ports

The RP2350A [37] MCU has 1 ADC with 4 channels and an additional fifth channel for the on-chip temperature sensor (TS). The ADC channels 0-3 are available on the Waveshare RP2350 Matrix header.

The external voltage reference ADC_VREF is directly connected to the 3.3V power supply.

SPI Port

The RP2350A [37] MCU has 2 SPIs. To the edge connectors, SPI0 is usable for external devices over GP19 (MOSI), GP16 (MISO), GP18 (SCK), and GP17 (CSn) on the Waveshare RP2350 Matrix header. SPI1 is not available in any default setup.

I2C Port

The RP2350A [37] MCU has 2 I2Cs. To the edge connectors, I2C0 is usable for external devices over GP12 (I2C0_SDA), and GP13 (I2C0_SCL), on the Waveshare RP2350 Matrix header.

The I2C1 is connected internally over GP6 (I2C1_SDA) and GP7 (I2C1_SCL) to the on-board 6D/IMU sensor (accelerometer and gyroscope).

Serial Port

The RP2350A [37] MCU has 2 UARTs. One of the UARTs (UART1) is connected to external devices over GP10 (TX) and GP11 (RX) on the Waveshare RP2350 Matrix header and is the Zephyr console. UART0 is available on the Waveshare RP2350 Matrix PCB Pads, optional with full featured EIA 232D modem signals.

USB Device Port

The RP2350A [37] MCU has a (native) USB device port that can be used to communicate with a host PC. See the USB sample applications for more, such as the USB CDC ACM UART sample sample which sets up a virtual serial port that echos characters back to the host PC. As an alternative to the default Zephyr console on serial port the Bridle USB Console Snippet (usb-console) can be used to enable CDC ACM and switch the console to USB

USB device idVendor=2e8a, idProduct=000a, bcdDevice= 4.05
USB device strings: Mfr=1, Product=2, SerialNumber=3
Product: RP2350-Matrix (CDC ACM)
Manufacturer: Waveshare (Raspberry Pi)
SerialNumber: B46993A480CF94B1

To integrate specific USB device functions that do not follow a USB standard class, the following alternate identifier numbers are available for the various Waveshare RP2040 and RP2350 boards according to the Raspberry Pi USB product ID list [10]:

RP2040

0x101F:

RP2040-Zero

0x1020:

RP2040-Plus

0x1021:

RP2040-LCD-0.96

0x1039:

RP2040-LCD-1.28

0x103A:

RP2040-One

0x1044:

Power Management HAT (B)

0x1055:

RP2040-ETH

0x1056:

RP2040-Geek

0x1057:

RP2040-Touch-LCD-1.28

0x1083:

RP2040-PiZero

0x1084:

RP2040-Tiny

0x1085:

RP2040-Matrix

0x1086:

RP2040-BLE

0x1087:

PICO-Cam-A

RP2350

0x10B0:

RP2350-Zero

0x10B1:

RP2350-Plus

0x10B2:

RP2350-Tiny

0x10B3:

RP2350-LCD-1.28

0x10B4:

RP2350-Touch-LCD-1.28

0x10B5:

RP2350-One

0x10B6:

RP2350-Geek

0x10B7:

RP2350-LCD-0.96

0x10C3:

RP2350-ETH

 

Programmable I/O (PIO)

The RP2350 SoC [37] comes with three PIO periherals. These are three simple co-processors that are designed for I/O operations. The PIOs run a custom instruction set, generated from a custom assembly language. PIO programs are assembled using pioasm, a tool provided by Raspberry Pi. Further information can be found in the Raspberry Pi Pico C/C++ SDK [11] document, section with title “Using PIOASM, the PIO Assembler”.

Zephyr does not (currently) assemble PIO programs. Rather, they should be manually assembled and embedded in source code. An example of how this is done can be found at drivers/serial/uart_rpi_pico_pio.c or drivers/spi/spi_rpi_pico_pio.c.

Programming and Debugging

Flashing

The board can only be flashed with a UF2 file. There is no SWD connector.

Using UF2

By default, building an application for the board will generate a build/zephyr/zephyr.uf2 file. If the board is powered on with the BOOTSEL button pressed, it will appear on the host as a mass storage device:

USB device idVendor=2e8a, idProduct=000f, bcdDevice= 1.00
USB device strings: Mfr=1, Product=2, SerialNumber=0
Product: RP2350 Boot
Manufacturer: Raspberry Pi
SerialNumber: E9DB4B801D503140

The UF2 file should be drag-and-dropped or copied on command line to the device, which will then flash the board.

RP2350 Boot-ROM

Each RP2350 SoC [37] ships the UF2 compatible [6] bootloader pico-bootrom-rp2350 [12], a native support in silicon. The full source for the RP2350 bootrom at pico-bootrom-rp2350 [12] includes versions A2, A3 and A4 of the bootrom, which correspond to the same silicon revisions, respectively.

Note that every time you build a program for the RP2350, the Pico SDK selects and creates an appropriate image definition and/or partition table block with attributes and precedes it in the firmware. Further information can be found in the RP2350 Datasheet [38], sections with title “Bootrom” and “Processor Controlled Boot Sequence”.

Debugging

The board does not provide any SWD connector, thus debugging software is not possible.

Basic Samples

LED Blinky and Fade

Waveshare RP2350-Matrix WS2812 LED Test Pattern

WS2812 LED Test Pattern by PIO

See also Zephyr sample: LED strip.

On Hazard3 RISC-V (RV32IMAC+)

west build -b waveshare_rp2350_matrix/rp2350a/hazard3_0 -p -d build/waveshare_rp2350_matrix zephyr/samples/drivers/led/led_strip
west flash -d build/waveshare_rp2350_matrix

On ARM Cortex-M33

west build -b waveshare_rp2350_matrix/rp2350a/m33_0 -p -d build/waveshare_rp2350_matrix zephyr/samples/drivers/led/led_strip
west flash -d build/waveshare_rp2350_matrix

Hint

Neither LED Blinky nor LED Fade can be built and executed on this board, because this system has only a digital RGB LED strip. A simple GPIO or PWM control is not possible!

Hello Shell with USB-CDC/ACM Console

Hello Shell

See also Bridle sample: Hello Shell.

On Hazard3 RISC-V (RV32IMAC+)

west build -b waveshare_rp2350_matrix/rp2350a/hazard3_0 -p -S "usb-console" -d build/waveshare_rp2350_matrix bridle/samples/helloshell
west flash -d build/waveshare_rp2350_matrix

On ARM Cortex-M33

west build -b waveshare_rp2350_matrix/rp2350a/m33_0 -p -S "usb-console" -d build/waveshare_rp2350_matrix bridle/samples/helloshell
west flash -d build/waveshare_rp2350_matrix

Simple test execution on target

(text in bold is a command input)

uart:~$ hello -h
hello - say hello
uart:~$ hello
Hello from shell.
uart:~$ hwinfo devid
Length: 8
ID: 0xb3b5b0db15962057

uart:~$ kernel version
Zephyr version 4.5.0

uart:~$ bridle version
Bridle version 4.4.99

uart:~$ bridle version long
Bridle version 4.4.99.0

uart:~$ bridle info
Zephyr: 4.5.0
Bridle: 4.4.99

On Hazard3 RISC-V (RV32IMAC+)

uart:~$ device list
devices:
- clock-controller@40010000 (READY)
  DT node labels: clocks
- reset-controller@40020000 (READY)
  DT node labels: reset
- interrupt-controller (READY)
  DT node labels: intc
- snippet_cdc_acm_console_uart (READY)
  DT node labels: snippet_cdc_acm_console_uart
- timer@400b8000 (READY)
  DT node labels: timer1
- timer@400b0000 (READY)
  DT node labels: timer0
- uart@40078000 (READY)
  DT node labels: uart1 rp2350matrix_serial
- uart@40070000 (READY)
  DT node labels: uart0
- watchdog@400d8000 (READY)
  DT node labels: wdt0
- pio@50200000 (READY)
  DT node labels: ((pio_hw_t *)0x50200000u)
- dma@50000000 (READY)
  DT node labels: dma
- gpio-port@0 (READY)
  DT node labels: gpio0 gpio0_lo
- usbd@50110000 (READY)
  DT node labels: usbd zephyr_udc0
- adc@400a0000 (READY)
  DT node labels: adc
- flash-controller@400d0000 (READY)
  DT node labels: qmi
- i2c@40098000 (READY)
  DT node labels: i2c1
- i2c@40090000 (READY)
  DT node labels: i2c0 rp2350matrix_i2c
- pwm@400a8000 (READY)
  DT node labels: pwm
- vreg@40100000 (READY)
  DT node labels: vreg
- pio-ws2812 (READY)
- ws2812-8x8 (READY)
  DT node labels: ws2812_8x8 led_strip
- qmi8658a@6b (READY)
  DT node labels: qmi8658
- dietemp (READY)
  DT node labels: die_temp

On ARM Cortex-M33

uart:~$ device list
devices:
- clock-controller@40010000 (READY)
  DT node labels: clocks
- reset-controller@40020000 (READY)
  DT node labels: reset
- snippet_cdc_acm_console_uart (READY)
  DT node labels: snippet_cdc_acm_console_uart
- timer@400b8000 (READY)
  DT node labels: timer1
- timer@400b0000 (READY)
  DT node labels: timer0
- uart@40078000 (READY)
  DT node labels: uart1 rp2350matrix_serial
- uart@40070000 (READY)
  DT node labels: uart0
- watchdog@400d8000 (READY)
  DT node labels: wdt0
- pio@50200000 (READY)
  DT node labels: ((pio_hw_t *)0x50200000u)
- dma@50000000 (READY)
  DT node labels: dma
- gpio-port@0 (READY)
  DT node labels: gpio0 gpio0_lo
- usbd@50110000 (READY)
  DT node labels: usbd zephyr_udc0
- adc@400a0000 (READY)
  DT node labels: adc
- flash-controller@400d0000 (READY)
  DT node labels: qmi
- i2c@40098000 (READY)
  DT node labels: i2c1
- i2c@40090000 (READY)
  DT node labels: i2c0 rp2350matrix_i2c
- pwm@400a8000 (READY)
  DT node labels: pwm
- vreg@40100000 (READY)
  DT node labels: vreg
- pio-ws2812 (READY)
- ws2812-8x8 (READY)
  DT node labels: ws2812_8x8 led_strip
- qmi8658a@6b (READY)
  DT node labels: qmi8658
- dietemp (READY)
  DT node labels: die_temp
uart:~$ history
[  0] history
[  1] device list
[  2] bridle info
[  3] bridle version long
[  4] bridle version
[  5] kernel version
[  6] hwinfo devid
[  7] hello
[  8] hello -h

More Samples

3-Axis accelerometer data on USB-CDC/ACM Console

The samples are prepared for the on-board 6-DOF accelerometer and gryoscope, connected to the I2C1 bus, but works only with the accelerometer data.

Polling Mode

Get 3-axis accelerometer data from the on-board sensor (polling mode) using the Sensors API. See also Zephyr sample Generic 3-Axis accelerometer polling.

Invoke west build and west flash:

On Hazard3 RISC-V (RV32IMAC+)

west build -b waveshare_rp2350_matrix/rp2350a/hazard3_0 -p -S "usb-console" -d build/waveshare_rp2350_matrix zephyr/samples/sensor/accel_polling
west flash -d build/waveshare_rp2350_matrix

On ARM Cortex-M33

west build -b waveshare_rp2350_matrix/rp2350a/m33_0 -p -S "usb-console" -d build/waveshare_rp2350_matrix zephyr/samples/sensor/accel_polling
west flash -d build/waveshare_rp2350_matrix

Simple test execution on target

*** Booting Zephyr OS build v4.5.0…***
     qmi8658a@6b [m/s^2]:    (   -2.002151,     0.278924,    -9.388861)
     qmi8658a@6b [m/s^2]:    (   -2.015917,     0.290296,    -9.406818)
     qmi8658a@6b [m/s^2]:    (   -1.985391,     0.244807,    -9.407416)
     qmi8658a@6b [m/s^2]:    (   -0.367509,    -0.977432,    -9.715071)
     qmi8658a@6b [m/s^2]:    (    0.267552,    -0.016160,    -9.526528)

Trigger Mode

Get 3-axis accelerometer data from the on-board sensor (trigger mode) using the Sensors API. See also Zephyr sample Accelerometer trigger.

Invoke west build and west flash:

On Hazard3 RISC-V (RV32IMAC+)

west build -b waveshare_rp2350_matrix/rp2350a/hazard3_0 -p -S "usb-console" -d build/waveshare_rp2350_matrix zephyr/samples/sensor/accel_trig
west flash -d build/waveshare_rp2350_matrix

On ARM Cortex-M33

west build -b waveshare_rp2350_matrix/rp2350a/m33_0 -p -S "usb-console" -d build/waveshare_rp2350_matrix zephyr/samples/sensor/accel_trig
west flash -d build/waveshare_rp2350_matrix

Simple test execution on target

*** Booting Zephyr OS build v4.5.0… ***
     qmi8658a@6b [m/s^2]:    (   -2.696469,    -0.062847,    -9.179369)
     qmi8658a@6b [m/s^2]:    (   -2.694673,    -0.068234,    -9.179967)
     qmi8658a@6b [m/s^2]:    (   -2.696469,    -0.059256,    -9.182960)
     qmi8658a@6b [m/s^2]:    (   -2.692279,    -0.059855,    -9.184756)
     qmi8658a@6b [m/s^2]:    (   -2.682702,    -0.053869,    -9.152434)

6-DOF accelerometer and gryoscope data on USB-CDC/ACM Console

The samples are prepared for the on-board 6-DOF accelerometer and gryoscope, connected to the I2C1 bus.

6DOF Motion Dataready

Get 3-axis accelerometer data, 3-axis gryoscope data, and sensor temperature form the on-board sensor (trigger mode) using the Sensors API. See also Zephyr sample Generic 6DOF Motion Dataready.

Invoke west build and west flash:

On Hazard3 RISC-V (RV32IMAC+)

west build -b waveshare_rp2350_matrix/rp2350a/hazard3_0 -p -S "usb-console" -d build/waveshare_rp2350_matrix zephyr/samples/sensor/6dof_motion_drdy
west flash -d build/waveshare_rp2350_matrix

On ARM Cortex-M33

west build -b waveshare_rp2350_matrix/rp2350a/m33_0 -p -S "usb-console" -d build/waveshare_rp2350_matrix zephyr/samples/sensor/6dof_motion_drdy
west flash -d build/waveshare_rp2350_matrix

Simple test execution on target

*** Booting Zephyr OS build v4.5.0… ***
Found device "qmi8658a@6b", getting sensor data
[0:00:01.019]: temp 34.60 Cel   accel -0.569819 -1.183334 -9.630077 m/s/s   gyro  -0.065995 0.080994 -0.055086 rad/s
[0:00:01.024]: temp 34.60 Cel   accel -0.593163 -1.254561 -9.466074 m/s/s   gyro  -0.006272 0.075812 -0.065177 rad/s
[0:00:01.028]: temp 34.60 Cel   accel -0.627280 -1.226429 -9.332598 m/s/s   gyro  0.019634 0.069540 -0.066540 rad/s
[0:00:01.033]: temp 34.60 Cel   accel -0.647032 -1.227626 -9.348758 m/s/s   gyro  0.025634 0.068995 -0.061631 rad/s
[0:00:01.037]: temp 34.60 Cel   accel -0.653617 -1.224035 -9.424774 m/s/s   gyro  0.009272 0.070631 -0.056723 rad/s

Display Test and Demonstration

The following samples work with the chosen display. That is:

LED(8×8) : chosen { zephyr,display = &led_strip_matrix; };
RGB(8×8) : &led_strip_matrix { led-strip = <&led_strip>; };

LCD Orientation and Bit Order Test

Draw some basic rectangles onto the display using the Display driver API. See also Zephyr sample: Display.

On Hazard3 RISC-V (RV32IMAC+)

west build -b waveshare_rp2350_matrix/rp2350a/hazard3_0 -p -S "usb-console" -d build/waveshare_rp2350_matrix zephyr/samples/drivers/display
west flash -d build/waveshare_rp2350_matrix

On ARM Cortex-M33

west build -b waveshare_rp2350_matrix/rp2350a/m33_0 -p -S "usb-console" -d build/waveshare_rp2350_matrix zephyr/samples/drivers/display
west flash -d build/waveshare_rp2350_matrix
Waveshare RP2350-Matrix Display Sample Animation

TOP LEFT, TOP RIGHT, BOTTOM RIGHT

References