2023-07-02 08:15 PM
Hello, i have stm32h745i for my project but unfortunately the SDRAM itself is not enough to handle my gui program.I use lvgl and squareline studio to make gui. I have thought that maybe if i can reduce the color depth from 32 to 16 will reduce my memory usage. Is it possible?
2023-07-03 03:35 AM
Hello @BAl K.1 ,
Can I ask you if you have tried using TouchGFX Designer? You mention lvgl and squareline studio, do you know that TouchGFX Designer software also helps you to create your GUI and is natively compatible with all STM32 chips? We provide for the STM32H745i-disco board an entire setup fully optimized for graphics that you can use. We can guide you if you need to change the color depth or the framebuffer strategy but I don't know how far it's compatible with the 2 other tools you mentioned. But I can say that with TouchGFX, we can make it work ;)
2023-07-03 11:25 PM
I have tried TouchGFX and i need some tools from squareline studio that not exist in touchgfx, so i choose touchgfx. basically it is mostly the same. How can i change 32 depth to 16 in touchgfx? what should i change?
2023-07-10 02:57 AM
Hello @BAl K.1 ,
In TouchGFX that's pretty simple actually, it uses the Framebuffer Pixel Format you set in the STM32CubeMX project (You need to have the X-CUBE-TOUCHGFX software pack of course).
In the "Config" panel in TouchGFX Designer, you'll see then the Color depth associated to it, and whenever you'll generate code, it will take in account that value.