Roadrunner technical documentation Buy

RoadRunner PDMIC and Class D

Display OLED 1.5 pollici 128x128 SPI

Enable the Kernel support for small TFT LCD with ILI9341 LCD Controller

Device Drivers  --->
  [*] Staging drivers  --->
    <*>   Support for small TFT LCD display modules  --->
        <*>   FB driver for the SSD1351 LCD Controller

Connessioni tra schedino display Adafruit e Berta D2

Signal Berta D2 ADAFRUIT
SPI0 MOSI PA15 SI
SPI0 MISO PA16 SO
SPI0 SCLK PA14 CL
SPI0 CS0 PA17 OC
Reset PA13 R
D/C PA12 DC
3V 3V 3V
GND GND GND

Device tree definition

spi0: spi@f8000000 {
    pinctrl-names = "default";
    pinctrl-0 = <&pinctrl_spi0_default>;
    status = "okay";

    device@0 {
        rotate = <0>;
        bgr;
        fps = <30>;
        compatible = "solomon,ssd1351";
        spi-max-frequency = <20000000>;   
        reg = <0>;
        regwidth = <8>;
        buswidth = <8>;
        verbose = <3>;
        reset-gpios = <&pioA PIN_PA13 0>;
        dc-gpios = <&pioA PIN_PA12 0>;
    };
};

Disegnare sul display in Python direttamente sul frame buffer

Installare Pittorix

git https://github.com/robertmuth/Pytorinox.git

Installare PIL e numpy

sudo apt update
sudo apt install python3-pil
sudo apt install python3-numpy

Provare gli esempi su questa pagina:

Riproduzione video

sudo mplayer -vo fbdev watch.mov

Class D amplifier

PDMIC

Home page Roadrunner technical documentation Buy