2020-03-26 09:13 AM
Hello! Look at the picture.
Artifacts - is lines at right side of widget
Can you say me possible course oth this artifacts?
I llok at memory window in KEIL - artifacts are in memory, is not LTDC artifacts
2020-03-31 07:28 AM
Is this your own custom platform with an H743 ?
/Martin
2020-03-31 08:19 AM
It is my own custom platform.
But it checked many times. Schematic is OK.
Signal Integrity is OK (SDRAM pseudorandom test - 10000 cycles without errors)
If I try to draw graphics without DMA - no artifacts. If I draw to SRAM - no artifacts
If I draw to SDRAM by DMA2D - I have artifacts.
2020-04-01 01:22 AM
Try calling
hal.lockDMAToFrontPorch(true);
This will make the DMA2D and LTDC NOT access SDRAM at the same time, so you can check for a possible memory contention / bus issue this way.
/Martin
2020-04-01 01:31 AM
I tried -without any effect.
I almost find..... If I delete nbl0,nbl1,nbl2,nbl3 from initialization - such artefacts appears on each widget and on both sides. I think, that problem is in these lines... but how to solve it....
2020-04-01 02:28 AM
Can you show me some pictures of the artifacts?
/Martin
2020-04-30 03:32 AM
What's your status on this? If you disable DMA - does the error still appear?
2020-04-30 04:07 AM
Yes, these artifacts apperas only with DMA2D.
Look - I disabled TouchGFX, I disabled LTDC initialisation, I made Init of system, sdram init and dma2d init.
I try to write to sdram some data with dma2d, like I draw filled rectangle. And I look to sdram memory by Keil debugger. I, see that first abd sometimes last bytes of each line is broken.