in reply to ST7789V2 LCD Controller
Some notes on connecting a display to the Raspi. The Raspi has three (or four) conventional display interfaces:
The ST7789V2 is controlled via SPI, using a custom protocol (that I seem to remember from similar displays at work). The Raspi graphics hardware won't help you with that. You could write a frame buffer driver for the Linux kernel, or a "graphics card" driver for X11 or Wayland to support this display. Or you directly write pixel from your application via SPI to the ST7789V2, like you would do on an Arduino or any other microcontroller.
<Update>
Looking at the website once more, it seems soneone actually has implemented a kernel mode framebuffer driver for that display, using several tricks (DMA, partial refresh) to get reasonable frame rates over an inadequate interface.
</Update>
Having an independent display may be useful (no bluescreen on that display), but on a Raspi, I would use DSI or HDMI. There are tons of well-tested code to handle everything to draw on a DSI or HDMI display, including 2D and 3D acceleration, font rendering, and so on. No need to reinvent the wheel.
Alexander
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: ST7789V2 LCD Controller
by Bod (Parson) on Sep 28, 2024 at 20:50 UTC | |
by marto (Cardinal) on Sep 28, 2024 at 21:16 UTC | |
by Bod (Parson) on Sep 28, 2024 at 21:34 UTC | |
by hippo (Archbishop) on Sep 28, 2024 at 22:30 UTC | |
by marto (Cardinal) on Sep 29, 2024 at 07:22 UTC | |
by Bod (Parson) on Oct 04, 2024 at 20:16 UTC |