cancel
Showing results for 
Search instead for 
Did you mean: 

Artifacts STM32H743+TouchGFX

EEuge
Senior

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 artifacts0693W000000UpPMQA0.jpg

7 REPLIES 7
Martin KJELDSEN
Chief III

Is this your own custom platform with an H743 ?

/Martin

EEuge
Senior

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.

Martin KJELDSEN
Chief III

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

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....

Can you show me some pictures of the artifacts?

/Martin

What's your status on this? If you disable DMA - does the error still appear?

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.​