range Pi 用户手册 深圳市迅龙软件有限公司版权所有
www.orangepi.cn 97 www.xunlong.tv
2) The wiring method of the LCD display and the development board is as follows
The corresponding pins of
development board 40pin
3) After connecting the display to the development board, use the following command to
load the fbtft_device kernel module
root@orangepi:~# modprobe fbtft_device custom name=fb_ili9488 busnum=0 cs=0
gpios=reset:110,dc:68,led:71 rotate=270 speed=65000000 bgr=1 txbuflen=65536
4) When the fbtft_device kernel module is loaded, the correct output log of the dmesg
command is shown below, and the log can know that the framebuffer used by the LCD
display is fb8
root@orangepipcplus:~# dmesg | tail
[ 273.581459] fbtft_device: spidev spi0.0 33000kHz 8 bits mode=0x00
[ 273.581483] fbtft_device: 'fb' Platform devices registered:
[ 273.581628] fbtft_device: Deleting spi0.0
[ 273.582486] fbtft_device: GPIOS used by 'fb_ili9488':
[ 273.582509] fbtft_device: 'reset' = GPIO110
[ 273.582526] fbtft_device: 'dc' = GPIO68
[ 273.582543] fbtft_device: 'led' = GPIO71
[ 273.582563] fbtft_device: SPI devices registered:
[ 273.582598] fbtft_device: fb_ili9488 spi0.0 65000kHz 8 bits mode=0x00
[ 273.955952] graphics fb8: fb_ili9488 frame buffer, 480x320, 300 KiB video memory,
64 KiB buffer memory, fps=100, spi0.0 at 65 MHz