Skip to main content
RMora.4
Associate III
August 17, 2021
Solved

Can I use flash memory for LTDC frame buffer or only SRAM?

..

    This topic has been closed for replies.
    waclawek.jan
    waclawek.janBest answer
    Super User
    August 17, 2021

    Which STM32?

    Theoretically, you can use, if in that given model the LTDC has access to FLASH at all, it but it would be impractical. As you cannot overwrite small areas of FLASH without erasing large areas, techniques used to create an image are very limited, and they take long time. Also you cannot display and draw at the same time, so you would need a secondary display source while drawing, or just a blank screen.

    JW

    4 replies

    waclawek.jan
    waclawek.janBest answer
    Super User
    August 17, 2021

    Which STM32?

    Theoretically, you can use, if in that given model the LTDC has access to FLASH at all, it but it would be impractical. As you cannot overwrite small areas of FLASH without erasing large areas, techniques used to create an image are very limited, and they take long time. Also you cannot display and draw at the same time, so you would need a secondary display source while drawing, or just a blank screen.

    JW

    RMora.4
    RMora.4Author
    Associate III
    August 17, 2021

    Thank you.

    MM..1
    Super User
    August 17, 2021

    Frame buffer need quick RW then realy no, but you can combine.

    For example display is 800x480 but you need show only big text on possition 100,100 size 500,200.

    Then you can place to FLASH background 800x480 image and configure framebuffer in any RAM only for 500x200.

    RMora.4
    RMora.4Author
    Associate III
    August 17, 2021

    Thank you.