Skip to main content
Graduate II
January 12, 2024
Question

Is there any working project RGB TFT 1024 x 600

  • January 12, 2024
  • 3 replies
  • 4270 views

Is there any working project maybe on github 1024 x 600 RGB TFT ? Those screens are very popular all over the place.

 

There is STM32F746G-DISCO with 480x272 TFT RGB. I have no problem to get it working.

 For bigger sizes since there is no working example from STM. I have a few custom boards and I cannot get them working.

I followed the example for STM32F746G-DISCO with 480x272 to connect 1024x600 on a few chips which support LTDC (24 bit).

I wonder what I might be missing.

 

    This topic has been closed for replies.

    3 replies

    Visitor II
    January 12, 2024
    MNapiAuthor
    Graduate II
    January 12, 2024

    this is Raspberry, I see a lot of examples for Raspberry. Probably I would have this done on Raspberry long time ago instead trying STM.

    STM32 has support for those type of displays but I have not see anybody with working project.

    When you look at CubeMX you can go as high as 3840x2160 but maybe it does not work.

    I am close to be convinced that there is something wrong with code generated by CubeMX.

    Trying assembler might be the solution but time consuming.

     

     

     

    Graduate II
    January 13, 2024

    Not sure assembler will help, the LTDC is more of a glorified DMA with line and frame sync. Should be able to set up the parameters and walk away.

    The STM32 MCU doesn't have the bandwidth to do UHD

    1024 x 600 is doable, had that and assorted other modes working with the STM32F769I-DISC1 w/B-LCDAD-HDMI1, this is actually more complicated that the TFT-RGB, as the DSI unit also needs to be configured and clocked to off load the data fire-hosing out to the LTDC

    MNapiAuthor
    Graduate II
    January 14, 2024

    Here is the display

    https://www.buydisplay.com/7-inch-1024x600-ips-tft-lcd-display-high-brightness-full-viewing-angle

    there are links to all data sheets

    it is using HX8282-A14 driver

    I do have custom board so there will be no problem to add some external RAM. A lot of those DISCO boards have external RAM and schematics to use as example.

    Each chip which has LTDC support has also FMC, it is done for reason so you can attach external RAM for frame buffer. But I guess STM left it for customers to guess since I do not see any guide lines how much RAM you would need for 1024 x 600

    I do not see any code how buffer frame is calculated and assigned based on the size of display you choose in CubeMX. It must be somewhere in their library.

    MX_FMC_Init();
    MX_LTDC_Init();

     

    I think the frame buffer was the whole problem I could never get it working so far.

    Graduate II
    January 14, 2024

    Building off the SD Card demo I have for the STM32F746G-DISCO, adjusted for 52 MHz 1024x600 24-bpp panel, reporting info via VCP USART @ 115200 8N1

    Y:\STM32\Cube\STM32Cube_FW_F7_V1.8.0\Projects\STM32746G-Discovery\Applications\Display\SDMMC-TEST001-2024

    The .HEX didn't attach, .ZIP not allowed, .RAR seemed to be accepted

    MNapiAuthor
    Graduate II
    January 15, 2024

    I tried to download your file but after downloading it says that it is damaged. I do not see how to use 1024x600 on STM32F746G-DISCO, the old original display cannot be detached.

    Unless making custom board using STM32F746G-DISCO as template with some changes. The power supplies for bigger display would have to be adjusted.

    I spoke to somebody from STM they do not have any working examples with 1024x600 they refer to third party.