RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login

    TFT ILI9341 driver mod for ILI9342 ?

    Scheduled Pinned Locked Moved Projects and Themes
    ili9341ili9342tft screenguidelcd
    15 Posts 4 Posters 7.8k Views
    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.
    • mooseprM
      moosepr @tctctc
      last edited by

      @tctctc hahaha they do look tiny

      I have ordered a screen myself, so i will be able to test the driver in 20-40 days time šŸ˜›

      want to get a tft into your project, look no further than here https://retropie.org.uk/forum/topic/7464/ili9341-tft-screen-guide

      T davejD 2 Replies Last reply Reply Quote 0
      • T
        tctctc @moosepr
        last edited by

        @moosepr You bought a IIL9342? thats great!!

        mooseprM 1 Reply Last reply Reply Quote 0
        • mooseprM
          moosepr @tctctc
          last edited by moosepr

          @tctctc yeah they look to be ideal for another project im after making. they design the screens to be viewed with the chip at the bottom, so a landscape design would be ideal

          alt text

          want to get a tft into your project, look no further than here https://retropie.org.uk/forum/topic/7464/ili9341-tft-screen-guide

          1 Reply Last reply Reply Quote 0
          • davejD
            davej @moosepr
            last edited by

            @moosepr said in TFT ILI9341 driver mod for ILI9342 ?:

            @tctctc hahaha they do look tiny

            I have ordered a screen myself, so i will be able to test the driver in 20-40 days time šŸ˜›

            Having had a quick look at the datasheets it looks like the main difference will be with the gamma settings and the MADCTL register (command 36h on both).

            The big problem seems to be finding details of the connector pinout. This page has details of a screen with the same part number but it has a different version number and appears to use a different driver chip. It does have pin descriptions but there's no guarantee that they are the same. The OP's display also claims to have a 12864 interface which seems to be the row of 20 holes at the top. This document has a brief description of that. Exactly how you would use that interface isn't clear either nor is how you would specify which you wanted to use.

            mooseprM 1 Reply Last reply Reply Quote 0
            • mooseprM
              moosepr @davej
              last edited by

              @davej the few i have found on aliexpress have pinouts for the display. The all seem to be pretty similar with the SPI and DPI pins available, normally with a few extras for touch

              alt text

              want to get a tft into your project, look no further than here https://retropie.org.uk/forum/topic/7464/ili9341-tft-screen-guide

              davejD 1 Reply Last reply Reply Quote 0
              • davejD
                davej @moosepr
                last edited by

                @moosepr said in TFT ILI9341 driver mod for ILI9342 ?:

                @davej the few i have found on aliexpress have pinouts for the display. The all seem to be pretty similar with the SPI and DPI pins available, normally with a few extras for touch

                That's good. I couldn't find one in the OP's linked screen.

                SPI is frequently used for an SD card interface so that is something to look out for.

                Going by the pinout you linked to, it has a 16 bit MCU interface rather than a DPI one. DPI uses things like VSYNC, HSYNC and DOTCLOCK. The RD, /WR and RS labels in the pinout indicate the MCU interface. The existing driver copes with outputting to an MCU interface (it calls it parallel) but the ILI3941 driver assumes SPI. I'm not familiar with the fbtft driver though so can't be much help there.

                In case you haven't realised, I've been playing with a ILI9341 screen for a microcontroller project. The microcontroller doesn't have enough memory for a frame buffer so I can't even use the fbtft driver for inspiration. Updating the screen is a real pain - particularly drawing diagonal lines.

                mooseprM 1 Reply Last reply Reply Quote 0
                • mooseprM
                  moosepr @davej
                  last edited by

                  @davej ah yeah your right, I only skimmed the list for the simple spi connection pins.

                  These screens are always sold as MCU screens, but they are mainly designed for dumping images from the associated SD card. I think the ili9341 is great for tiny pi based devices, minimal cost and effort

                  want to get a tft into your project, look no further than here https://retropie.org.uk/forum/topic/7464/ili9341-tft-screen-guide

                  1 Reply Last reply Reply Quote 0
                  • T
                    tctctc
                    last edited by tctctc

                    Hi guys,

                    The copy of data form the seller:
                    https://pan.baidu.com/share/link?shareid=4248892308&uk=1445663752
                    (click [äø‹č½½(3.6M)] to download)
                    although some file naming using chinese, but all inside is english.
                    hope its help!

                    the screen

                    module pins definition:
                    0_1499827195310_ƒ£øEĢ€ā€œĖĪ©ā‰ˆāˆ‚Ā®ā€œAĢ‚.jpg
                    *translate:

                    1. (right top corner) *If you bought 8bit version (default sell as 16bit version, please remind), just connect pins D0-7!
                    2. BL_VDD : backlight power source, can use 3.3V
                    3. (bottom right corner) These pins just for touch enabled screen, no need to handle if the screen without touch.

                    SPT2230A-FPC-V01 pins definition:
                    1_1499827195310_SPT2230A-FPC-V01ā€œĖĪ©ā‰ˆāˆ‚Ā®ā€œAĢ‚.jpg

                    1 Reply Last reply Reply Quote 0
                    • obsidianspiderO
                      obsidianspider
                      last edited by

                      Did you ever get the ILI9342 screen to work with a Pi?

                      šŸ“· @obsidianspider

                      mooseprM 1 Reply Last reply Reply Quote 0
                      • mooseprM
                        moosepr @obsidianspider
                        last edited by

                        @obsidianspider I got distracted with other projects, should really get back on it

                        want to get a tft into your project, look no further than here https://retropie.org.uk/forum/topic/7464/ili9341-tft-screen-guide

                        1 Reply Last reply Reply Quote 1
                        • First post
                          Last post

                        Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.

                        Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.