Discuss STM32 and TouchGFX implementations, including configuration, debugging, and optimization.
Most recent activity
Hi allI try to use MDK-ARM Keil to debug TouchGFX project?But it hang on Debug mode.When enter debug it directly run and hang like photo belowThis happen after I add new algorithm for STM32H7 After adding this for QSPI setting for insufficient flashBecause I code and photo are more than 2MBs so I need add .flm file to use QSPIHere is my fileThanks
How can I change the alignment from a Resource-Text (not Single Use Text)?Is there a function SetAlignment()? I found only GetAlignment?
Hi Martin,I started to create a basic window with a background bitmap and some widgets, buttons and sliders but found I could not resize the widgets. I am missing something basic. In response to my last post you mentioned stickies, what are they?Kind RegardsMikeZ
Hello,I have gone through the KB articles of TouchGFX. But I think they are very shallow. Not able to found how memory management is done. I know a good graphical system needs lots of RAM so touch gfx needs external SDRAM. Ok I have got SDRAM. But how it uses the SD RAM? Normally software uses dynamic memory allocation for such purpose (example when it allocates memory for screen buffers or caching(loading) bitmaps). But in embedded system we cant easily use dynamic memory so some kind of tricks are implemented. I am not able to find out how TouchGFX uses dynamic memory? Where we define the area which is used for caching bitmaps.
Hi all,we were working on two different feature branches an now run into some problems merging the Designers project file (*.touchgfx).Merging the graphical parts worked out well, but when it comes to texts, merging is not possible that easy.Especially SingleUseIDs are generated independently in those two feature banches (obviously), so merging mixes up our texts.Is there a suggested way to collaborate in teams with the TouchGFX Designer?Best Regards,Alex
HelloI want to make a simple project using touchGFX and cubeMX .I am trying to create a picture on the board's screen. But it does not appear on the screen. When I apply these steps : https://touchgfx.zendesk.com/hc/en-us/articles/360019884752-Configuring-STM32F746G-DISCO...it works. But I don't want to activate any other peripheral except for display parameters.I just want the create a simple interface, just a view on the screen.How do I do this?
I've followed this article to configure a CubeMX project with TouchGFX graphics and IAR Embedded Workbench: https://touchgfx.zendesk.com/hc/en-us/articles/360019884752-Configuring-STM32F746G-DISCOI got it working several times, but suddenly the linker gives an error:Error[Lp011]: section placement failed unable to allocate space for sections/blocks with a total estimated minimum size of 0x10'1d00 bytes (max align 0x4) in <[0x9000'0000-0x9010'0000]> (total uncommitted space 0x10'0001). Error while running LinkerMy application consists of a clock (made with this tutorial: https://touchgfx.zendesk.com/hc/en-us/articles/360018667192-Step-1-Setting-up-the-two-Screens) a using some hardware pins. (Blinking an LED and UART.)All help is appreciated.
Hi..I used the LTDC of STM32F429 upto 800x480 TFT.The datasheet says "LCD-TFT controller with fully programmableresolution (total width up to 4096 pixels, total height up to 2048 lines"which is 4K resolution . Does this MCU supports this much resolution ? did any one used 4K RGB TFT with STM MCU ?kindly guide .regardsImran Naeem
Hello,We are currently working on a new project and we would like to know if it is possible to remove the LCD on the evaluation board in order to place ours instead.Thanks
I built my wifi camera https://youtu.be/AORCE1Jggls Now I made it even faster, but so far 2-3 frames per second.Now i'm using DCMI_CaptureMode_Continuous. The ov2640 camera gives ~ 5 frames per second. But i use DCMI_CaptureRate = DCMI_CaptureRate_1of2_Frame;DMA_ITConfig(DMA2_Stream1,DMA_IT_HT,ENABLE);// half buffer ready send to ESP01DMA_ITConfig(DMA2_Stream1,DMA_IT_TC,ENABLE);//the second half of the buffer is readysend to ESP01.One half of the buffer is transmitted until the second is full.But this is not enough to useDCMI_InitStructure.DCMI_CaptureRate = DCMI_CaptureRate_ALL_Frame;image 800x600 ~14-15 KB for 1 image.I tested ESP01 in transparent transmission mode at speed 2Mbit almost no packet errors.This speed should be enough to transfer 10 frames per second 800x600 to be compared with ESP32CAM.But so far only 3.Last thought is to try to copy the data from the frame buffer to the FIFO buffer, and then only transfer.
Is it possible, to zoom a text and especially text with dynamic text?The scenario is, to zoom into a screen, if a user is detected by a sensor.
Hy everybody, I'm new on TouchGFX and after installing it, I opened a sample program and when I want to launch the simulator or generate the code, I get error messages.Did I need to make some configuration to get it work?Thanks in advance for reply,Regards.
Good morning.Im working from several day in a project on touchGFX (atm prototyping on a STM32F746G-DISCO board), but today when i make a modification on touchGFX, this won't appear in visual studio simulator, and ofc it won't compile( it does compile and run on TouchGFX)how can i fix this?ThanksStefano
I made some Customer Containers. In these containers I want with mouse-click to a button that the screen should change to another screen. (see picture below).This code works fine until I have the designer open. I can also see the code in the file ".../generated/.../containers/....base.cpp" (see code below).But when I close the designer and open it again, then the code is deleted.
Hello,I'd appreciate if you could release a tentative list of the widgets you plan to integrate in the future release of TouchGFX with a few words about their features. Thanks in advance,Guillaume.
Hi all,I`m trying to use touchgfx with keil compiler through st-link,I face a problem that my total file more than 2MB(Against internal flash size).So I need to use external flash QSPI,but there is a problem like photo below.(When it`s in Debug Mode,it just run without press Run Button.)And I`m curious about that function in main.c ,in the two condition statement are associate with external storage like SD-card, I suspect that is why it can`t work in correct way.How can I do to solve this problem ? Thanks!
We are looking for an Application note to build JPEG files at STM32F767VI (2fps, 680x480) or similar MCUPlease help
I have some fonts stored in A8 (intensity-only) format. I'd like to use the DMA2D to draw these to my RGB565 frame buffer. I'd like to specify a foreground and background color and have the DMA2D read the font intensity data, generate a color for each pixel using the specified 24-bit foreground and background colors, and write this my frame buffer. So this would be a single-byte read for each pixel and a two-byte write (since I'm in RGB565). I do NOT want to blend the pixels with existing data in the framebuffer (which would take an extra read).Is this even possible with the DMA2D? Various ST documents imply it is possible but I can't find a good example. If someone from ST could provide a simple example using the HAL_DMA2D_ functions I think it would help out a lot of people.
I have created a few test project for TouchGFX V4.10. The projects build without any error and could be loaded to a ATM32F7 disco boards. What i am mussing are the Keil uVision project files as well as the directory for a created project. The IAR project files as well as the directory have been created for each project. Is there a setting to enable the creating of the Keil files?Keil uVision V5.27.1.0 is installed on the PC to be used.
As title say, today my TOUCHGFX keep compling again and again even with no chenge in the code or the layout ( i literally took away my hands from keyboard, but he keeps compiling as u can see in the picture above)I apology for the second part of the image being in Italian, but essentially it's visua studio saying that some file has been changed by someone(touchGFX i'd say) and needs to be reloaded, and this keep happening, when hefinish to compile... he compiles again, my pc is melting. Any clue/help/fix?Thanks in advance for any helpStefano.
Hello,We intend to use a font which was installed correctly but was not listed in TouchGFX under the Font column in Typographies.After some investigation, we found the font contains a space in its filename, e.g. "Sample Font.ttf". After removing the space and reinstalling the font it is listed correctly.The workaround to remove the space and re-install the font works fine for now, but requires each developer to follow this step for a font that is pre-installed on our computers - hence this bug report.
Hello,I was searching this forum and already found lots of help, but unfortunately I'm stuck to this issue. The Guide refers to CubeMX 5.0 and some things seem to be corrected since this version i.e. C/C++ combi project... but still CubeMX does not generate an Atollic project including TouchGFX that does compile and so far I was not able to fix it. Actually this is bit frustrating as TouchGFX together with the other stuff is all part of STM and promised as working solution...So Maybe someone here has done this succesfully and would be so kind to share the .ioc file or give an updated step by step manual for the new software release as I'm sure I just miss some tiny things...Thanks in advance and best regardsStefanPS: Without use of TouchGFX I can create a working project with CubeMX and also when I use the TouchGFX standalone and flash the Board from the Designer it works.
I am trying to run a clock demo from TouchGFX 4.10.0 Designer for my STM32F769-DISCO.But when i Run on target the detailed log shows the erroe:" there is an error occured during flash. Please make sure you have the right target connected."PS:I am sure that i have choose the right target.
Hello, when I encode the photo I encountered a problem, namely the photo looks like below, I use the library from the CubeMx exampleChroma sampling is 420, RGB565 format,Photo is 320 * 240,Input buffer lines , 16 for YCbCr420,The number of mcu blocks is 300, the problem starts at 170 block.Is anyone able to tell me where I made a mistake.GreetingsDariusz
Hello everyone.I have STM32F429ZI nucleo Board, 1 TFT 7" with SSD1963Now i want to connect TFT 7" to nucleo board and using CubeMX, Touch GFX to display picture on TFT.But i'm not understand how to connect TFT to nucleo board, and how to configuration CubeMX with Tocuh GFX?Anyone can give guide or tutorial, Which i can to do that job.Thank All
ST Community highlights – April to June 2026
Already have an account? Login
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.