2020-06-18 12:10 AM
Hi,
I am using TouchGFX 4.13 on a STM32H750XB.
I'm using a 800x480 screen, so the framebuffers are placed in external SDRAM.
My code is based of the example project for the STM32H750B-DK, and almost
everything seems to be working except for the fact that I get black lines when enabling the Chrom-Art.
Here is an example of what it looks like:
These lines seem to appear when dma2d is used to add an image to the framebuffer.
(Some TiledImages are used, explaining the seemingly random lines at the left/bottom).
When the Chrom-Art is not used, everything looks fine.
Similar code has worked when using a smaller screen and placing the framebuffers in AXI-SRAM, so my guess is that this problem has something to do with the SDRAM, but I can't figure out what it is I'm doing wrong.
Does anybody have any suggestions?
2020-06-18 02:00 AM
To rule out issues with DMA2D you could try using the NoDMA class instead of your current one (STM32DMA probably). If the issue remains then could be SDRAM.
/Martin
2020-06-18 02:48 AM
I've found the solution, the pins for FMC_NBL were not initialized properly.
2020-06-18 04:22 AM
Great! :)
2021-09-03 04:35 AM
Thanks a lot!
I was stuck in this same problem.
Solved here.