Discuss STM32 and TouchGFX implementations, including configuration, debugging, and optimization.
Most recent activity
4.14.0 new feature support Cortex-M33.But why can't select for STM32L562E-DK ?Web bought STM32L562E-DK Develop Boardthanks
Hi @Martin KJELDSEN ,1) Is it possible to share the source code for TouchGFX TrulyHandsfree demo ?https://youtu.be/B8_2XtEK4wk?list=UUPmAQbY9KbHqdQ_GwUGg1bA2) I am planning to buy STM32F469 Discovery kit for Alexa implementation. Does ST provide Audio codec, Mic etc drivers with this kit ?Regards,shree
When looking at the TouchGFX LineProgress page under UI Development->UI Components, clicking on a link in the description returns a "Page Not Found" Error. Page in question:https://support.touchgfx.com/docs/development/ui-development/ui-components/progress-indicators/line-progress/For example, under User Code, there is a link labeled "beginning of this article", but when clicking on this, a "Page Not Found" error is seen.https://support.touchgfx.com/docs/development/ui-development/ui-components/progress-indicators/line-progress/line-progressNOTE: 'line-progress' is in the link twice. If I remove the second 'line-progress', the page displays as expected.
Hello @Martin KJELDSEN @Community member ,@All ALL We are using TouchGFX based development kit.STM32F746G-DISCOSTM32F7508-DK STM32F746G-DISCO :When we used STM32F746G-DISCO Kit, we are using following command to separate the flash and ext-flash binary.arm-none-eabi-objcopy.exe -O binary --only-section=*Section "$ STM32F746G_DISCO.elf" ExtFlash.bin;arm-none-eabi-objcopy.exe -O binary --remove-section=*Section "$ STM32F746G_DISCO.elf" Flash.binAbove Generated binary are working fine and we are loaded using ST-LINK Utility.STM32F7508-DK :When we used STM32F7508-DK kit, We are using following command.arm-none-eabi-objcopy.exe -O binary --only-section=.isr_vector --only-section=.text --only-section=.rodata --only-section=.ARM.extab --only-section=.ARM --only-section=.preinit_array --only-section=.init_array --only-section=.fini_array "$ STM32F7508-DK.elf" Flash.bin; arm-none-eabi-objcopy.exe -O binary --only-section=*Section "$ STM32F7508-DK.elf" ExtFlash.bin;Above command
Hi,I want to know if it's possible to make a 320x480 16Bit LCD as dual buffer, since the internal SRAM of MCU are not continuous! Is there a trick!Best Regards
Hi,I have make a simple Project, with STM32H750, Just a simple on/off button and progress bar, I have used LTDC , Graphic accelerator and the simple widgets looks Ok, But some widgets with pictures like the on/off button and or analog clock would render like dashed lines! even in simulator!what can be wrong?Regards
Could you please provide some advice or example code on how best to create a screensaver using TouchGFX?I am looking for the classic screensaver functionality: if someone touched the display with their finger whatsoever, then the screensaver counter should reset. When the counter reaches a threshold, then there is a transition to some kind of "screensaver screen". This could even be a Modal Box. After touching the device again, increase again the screen brightness and enter some password if necessary, to go back to the screen where the user was at previously. I have not found a way to insert some kind of callback function into some kind of "has the screen been touched?" function. Where can I find this "has the screen been touched?" function in the TouchGFX stack, and how can I add some user level code to this?Would appreciate any answers or tips.Cheers!
Hi All,Recently, i have testing memory device Because of the flickering.I've attached my application test code below.My hardware is stm32f767IGT6 with SDRAM using FMC.I have two png file to display in 320x240 LCD.Because of the flickering, I'd like to use MEMDEV or MULTIBUF.First i tried to use Multi Buf. but it's not works with hardfault So, i'm trying to use MEMDEV.The test code has 2 images.In MainTask,If the "test" is true, the smile guy is displayed properly.but "test" is false, sysytem crush, with hardfault()Of course if not using MEMDEV, displayed properly.void MainTask(void){GUI_MEMDEV_Handle hMem = GUI_MEMDEV_Create(0, 0, 320, 240);GUI_MEMDEV_Select(hMem);GUI_Clear();if(test){GUI_PNG_Draw(_acBitmap_50x50, sizeof(_acPNG), 0, 0);}else{GUI_PNG_Draw(background, sizeof(background), 0, 0);}}GUI_MEMDEV_CopyToLCD(hMem);while (1){GUI_Delay(100);}}What am i doing wrong?
Hello,I tried to port an TouchGFX-Application from ARM5-Compiler (ARMCC) to ARM6 (ARMCLANG). Both compilers are from KEIL (µVision).Well it does compile, but it doesn't link:Warning: L6869W: abstractpainter.o requested the Rogue Wave Standard C++ Library which has been removed from the product. This might cause link errors because libc++ is used instead.Error: L6242E: Cannot link object abstractshape.o as its attributes are incompatible with the image attributes.(There are a lot more linker errors)I do believe the provided TouchGFX-Library is not compatible with ARMCLANG (and there is no other library supplied in ...\TouchGFX\4.10.0\touchgfx\lib\core\cortex_m7\Keil)Is that the case, or did I miss something else?
As we have Parallel RGB LCD and we tried integrating with STM32H743 controller and using touchGFX we are trying to display the image but nothing is displaying on the LCD so what may be the issue?
Hello,I'm using a custom board based on the STM32F779 with external RAM, external QSPI flash and a 800x800 screen running in video mode. When I run the application with one framebuffer (on external RAM) it works but it has some flickering, so I'm trying to test with double buffering but when I change it I get a Hardfault after flushing the buffer the first time. My buffers addresses are 0xC0000000 and 0xC01D5000 (based on the screen resolution 800x800x3), and the framebuffer region is protected with MPU. How can I solve this?Thanks
HiI have an image which is completely white, its shape is only defined by its alpha channel. What I'd like to do, is draw this image and dynamically change white to any color, while preserving its alpha channel. And it needs to be fast, as I'd like to animate color transitions. Does TouchGFX provide an optimized (ChromArt) way to draw something with a custom color applied?As I haven't found anything so far, I came up with the following idea. I convert my source image to a dynamic bitmap in L8_ARGB8888 format: indices are alpha levels, and the palette is filled dynamically with the desired color, 1 alpha level per palette entry. This way, to adjust the color at runtime, I just need to write 256 pixels (the palette) instead of the whole bitmap.This works fine but animated transitions are not smooth with a STM32F7. I definitely need a more optimized solution, can someone help me?Thanks
Hi,I'm having trouble running the GUI on STM32 (specifically STM32F429IITX).I found a lot of links, articles and videos that describe how to get the display and GUI up and running, but I couldn't connect the TouchGFX to the STM32CubeIDE.Is there any procedure, example, etc.?After setting up a project in CubeIDE and adding GFX, the project cannot be compiled.I tried adding includes, excluding the simulator and everything that was recommended, unfortunately without success.I have IDE 1.4.2GFX 4.13.0Thanks for the ideas.
I have a software project that interfaces an STM32F4 to an external display via SPI. The frame rate is set by the time between periodic executions of TouchGFX_TickHandler() and MX_TouchGFX_Process(). The period is currently set at 17 ms, which gives a frame rate of ~60 Hz.Is increasing the time between calls to the TouchGFX functions sufficient to decrease the frame rate, or do I need to configure TouchGFX to make it aware of the new frame rate? I don't see a frame rate setting in TouchGFX Designer.One thing to mention is that while the update period is defined in code as 17 ms, that's only true for partial screen updates. A full screen update SPI transfer takes 34 ms, plus an additional 10 ms of overhead to flip the endianess of words since the MCU doesn't have DMA2D or MDMA. (https://community.st.com/s/question/0D50X0000C9dxj6SQA/how-to-change-touchgfx-framebuffer-to-big-endian).Thanks!
Hi Everybody.I Have created many screens, they have same information, which will display in each screen like Date, Time (1st, 2nd...31st) and weekDay (Monday...Sunday).i already display them in each screen by create every array in each screen, but it is inconvenience.There are any ways, that can create only on array can store those data above (Date, time, weekday), and i can used them fore difference screen?I tried to make a extern declare in every screen, but it is not correct.Thanks and Best Regards.
Hello Team,I've a 64MB flash from custom board.I able to flash JPEG hex array to Flash section @ 0x90000000.Flash image array verify in memory mapped mode and show data in memory section of IDE in proper manner.Now,In TouchGFX designer ScreenView.cpp code there are I'm use LibJPEG library for decompressed image.Library code also working properly.But here issue is when I use address then give it SOI error :jpeg_mem_src(&cinfo,(unsigned char *)(0x90000000),2416); jpeg_read_header(&cinfo, TRUE);So,I can't understand if data image array flash properly then why give it error ?If I provide direct JPEG buffer array like uint8_t buffer[2416] = {0xFF,0xD8,0xFF,0xE0 ....} jpeg_mem_src(&cinfo,buffer,2416);Kindly suggest me solution.Thank you.Reagrds,Pratik
What is required to link the version of the additional packages with the version of the CubeMX. Version 6 has a lot of problems that make it practically unusable. I returned version 5.6.1 which works stably, but here's what message it gives me? You are trying to return the TouchGFX version as well but obviously I have to uninstall it manually because I couldn't uninstall it from the Cube.
helloi want to use click listener for text areai add this function: void textareaClickHandler(const TextArea& b, const ClickEvent& e);and this : Callback<startupViewBase, const TextArea&, const ClickEvent&> textareaClickedCallback;to viewbase.hpp/*********************************************************************************/ /********** THIS FILE IS GENERATED BY TOUCHGFX DESIGNER, DO NOT MODIFY ***********/ /*********************************************************************************/ #ifndef STARTUPVIEWBASE_HPP #define STARTUPVIEWBASE_HPP #include <gui/common/FrontendApplication.hpp> #include <mvp/View.hpp> #include <gui/startup_screen/startupPresenter.hpp> #include <touchgfx/widgets/Box.hpp> #include <touchgfx/widgets/AnimatedImage.hpp> #include <touchgfx/widgets/TextAreaWithWildcard.hpp> #include <touchgfx/widgets/TextArea.hpp> #include <touchgfx/containers/ScrollableContainer.hpp> #include <touc
This might be in your to-do list in the future already, but I would appreciate this type of feature a lot.If I want to have dynamic text size fields at the moment, I must write relative positioning for the elements manually.(aka. element1.setY(element2.getY() + element2.getHeight() + ELEMENT1_2_OFFSET))Constraint layout features would enable to set position to elements based on other elements.
Hi,I have managed to finally bring my custom board up and touchGFX is now detecting my LCD and putting widgets on screen,I’m using LTDC as LCD controller (RGB565), when I just put a progress bar with only solid colors, it shows it perfectly, But when I put the Image progress bar, it would show the wrong color conversion! What’s wrong and what can be done.Note: in simulator, touchgfx shows everything in the right color format!Take a look at sample picture.
I have STM32F407vg and 3.2" Touch Screen TFT LCD Module - ILI9325 like this:https://www.hotmcu.com/32-touch-screen-tft-lcd-module-ili9325-p-127.htmlI did a connection between the breadboard and lcd screen like on that site. I tried to display anything on the screen using a lot of different liblaries, but mostly they threw bugs. I only managed to turn the screen white.I tried connection by fsmc and gpio. The IDE I use is: STM32CubeIDE.Do you know any library that I could use here and sample code to display something?
I have a TextArea with a font size for example - 24 and it has a resizeHeightToCurrentText method. How do I prematurely calculate the height myself? Is it possible to get the width of a single glyph?
Hi, I am new with STM32F429ZI, i tried touchgfx as per tutorial video in youtube, but touch screen showing full white only. I am doing something wrong , kindly share proper your ideas, document and video. please help me
Tell me, can I make a button to return to the previous window with data saving?
TouchGFX 4.14.0 + STM32CubeIDE 1.4.0 (FW_F4_1.25.0)I tried building with the above combination, but it was embarrassing because there were a lot of errors. Is that version compatible? TouchGFX 4.14.0 + STM32CubeIDE 1.2.0 (FW_F4_1.24.2) combination confirmed that it worked.
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.