cancel
Showing results for 
Search instead for 
Did you mean: 

Using Internal Flash Memory For Frame Buffer

Badam.17
Associate II

I'm using the stm32f769i-disco1. Which has 2 mB of flash memory.

https://www.st.com/en/evaluation-tools/32f769idiscovery.html

I'm creating a very simply application that's drawing circles and squares and some text, so it's not using most of the flash. Could i use the remanding flash to create a frame buffer for the display.

The only thing related to this idea is using external flash as framebuffer.

https://github.com/ProjectsByJRP/QSPI_Flash_to_LCD

If i need to, i'm fine with rendering partial display's in ram and writing them out to flash. I'm just trying to avoid having extra chips.

2 REPLIES 2

How hard would it be to just try?

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Badam.17
Associate II

I tried it with this example of creating a h file from a image.

Example on page 77.

https://www.st.com/content/ccc/resource/technical/document/application_note/group0/25/ca/f9/b4/ae/fc/4e/1e/DM00287603/files/DM00287603.pdf/jcr:content/translations/en.DM00287603.pdf

But i found out that flash is extremely slow to write to and has around 10,000 write cycles, so it would be a bad choice for a frame buffer the way i was going to use it.