Navigation

    全志在线开发者论坛

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • 在线文档
    • 社区主页

    【复刻麦当劳游戏机】用 ST7789V LCD 在 lichee pi nano (f1c100s)

    Linux
    3
    7
    3244
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • bankbank
      bankbank LV 3 last edited by xiaowenge

      大家好。 我是一个外国人,对不起我中文一点不好 🤠

      我买 lichee pi nano (f1c100s), 用这个 buildroot https://github.com/mclewell/licheepi-nano-lcd

      here is the display I am using:
      8e034f44-3f3a-462e-a645-7a1cd9cb7f69-image.png

      now, when I power on the system, nothing appears on the display
      5d1bcd01-45d7-4048-9269-a577a69a29bb-image.png

      what should I do to use this LCD display on the lichee pi nano?
      I want to create a 游戏机 using this 麦当劳 outer shell:
      58f3fd75-fa7f-4da5-a116-ce2e9454ba58-image.png
      329a6c5a-e10b-4474-a6d5-0458fb8ca887-image.png

      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
      2ad68ad2-f2eb-4d9f-8956-0e92ccd4158a-image.png

      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
      02965695-dd4e-4c55-ae54-228d0b4ced3b-image.png

      thank you very much for your help!
      bankbank

      1 Reply Last reply Reply Quote Share 0
      • steward
        司徒 LV 6 last edited by

        @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.

        bankbank 1 Reply Last reply Reply Quote Share 2
        • bankbank
          bankbank LV 3 @steward last edited by

          @steward 真棒, here's the information regarding the LCD pinout:

          253ad6f3-14fe-4ae6-9837-9952504e381e-image.png

          d79368bf-0f53-4ce7-a01d-845fbd8f7a44-image.png

          L 1 Reply Last reply Reply Quote Share 0
          • steward
            司徒 LV 6 last edited by

            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.
            1.jpg

            1 Reply Last reply Reply Quote Share 0
            • L
              lovexulu LV 7 @bankbank last edited by

              @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 imagergb-mcu.png

              bankbank 1 Reply Last reply Reply Quote Share 1
              • bankbank
                bankbank LV 3 @lovexulu last edited by bankbank

                @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 f1c100s

                so 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

                1 Reply Last reply Reply Quote Share 1
                • steward
                  司徒 LV 6 last edited by

                  No, you need to fix your hardware firstly. Here is the LCD pinout for Lichee Nano:
                  1.jpg

                  And here is your LCD panel:
                  1.png

                  1 Reply Last reply Reply Quote Share 0
                  • 1 / 1
                  • First post
                    Last post

                  Copyright © 2024 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号

                  行为准则 | 用户协议 | 隐私权政策