2025-10-26 9:35 PM
I have been trying to update a wild caard text area.
updateTarget will be called externally, value passed in will be 0-100
I started calling the function with 0 -> 10 -> 20...etc incrementally.
However whenever I passed the 100, the value will fallback to 0 and start again.
This is the where the problem occurs
Once I reached 100, and then the 0 will be displayed properly, but for later values there will be a "0" in the third character, even though I have checked the buffer is set properly.
The pattern is
0 -> 10 -> 20 -> 30 ... -> 100 -> 0 -> 100 -> 20 -> 300 -> 40 -> 500...etc
Below is an exaple of the buffer being set to "30" in ascii
But the display is
If I didnt trigger any screen update, after some time I can see there is a frame rendered (around per ~30s)
And the the display is back to normal again
It seems to be there is some kind of cache?
Anyone has a similar issue?
I am using the STM32U5G9J-DK2
TouchGFX: 4.26