树莓派使用spi接口的显示屏超频,实现显示加速的方法:
刚在国外的一个网站上看到了用更高的频率来进行显示的【显示超频】……
下面引用原文:
I want better performance and faster updates!
You can change the SPI frequency (overclock the display) by editing /etc/modprobe.d/adafruit.conf and changing the options line to:
options fbtft_device name=adafruitrt28 rotate=90 frequency=62000000 fps=60
here's the thing, the Pi only supports a fixed number of SPI frequencies. So tweaking the number a little won't do anything. The kernel will round the number to the closest value. You will always get frequencies that are 250MHz divided by an even number. Here's the only SPI frequencies this kernel supports
15,625,000 (a.k.a 16000000 = 16 MHz)
17,857,142 (a.k.a. 18000000 = 18 MHz)
20,833,333 (a.k.a 21000000 = 21 MHz)
25,000,000 (= 25 MHz)
31,250,000 (a.k.a 32000000 = 32MHz)
41,666,666 (a.k.a 42000000 = 42MHz)
62,500,000 (a.k.a 62000000 = 62MHz)
So if you put in 48000000 for the speed, you won't actually get 48MHz, you'll actually only get about 42MHz because it gets rounded down. We tested this display nicely with 32MHz and we suggest that. But you can put in 42MHz or even try 62MHz and it will update faster
You can tweak fps (frames per second) from 20 to 60 and frequency up to 62MHz for tradeoffs in performance and speed. Reboot after each edit to make sure the settings are loaded properly. There's a trade off that if you ask for higher FPS you're going to load the kernel more because it's trying to keep the display updated.
复制代码
也就是说……超到62MHz也成为可能……只是都是一个整数倍,也就是说之前我用50MHz的速率实际上应该是不被支持的……