2024-07-31 03:00 AM - edited 2024-07-31 03:02 AM
Hi
I want to improve the FPS of TFT when using SPI interface.
I use SPI+DMA+QuadSPI PSRAM+QuadSPI Flash for now.
I notice STM32L4P5RG has DMA2D.
So can it use for SPI interface?
Will it have any improvement when I refresh TFT?
If it has, how to use it?
Solved! Go to Solution.
2024-08-06 05:22 AM
Hello @Zhou JianQiang,
If you are using TouchGFX, then you can just enable DMA2D and TouchGFX will automatically utilize it. However, I doubt it that you can use DMA2D to directly write to SPI. I haven't tried it so, I cannot say for sure.
You can read about the process of enabling DMA2D for TouchGFX here.
Best regards,
2024-08-04 11:25 PM
Hi @Mohammad MORADI ESFAHANIASL
Could you confirm it for me?
2024-08-06 05:22 AM
Hello @Zhou JianQiang,
If you are using TouchGFX, then you can just enable DMA2D and TouchGFX will automatically utilize it. However, I doubt it that you can use DMA2D to directly write to SPI. I haven't tried it so, I cannot say for sure.
You can read about the process of enabling DMA2D for TouchGFX here.
Best regards,
2024-08-09 12:59 AM
Hi :
As Mohammad MORADI ESFAHANIASL and replied from LVGL:
https://github.com/lvgl/lvgl/issues/5555#issuecomment-2275154739
Maybe we can use DMA2D with SPI.
but I don't try yet.