Skip to main content
Associate
Oct 23, 2026 3:33 PM UTC
Question

CubeMX Configuring Hybrid Double Buffer Block Size is Broken with Touchgfx Migration to 4.27.0

 

Hello,

This is a fairly obvious bug with CubeMX configuration of the ‘Block Size’ for TouchGFX Hybrid Double Buffering.  Normal values are reported as errors but if I change the byte size to <-1, the errors disappear.  The parameter description also reflects this wrong OK case.  See screenshot for picture of bug being described. CubeMX Screenshot

Context:

  • Recently migrated touchGFX from v4.22.1 to v4.27.0 for this project
  • Using CubeMX v6.18.1
  • Configuring project for STM32U5 series (specifically STM32U5A9NJHxQ)

 

Let me know if further information is required about my project configuration.

 

Thanks

5 replies

ST Technical Moderator
Oct 23, 2026 4:21 PM UTC

Hello ​@deisen 

Could you please provide a project illustrating the issue in order to investigate further?

BR, Souhaib

To give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question.
deisenAuthor
Associate
Oct 23, 2026 6:41 PM UTC

Hello ​@Souhaib MAZHOUD, 

 

Thank you for your response.  I have limited ability to be able to share project source code.  Would you be able to gain insightful information with just the .ioc cubeMX file?  Or would you like other ST development environment project files as well?  I am using TouchGFX, CubeMX, and CubeIDE.

 

My apologies for forgetting this, but another note I failed to initially mention is during this touchGFX migration step, I also updated the:

  • cubeMX version for the project from v6.9.2 to v6.18.1
  • The firmware package for U5 Series development from v1.3.0 to v1.9.0

 

Thanks

deisenAuthor
Associate
Oct 28, 2026 8:50 PM UTC

​@Souhaib MAZHOUD 

 

Do you think you’ll be able to gain enough information from the CubeMX .ioc alone?

 

Thanks

Osman SOYKURT
ST Technical Moderator
Oct 29, 2026 1:42 PM UTC

Hello ​@deisen ,

This may not fully explain the issue, but from the screenshot, it looks like there may be a problem with your LTDC configuration: both the width and height are set to 0, which doesn’t seem right.

ST Software Developer | TouchGFX