Skip to main content
Romain DIELEMAN
ST Employee
Nov 12, 2021 9:53 AM UTC
StickyQuestion

TouchGFX documentation feedback

We wish to always improve our documentation. The best reviews and critics always come from the people that read it, so we would like to use this post to collect your thoughts and feedbacks.

Please share what you like, dislike, what you think is missing, etc ...

/The TouchGFX team

55 replies

CommanderCloud
Associate II
Jul 31, 2024 11:31 AM UTC

https://support.touchgfx.com/docs/development/board-bring-up/how-to/03-display-internal

stm32f7xx_it.c
void LTDC_IRQHandler(void)
{
 /* USER CODE BEGIN LTDC_IRQn 0 */
 /* USER CODE END LTDC_IRQn 0 */
 HAL_LTDC_IRQHandler(&hltdc);
 /* USER CODE BEGIN LTDC_IRQn 1 */
 HAL_LTDC_ProgramLineEvent(&hltdc,0);
 /* USER CODE END LTDC_IRQn 1 */
}

Sample code doesn't work -

HAL_LTDC_ProgramLineEvent(&hltdc,0);

shouldn't be in there.

Associate III
Jul 31, 2024 12:08 PM UTC

I am developing an application using an external frame buffer so I hadn't looked too closely at this page for a frame buffer in internal RAM, however I think the need to re-enable the LCD interrupt once per frame is the same in both cases.

That said, I can't see what is wrong with the sample code? Could you be more specific please?  
My own code development for integrating a custom display with TouchGFX has been slow and I currently render a static screen so I haven't implemented this code (yet) but now it is drawn to my attention I am thinking of doing so.

CommanderCloud
Associate II
Jul 31, 2024 8:46 PM UTC

Hello!

 

Sorry for not being specific. HAL_LTDC_ProgramLIneEvent is used in the HAL_LTDC_LineEventCallback function in TouchGFXGeneratedHAL.cpp. HAL_LTDC_ProgramLineEvent(LTDC_HandleTypeDef *hltdc, uint32_t Line) basically just sets LTDC->LIPCR equal to Line. LIPCR is used as a conditional in HAL_LTDC_LineEventCallback, and it needs to be set to a specific value as defined in that function. Setting it in the interrupt routine breaks the conditional and prevents this LineEventCallback from working properly, which breaks the Tick.

 

Kind regards, Cloud.

Associate III
Aug 1, 2024 7:08 PM UTC

Great explanation, thanks.

Associate III
Jan 2, 2025 3:57 AM UTC

First of all, the existing documentation is reasonable enough to understand the design principles behind TouchGFX and its features.

However, if we go one level depper as a developer, I believe that a major missing point is not having a sequence diagram for the application specific HAL implementataion and TouchGFX library inter module calls. Due to this, I have got the learning in a hard way by validating the sequence diagrams by manually debugging the code.

Kinldy note that I am not suggesting to have internal sequences that happen in the TouchGFX library as I know that cannot be shared. My request is between the HAL and Library.

Associate II
Feb 3, 2025 10:43 AM UTC

Hello.

https://support.touchgfx.com/docs/development/development-introduction

Last words of this section:

"As the AT comes with an .ioc as well, you can open it and change the toolchain to match your needs."

What is AT?

 

Ekran görüntüsü 2025-02-03 134110.png

jchernus-fikst
Senior
Mar 10, 2025 7:56 PM UTC

Never mind this reply, I was wrong and resolved my problem - documentation is fine!

MPamenter
Associate II
Mar 11, 2025 12:40 PM UTC

The documentation is excellent so far!  I found a little spelling mistake in the board bring up section.

https://support.touchgfx.com/4.25/docs/development/board-bring-up/how-to/02-cpu-running#touchgfx-internal-dcache-state-machine

"majority" is written as "mijority"

Southbranch
Senior
Mar 11, 2025 1:26 PM UTC

Hi,

The documentation has become pretty good.

However, on my wishlist would be a section describing on how to use TouchGFX's built in APIs to track FPS and CPU usage in percentage in the same way as many board's demos have in their GUIs. Would be very helpful during prototyping.

Thanks

Apr 8, 2025 2:28 AM UTC

Overall, the TouchGFX documentation is quite well-structured and informative. But i got few suggestions 

 

1.  Include more practical examples

2.  Include a visual roadmap or workflow diagram

3.  Include Getting Started Checklist

ARM_and
Associate III
Jul 5, 2025 2:14 PM UTC

a small suggestion:

Step 8 of board bring up, https://support.touchgfx.com/docs/development/board-bring-up/how-to/08-hardware-acceleration#write-to-framebuffer-memory is less prescriptive than the initial steps where the location of where to insert the code e.g. /* USER CODE BEGIN X */ where given. It leaves a bit of room for confusion.

 

 

 

Associate III
Aug 11, 2025 9:25 PM UTC

I notice that documentation for TouchGFX 4.25, section 'Video Decoding' has been thinned down. It no longer contains detailed information on the following sub-topics, other sub-topics are also missing.
* Software Decoding
* RTOS Support

Without this information, the software video decoder can't be properly setup for software decoding.
Has this information been moved elsewhere in the documentation? I don't see a link to it on the Video Decoding page.  

RobNewbury_2-1754947331325.png

 

RobNewbury_1-1754947229650.png

 

 

Associate III
Aug 14, 2025 8:25 PM UTC

Apologies, now I look closer I now see that I mistook the Video Decoding Section for the TouchGFX Generator with the Video Decoding section in 'Scenarios' which does contain all the necessary information.