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

Interfacing (DSI, CSI, I2C, etc.) • Re: Small TFT based on ILI9341 ST7789 - how to use

$
0
0
Hi aBUGSworstnightmare,

Thanks for your reply and clarification regarding mipi-dbi-spi and DMA usage.
I did some further testing on my side using a Raspberry Pi 5 and the same 3.5inch RPi LCD (F), SKU 30896, with the 2024-11-19 raspios-bookworm-armhf.img and the 6.6.51 kernel (which is currently the default provided by Waveshare; still waiting for an updated driver for 6.12.y).
When I use your method with the bin file and the mipi-dbi-spi driver, I consistently get around 30fps on testufo.com.
30fps_bin.png
However, when I switch to Waveshare’s overlay method and make a few adjustments, I can reach 60fps. I’m attaching a screenshot from the Waveshare method for reference.
waveshare_driver.jpg
Here’s the tail of my working config.txt:

Code:

dtparam=i2c_arm=ondtparam=i2c_arm_baudrate=50000dtparam=spi=ondtoverlay=Waveshare35f,fps=60,speed=108000000,rotate=90,ts_rotate_90hdmi_force_hotplug=1max_usb_current=1hdmi_group=2hdmi_mode=87hdmi_cvt 480 320 60 6 0 0 0hdmi_drive=2
Would it be possible to tweak your method to achieve a similar result — i.e., closer to 60fps — either by tuning speed/fps or adjusting how the SPI bus is used? I'm curious if this is just a matter of overlay tuning, or if it relates more deeply to the differences in driver behavior.

Thanks again for your continued input and insights!

Statistics: Posted by ooook — Fri May 16, 2025 6:53 am



Viewing all articles
Browse latest Browse all 8609

Trending Articles