2022-06-10 02:44 AM
Hi,
I am working with TouchGFX and an STM32H747I-DISCO. I have created a very simple project comprising two screens.
Each screen has a box covering the entire canvas (one set to white and the other to black) plus a single button in the bottom right corner.
I added an interaction for each screen so clicking the button swaps between screens.
When I create this project in TouchGFX 4.19.1 and program it into the STM32H747I-DISCO board, a triangular shaped artefact or glitch appears momentarily in the top left and mid left positions of the display (see attached image) on each screen change.
By comparison, I recreated the exact same project from scratch in an older version of TouchGFX (4.16.1) and that had no issue at either 16bpp or 24bpp.
Could you investigate what is going wrong. I am rather stuck if this cannot be resolved as the issue is quite noticeable and would not be acceptable in a finished product.
Also, I would like the option of using 16bpp which was possible in TouchGFX 4.16.1 but has disappeared in TouchGFX 4.19.1. I would probably struggle to edit the board configuration file myself as I do not have enough experience with displays, so I am limited to using the default configuration at present.
Note. If I convert the project created in TouchGFX 4.16.1 by opening it in TouchGFX 4.19.1, I do not get the glitch. However, the conversion does not change the project structure (perhaps why there is no glitch) and I need to be using the new project structure of TouchGFX 4.19.1 which seems to be easier to work with when using STM32CubeIDE. So continuing with TouchGFX 4.16.1 is not really an option and therefore I would be grateful if you could come up with a solution.
Many thanks
2022-06-15 03:20 AM
Hello Rob H,
Thanks for you report! Indeed there's a bug here with this STM32H747I-DISCO board. I'll keep you updated when we have a patch for that.
And yes, the compatibility between version 4.16.1 and 4.19.1 of TouchGFX Designer of this particular board is not optimal because it uses different version of the board (the one on v.4.19.1 uses dual core for example), so you won't be able to have the same project structure.
/Osman
2023-01-18 05:54 AM
Hello Rob H,
We have investigated this bug and we think it's a speed issue. I can suggest you to use the optimize for speed (-Ofast) optimization in your project, that would do the job.
Best regards,
Osman