Problem with pixels "bleeding" into where they shouldn't be.
I’m having an issue with pixels “bleeding�? into places where they shouldn’t be. See the photos below.
In screenshot1 (with the colorful shapes), on the lefthand side of the red circle and the triangle on the right, inside the shape the green background seems to be bleeding into the shape. On the righthand side of the shapes, the shape color seems to be bleeding into the background. One thing that’s notable is that the perfectly horizontal side of the line at the top and perfectly vertical sides of the left triangle don’t seem to have a problem. Maybe something to do with alpha on the diagonal edges of the shapes?
In screenshot2 (white background with a few black lines), the pixels of the leftmost line seems to be bleeding onto the other edge of the screen.
This is a custom PC board connecting to an ARGB 24 bit TFT LCD, utilizing TouchGFX v4.20. Originally we used the STM32F429IIT6 processor, which worked fine without this issue, and is in production. We had to redesign the board to use the STM32H743BIT6 processor, and which is when we discovered this “bleeding�? problem. We are using the same external RAM as the F4 version (for frame buffer), and the vast majority of the other components on the board are the same.
For experimentation we have a project built using the STEMWIN graphics set, that we loaded onto the very same H7 board and with no bleeding problem, so this leads me to believe it’s likely not a hardware issue. I have to believe it’s some setting/configuration that is wrong. I did compare the settings of the F4 and H7 projects and I believe I have everything the same.
I’m able to write/read the external memory (as explained in https://support.touchgfx.com/4.20/docs/development/board-bring-up/how-to/04-enable-external-ram), and the frame buffer is obviously working on some level since we’re able to see something resembling the intended graphics on the screen.
What should I be looking at to fix this issue? Is this a FMC/RAM config problem (timing?), or LTDC (front/back porch?), or something else? I’ve included screenshots of the settings I have in the STM32Cube project. Thank you.









