Hello,
i want to connect both st7789(lcd) and ads7846(lcd's touchscreen) but im running into an issue where when i add overlay for touchscreen input in raspberry /boot/firmware/config.txt, the /dev/spidev* disappear. I am a total newbie to raspberry pi and i dont know how to fix that issue.
My board is pi zero 2w
this is my /boot/firmware/config.txt
i want to connect both st7789(lcd) and ads7846(lcd's touchscreen) but im running into an issue where when i add overlay for touchscreen input in raspberry /boot/firmware/config.txt, the /dev/spidev* disappear. I am a total newbie to raspberry pi and i dont know how to fix that issue.
My board is pi zero 2w
this is my /boot/firmware/config.txt
Code:
# For more options and information see# http://rptl.io/configtxt# Some settings may impact device functionality. See link above for details# Uncomment some or all of these to enable the optional hardware interfacesdtparam=i2c_arm=ondtparam=i2s=ondtparam=spi=on# Enable audio (loads snd_bcm2835)dtparam=audio=on# Additional overlays and parameters are documented# /boot/firmware/overlays/README# Automatically load overlays for detected camerascamera_auto_detect=1# Automatically load overlays for detected DSI displaysdisplay_auto_detect=1# Automatically load initramfs files, if foundauto_initramfs=1# Enable DRM VC4 V3D driverdtoverlay=vc4-kms-v3dmax_framebuffers=2# Don't have the firmware create an initial video= setting in cmdline.txt.# Use the kernel's default instead.disable_fw_kms_setup=1# Disable compensation for displays with overscandisable_overscan=1# Run as fast as firmware / board allowsarm_boost=1[cm4]# Enable host mode on the 2711 built-in XHCI USB controller.# This line should be removed if the legacy DWC2 controller is required# (e.g. for USB device mode) or if USB support is not required.otg_mode=1[cm5]#dtoverlay=dwc2,dr_mode=host[all]dtoverlay=ads7846,cs=1,penirq=17,speed=500000Statistics: Posted by ppozniak — Fri Oct 17, 2025 11:43 pm