【复刻麦当劳游戏机】用 ST7789V LCD 在 lichee pi nano (f1c100s)
-
大家好。 我是一个外国人,对不起我中文一点不好
我买 lichee pi nano (f1c100s), 用这个 buildroot https://github.com/mclewell/licheepi-nano-lcd
here is the display I am using:
now, when I power on the system, nothing appears on the display
what should I do to use this LCD display on the lichee pi nano?
I want to create a 游戏机 using this 麦当劳 outer shell:
I am a big fan of allwinner arm soc, they are very power efficient and cost effective
总功耗极低,效率高
https://jaycarlson.net/embedded-linux/#1602627646108-72e75a29-4918
please help me figure out how to connect this 40-pin LCD to my lichee pi nano board. it can use SPI or MCU/CPU
thank you very much for your help!
bankbank -
@bankbank long time no see.
Please post the pinout information of the LCD panel and then we can decide how to connect it to F1C100S. -
@steward 真棒, here's the information regarding the LCD pinout:
-
Here is the schematic of PocketGo handheld: https://github.com/steward-fu/archives/releases/download/pocketgo/doc_schematic.pdf
It seems the pinout are not same as PocketGo. So, you cannot replace it directly.
-
@bankbank Hello, F1c100 supports MCU display drivers, but to use it correctly, you need to modify the Linux device tree configuration and configure the corresponding driver yourself, including the initialization program for the screen you currently have. This is a relatively complicated process, and if you are familiar with Linux drivers, it may be very simple. Here is a reference image
-
@lovexulu hey lovexulu, thanks for the information. I'm looking to learn exactly how to do what you describe, so thanks for pointing me in the right direction.
someone has shared with me some st7789 display driver code
https://github.com/MiyooCFW/kernel/blob/master/drivers/video/fbdev/st7789sfb.c
this comes from the miyoo 游戏机 that also uses f1c100sso maybe if I drop this st7789sfb.c file in
licheenano/licheepi-nano-lcd/buildroot/dl/linux/git/drivers/video/fbdev/and then make buildroot it'll bring it in? or do I need to explicitly declare the file somewhere?
more information about using this display with miyoo cfw:
https://github.com/MiyooCFW/kernel/blob/master/Documentation/devicetree/bindings/display/panel/sitronix%2Cst7789v.txt -
No, you need to fix your hardware firstly. Here is the LCD pinout for Lichee Nano:
And here is your LCD panel:
Copyright © 2023 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号