cancel
Showing results for 
Search instead for 
Did you mean: 

Leftover characters from previous update when updating wild card text area

BennyTang
Associate

I have been trying to update a wild caard text area.

BennyTang_0-1761538954843.png

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

BennyTang_1-1761539333253.png

But the display is 

BennyTang_2-1761539426051.png

 

If I didnt trigger any screen update, after some time I can see there is a frame rendered (around per ~30s)

BennyTang_3-1761539511533.png

And the the display is back to normal again

BennyTang_4-1761539607576.png

 

It seems to be there is some kind of cache?

Anyone has a similar issue?

 

I am using the STM32U5G9J-DK2

TouchGFX: 4.26

 

 

 

 

 

0 REPLIES 0