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

Automation, sensing and robotics • Re: Problems to use Raspberry Pi Zero 2W with SPI Module ST7796

$
0
0
Just use the standard camera apps, noting special is needed.
Image
Image

look for fpd-link Ii or III, might give you another idea how to transfer your camera datavia single coax cable.

I appreciate all your help, everything worked fine for me until I mounted my RPI zero 2W to my designed PCB, I left the default display on SPI1 and this brought me more problems, now the display is not working again, I have enabled the ports for SPI1.

reading some articles on the internet I found some things I could do but without success

# SPI1 activation
dtoverlay=spi1-2cs

# 480x320pixels 4in SPI display
dtoverlay=mipi-dbi-spi,speed=48000000,spi-bus=1
dtparam=compatible=4in\0panel-mipi-dbi-spi
dtparam=write-only,cpha,cpol
dtparam=width=480,height=320,width-mm=84,height-mm=56
dtparam=reset-gpio=25,dc-gpio=24,backlight-gpio=23

my question is, does the 4bin.bin file have any configuration for the display to connect to SPI0 by default? and if so how can I change it so that I can connect my display through SPI1?

Statistics: Posted by Juancho1998 — Fri Jan 17, 2025 8:00 pm



Viewing all articles
Browse latest Browse all 5033

Trending Articles