cancel
Showing results for 
Search instead for 
Did you mean: 

Stride Value is Readonly after Update to TouchGFX 4.26

gerthmar
Associate II

After updating TouchGFX from 4.24.1 to 4.26.0, the Stride setting in "X-CUBE-TOUCHGFX"->"TouchGFX Generator" is readonly (grayed out). I need to set it to the value 832.

gerthmar_0-1759306845114.png

 

The generated code uses the value 800, even if I modify the value in the project.ioc file manually.

When I change the Stride value in TouchGFXHAL.cpp and in TouchGFXGeneratedHAL.cpp (at call of setFrameBufferSize()) manually, the display works perfectly.

I am using:

  • STM32F769BIT uC
  • MxCube 6.15.0
  • STM32Cube FW_F7 V1.17.4

 

Any advise is very welcome. Thank you!

 

1 ACCEPTED SOLUTION

Accepted Solutions
STackPointer64
ST Employee

Hello @gerthmar,

After checking, it appears the configuration method was updated. The stride value can still be modified through the LTDC panel inside the Layer Settings tab, under Frame Buffer Configuration, by changing Layer 0 - Color Frame Buffer Line Length (Image Width). The previous method in TouchGFX 4.25.0 was incorrect, as it could cause issues and user frustration due to potential misconfigurations. The new approach is an improvement and more accurate.

Best regards,

To improve visibility of answered topics, please click 'Accept as Solution' on the reply that resolved your issue or answered your question.

View solution in original post

3 REPLIES 3
STackPointer64
ST Employee

Hello @gerthmar, and welcome to ST Community!

I have escalated the issue to the relevant team for resolution. It is being tracked internally under ticket number 218772.

Best regards,

To improve visibility of answered topics, please click 'Accept as Solution' on the reply that resolved your issue or answered your question.
STackPointer64
ST Employee

Hello @gerthmar,

After checking, it appears the configuration method was updated. The stride value can still be modified through the LTDC panel inside the Layer Settings tab, under Frame Buffer Configuration, by changing Layer 0 - Color Frame Buffer Line Length (Image Width). The previous method in TouchGFX 4.25.0 was incorrect, as it could cause issues and user frustration due to potential misconfigurations. The new approach is an improvement and more accurate.

Best regards,

To improve visibility of answered topics, please click 'Accept as Solution' on the reply that resolved your issue or answered your question.

Thank you @STackPointer64 . That solves the problem!

Best regards!