2024-02-06 12:05 PM
I'am currently engaged in developing an application utilizing TouchGFX on an STM32F429I microcontroller. The initial setup, including LCD initialization, SDRAM configuration, FreeRTOS integration, and the assignment of the primary TouchGFX task, has been successfully completed with the frame buffer start address designated at 0xD0000000 in the SDRAM, resulting in satisfactory operation.
I am contemplating migrating the allocation of the TouchGFX frame buffer from the SDRAM to the internal RAM of the STM32F429I. Could you advise on the procedure to reallocate the frame buffer to the internal RAM? Additionally, considering the internal RAM may already be partially utilized, how might I determine an appropriate start address for the frame buffer in this scenario?
Solved! Go to Solution.
2024-02-06 09:59 PM
Here you have two ways. Stay by address and in linker script place buffer manualy or use by allocation and in code use array or malloc... I preffer linker change, here you need care for choice mem with dma access when you plan dma... Based on size you can place only one buffer into IRAM.
2024-02-06 09:59 PM
Here you have two ways. Stay by address and in linker script place buffer manualy or use by allocation and in code use array or malloc... I preffer linker change, here you need care for choice mem with dma access when you plan dma... Based on size you can place only one buffer into IRAM.
2024-02-12 05:56 AM
Hello @Anassoumi ,
As @MM..1 said, you can specify the location of your framebuffer via the linker script.
Here is how to specify the location of the framebuffer : framebuffer strategies
Regards,