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

Interfacing (DSI, CSI, I2C, etc.) • Re: Connecting SPI display with SDA pin

$
0
0
My crystal ball is out for maintenance, so without you providing a link to the product / product spec no answer is possible!
IMG_20231023_125538.jpg
1.jpg

320x240pixels Waveshare SKU18366 2.8in display (display only https://www.waveshare.com/2.4inch-lcd-module.htm) or http://www.lcdwiki.com/2.8inch_SPI_Modu ... KU:MSP2807

In case you have a display like the ones shown/linked above you can try this
1) required display connections are:
VCC: 3.3V
GND: GND
CS: GPIO8
RESET: GPIO23
DC/RS: GPIO25
MOSI(SDI): GPIO10
SCK: GPIO11
LED: GPIO24
MISO(SDO): GPIO9

2) add below to your config.txt:

Code:

dtoverlay=mipi-dbi-spi,speed=32000000dtparam=compatible=wavesku18366\0panel-mipi-dbi-spidtparam=width=320,height=240,width-mm=57,height-mm=43dtparam=reset-gpio=23,dc-gpio=25,backlight-gpio=24
3) download the file belowunzip it and copy it to the folder '/lib/firmware/'

Code:

sudo cp wavesku18366.bin /lib/firmware
reboot and report back.
Note! Use a stock OS image where you've not started messing up config.txt!

NOTE: what is shown above WILL NOT WORK with RetroPi! For RetroPi support you should ask in their forum!

Statistics: Posted by aBUGSworstnightmare — Wed Mar 27, 2024 6:58 am



Viewing all articles
Browse latest Browse all 4151

Trending Articles