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

Interfacing (DSI, CSI, I2C, etc.) • Getting a small TFT that's NOT mipi compliant working

$
0
0
Hi all,

I've got a small 320x240 TFT that's got an SSD2119 controller - datasheet here: https://www.hpinfotech.ro/SSD2119.pdf that I'm trying to get working using the 4-wire SPI interface.

After much pulling of hair thanks to the complete lack of documentation on overlays, I've got it working using fbtft, and I've also managed to modify fbcp-ili9341 to drive the screen. However, both of these are obsolete technologies and aren't supported on later versions of the pi. My understanding is that I need to use a driver that integrates directly with DRM.

The only thing I can find that can help DRM talk to small TFTs is panel-mipi-dbi: https://github.com/notro/panel-mipi-dbi/wiki.

However, the SSD2119 controller appears not to be MIPI compliant: it has all the commands that any of these other screens has, and behaves in the same way. But none of them are addressed in the same way, so for example where panel-mipi-dbi expects to write the GRAM X address to register 0x2A, in the SSD2119 it's address 0x4E.

So I know exactly what commands need writing to the screen when and how, but I've got no idea at the minute how to get a driver to send those commands. Is there a way to do it without writing a new driver?

Thanks!

Statistics: Posted by jdf_mf — Thu May 09, 2024 8:15 am



Viewing all articles
Browse latest Browse all 5362

Trending Articles