cancel
Showing results for 
Search instead for 
Did you mean: 

Transition Screen abnormal

TesterSAM
Associate II

Hello,

I am a beginner with TouchGFX. I created two screens with a slide transition and found some questions would like to confirm.

1) Text broken

I found that when the B screen transitions to the A screen, the Big Text contains text broken during transition and is recoverable.

CPU frequency = 280MHz (recoverable) (00:00:07, with 0.25 speed)

video link: https://drive.google.com/file/d/1CLOdeWr4uZ_r9ffi9f0Zoa8mLxGHqC14/view?usp=sharing

Contains Black pixels

TesterSAM_1-1760517705545.png

CPU frequency = 160MHz (irrecoverable)

video link: https://drive.google.com/file/d/1GZGT-tRYJ5CKWq-NUqbRcbQ5Ftn7lW1n/view?usp=drive_link

Text pixels always missing after transition

TesterSAM_3-1760518548270.png

 

  • How the CPU frequency influence this issue?
  • Could it be fixed if using double buffer for TouchGFX?

 

---------------------------------------------------------------------------------------------------------------------------------------------------------

2) Animation Storage

According to the instructions, I should set a full-screen size buffer for the animation storage. However, I set the half-buffer since out of RAM resources.

(00:00:03)

video link: https://drive.google.com/file/d/1CLOdeWr4uZ_r9ffi9f0Zoa8mLxGHqC14/view?usp=sharing

TesterSAM_2-1760518117488.png

  • I would like to confirm that this issue would be fixed when the animation buffer is full-screen size?

-----------------------------------------------------------------------------------------------------------------------------------------------

Info:

MCU: STM32H7B3VIT

LTDC: RGB56

LCD: 480 * 640 

TouchGFX:

TesterSAM_4-1760519008393.png

 

Please let me know if more information is required.

 

2 REPLIES 2
JohanAstrup
ST Employee

Hello @TesterSAM.

Just to confirm a few details at first:

  1. You are using Rotate90, correct?
  2. Which version of TouchGFX are you using?
  3. Are you using single framebuffer in all the scenarios mentioned above?
  4. You do not have a full animation storage buffer allocated for any of the scenarios mentioned above, right?
  5. Does the issue only occur when using the slide transition? What happens if you try using the cover or wipe transitions instead?
    If you are constrained by memory, I would recommend considering one of these alternative transitions, as they do not require animation storage. However, if the slide transition is essential for your application, this suggestion is of course not applicable.
  6. As a test, could you try running the same GUI in portrait mode (thus avoiding Rotate90) and see if the issues persists?

I have never tried to use slide transition with only half of an animation storage buffer allocated, and I do not know if your results are normal in that scenario.

Best regards,
Johan

@JohanAstrup 

  1. I think the screen rotation is applied since (0,0) should be the Right Top corner (Green circle), and Display setting is Landscape for the above-mentions scenarios.TesterSAM_1-1760590413079.png
  2. TouchGFX version 4.26.0
  3. Yes, it is using the single buffer of the Framebuffer Strategy setting.
  4. Half Animation storage applied to the above-mentioned scenarios.
  5. Using STM32H7B3LI-DK with full-screen size Animation storage, the slide transition is perfect.
  6. If the rotation is necessary, any solution to improve the Text broken issue? could GPU2D help?

--------------------------------------------------------------------------------------------------------------------------------------------------------

The Text broken issue persists when using STM32H7B3LI-DK with

  • Single Buffer
  • Full Animation storage (480*272)
  • Enabled DMA2D
  • Portrait Display Setting

Result: Green circle should be (0,0),  Red circle = Text broken

TesterSAM_2-1760595993133.png

Video Link : https://drive.google.com/file/d/1FAWcwHx9w8S6NeeVPPbVY8C7fTd5gpfd/view?usp=drive_link

(00:00:07 - 00:00:08)

---------------------------------------------------------------------------------------------------------------------------------------

If using Double Buffer in STM32H7B3LI-DK, the Text broken issue get worse

  • Double Buffer
  • Full Animation storage (480*272)
  • Enabled DMA2D
  • Portrait Display Setting

     

     

     

Result:

TesterSAM_5-1760597103758.png

Video link: https://drive.google.com/file/d/15-Mind9sM58tjA37XuyQ8eQiG7wSqEj3/view?usp=sharing

I only updated the Framebuffer Strategy setting. Is that any missing configuration?

------------------------------------------------------------------------------------------------------------------------

By the test:

  • Slide Transition is smoothly if using full-screen animation Storage
  • the Text Broken issue still exits. Maybe due to rotation issue, I will test later.
  • Any idea to handle the Text broken issue if the Display rotation is necessary?