Discuss STM32 and TouchGFX implementations, including configuration, debugging, and optimization.
Most recent activity
This is a warning listed under the "Problems" tab in STM32CubeIDE (1.1.0). I am seeing some strange behavior and am wondering if this is the cause.The strange behavior I am seeing is that often when I change something in the TouchGFX Designer and click "Generate Code" then do a Run > Debug in STM32CubeIDE, the change does not take effect. What runs on the target is some previous build (without the changes).Sometimes if I disconnect the target and reconnect it, the latest code is correctly running on the target.
Hi, I Have a custom board with stm32h743... I design a graph page with touchGFX and when D-cache is enable, system detect some hard faults specifically when I touch a button to change screens, some times it works and some times not, When I disable D-cache, system works fine, but graphic speed degrade dramatically ... Please help me ...
Hi GFX Team,Could you possibly add access to colour of autogenerated __background gfx::Box please ?ThanksFerro
Hi, maybe i ask this some years ago, but still not resolved. In designer now cant create defines list for use instead constant numbers. Then can be quickly managed all objects.Now for example i have designs with 150 labels and set some level of white color on every.After design presented boss say require more darker or lighter texts, then start hard job click on every object and change color, instead we need change one define.Exist any way to do it now, or is planned in next release ??
Hi everybody,I'm trying to implement into a custom board, the dynamic Qrcode generation algorithm.I'm using touchgfx 4.23.0, an SPI display with partial buffer strategy.I would like to draw the string "https://support.touchgfx.com" . Display seem to draw it correctly but when I'm try to read it using my phone, this one is not readle. it seems not valid..I'm using the following initialization sequence: void Screen_QrCodeView::setupScreen() { Screen_QrCodeViewBase::setupScreen(); QR *code; sprintf( string, "https://support.touchgfx.com"); code = new QR( string ); qrCode.setXY(10,10); qrCode.setQRCode(code); qrCode.setScale(8); add(qrCode); } display screenQrcode detailI don't understand the reason. If I change the size of QrCode using qrCode.setScale the result is the same.Is it possibile to change the resoltuion of the QrCode? Is the QrCode resolution too poor respect the modern APP algorithm?Does someone ahs the same issue? Please, Can someone try to
Hi ST team,I'm currently using the STM32F769-DISCO board for testing purposes with a 12-lead ECG module, specifically the ECG module. I have the library for this module available.My goal is to integrate this library with the STM32F769 board using TouchGFX. The ECG module receives raw ECG data and converts it to serial UART output. I need to receive this data in the RX buffer and then plot it on a dynamic graph representing the ECG wave.To ensure the correct acquisition of data from the module, I need assistance in testing the initial UART data output. I have attached the module's library and datasheet for reference. Could you please provide guidance on how to approach this?I appreciate your prompt response as I'm eagerly awaiting assistance. Thank you.
Hello everyone, I hope you are all having a great day. I would like to know how to work with the labels for the dynamic graph widget : I want to know how to make the X axis labels display a real time value instead of numbers and I want it to be accurate to the real time, for example : Instead of 10,20 etc I want it to show 01:10 AM, 01:20 AM. etc. can someone help me with this please? Thank You Best Regards.
I am working on custom display board. created project using touchGFX I would like to know to how to confirm what is the tpa version touchGfx used to create this project.any interface to get tpa version or BOM file which includes all package version. ?
Hi,i have a scrollable container with some objects inside:on the left and right i have these images: i need to hide the images images on left and right border according to scroll position and number of objects:if objects are <= 6 hide left and right imagesif objects > 6 and scroll is full right hide left and show rightif objects > 6 and scroll is full left show left and hide rightif objects > 6 and scroll is on middle show left and rightAny suggestion?
Hi, I'd like to use a code from javascript in the STM32F746 DISCO. It's a radar that receives data from an ultrasonic sensor. The code for the radar was made using processing and I want to show it in the STM screen but I got no idea.Here is the code from javascript and a view of the radar.import processing.serial.*; // imports library for serial communication import java.awt.event.KeyEvent; // imports library for reading the data from the serial port import java.io.IOException; Serial myPort; // defines Object Serial // defubes variables String angle=""; String distance=""; String data=""; String noObject; float pixsDistance; int iAngle, iDistance; int index1=0; int index2=0; PFont orcFont; void setup() { size (1200, 700); // ***CHANGE THIS TO YOUR SCREEN RESOLUTION*** smooth(); myPort = new Serial(this,"COM3", 9600); // starts the serial communication myPort.bufferUntil('.'); // reads the data from the serial port up to the character '.'. So actually it reads this: angle,distance. }
PART# STM32H747I-DISCO (Mouser S/O 935751) We have a customer tried the demo program on ST website, ./en.STM32H747I-DISCO_demo/STM32H747I-DISCO_demo"Three example programs based on TouchGFX�?STemWin�?EmbeddedWizard, open a random folder, use STM32CubeProgrammer write the hex file under Binary, then reset to run.Onserve the screen, around 1s, the screen will blur, touch screen seemed fine. meanwhile if screen abnormal, no reponse if press reset button on board, power off and electrify again, display back to normal, but after a while the screen will show blurry again (the interval time is random). if we touch screen, the flash screen phoenomen will show up earlier."Attached photos for your reference. Could you advise how to solve it?
Hello everyone, I am trying to improve my skills with TouchGFX. I want to add dynamically a custom container at my current screen during runtime. Is there a method to do it without using a container widget? I don't want to put my custom container in current screen and use SetVisible() method (i don't want to waste memory). P.S. Here is what I've done: First of all, I create those simples Custom Containers with TouchGFX: Then, I create my screen: The idea is very simple: When User touchclicks "Right Button", the volume custom container will appears in the top right corner (container1). Here is a part of the code:and VolWidget 1 is the first Custom Container (Volume Custom Container).Now, what I have accomplished is that the Custom Container indeed appears in the top right corner but I receive an exception frame: Anyone can suggest the error's source?
Hi,Gfx::Font class returns many font properties e.g. Font::getBaseline (), Font::getPixelsAboveTop () etc.https://support.touchgfx.com/docs/api/classes/classtouchgfx_1_1_fontIs there a tool that can show all these properties ? With FontForge somehow ?ThanksFerro
I am working on touchGFX on custom board where I am creating my project in CubeIDE.I have integrated the touchGFX in .ioc file but when I try to compile the code in TouchGFX designer I get following error Post Generate Target touchgfx update_project Unable to locate D:/<project path>/.cproject Failed FailedMORE:Tried all suggestions from below link, but doesn't seem working.https://community.st.com/s/question/0D53W00001SMGlCSAX/touchgfx-designer-error-unable-to-locate-cpathtofolderCan someone suggest the solution for the same?Or any demo project will be helpful.
Hello,I needed to create some drawed ones elements. My request was the ability to change the color on the fly, the ability to set the day and night mode and possibly change the dimensions.I am sending here the first working version without setting the dimensions. I set the colors globally, but here I put them directly in the container.I'm not changing the dimensions here, a newer version will do that. The way I do it is definitely not the best and I will probably edit it before publication.Now I'm putting it here more for the purpose of getting feedback.Is this way the right way?Is there something I'm doing wrong in the code and should I do it differently?I have created several checkboxes, radiobuttons, buttons, togglebuttons, sleder ...In case I'm not doing it completely wrong, I'll put them here.For jnCircleCheckBoxA:bool checked;setChecked(false);determines the state of the checkbox. bool enabled;setEnabled(true);determines whether the checkbox can be clicked bool selected
Hi.I started a small project using a custom board with STM32G0B0, SPI flash and 3.5 inch ili9488 LCD, communicating via SPI using the TE pin, without RTOS. Everything loads fine and quite fast, but after 5-40 seconds the uC freezes. Especially when changing the screen, using widgets like the scroll wheel, or even updating text/widgets after n ticks with a random value.What I noticed, before I used more than 3 screens and updating the values, nothing happens, even the animation with texture wrapping works. The logo screen containing the black box, image and text loads immediately after the LCD display initializes. Now I need to load the boxand then display the image and text. Any ideas what I should check?Thanks for the help.
Dear all,I am working on a project using STM32F750 (custom board), a 7 inch TFT touch LCD (using LTDC), and FreeRTOS v1.I have 12 analog signals (ECG signals) captured by ADC every 1ms.I want to plot them (real-time) on 12 different graphs on LCD.My display refresh rate is usually about 60 Hz. However, when I add 12 dynamic Graph widgets to a screen and add data points in each tick, the refresh rate falls below 15 Hz!I also tried to disable the ADC and just pass a constant data. But the problem still persists. Here is what I tried yet:1-Making a cacheable container and updating the cache -> No effect.2-Changing the dynamic graph codes so it won't invalidate graph after each point and instead, defining a rectangle and invalidate a moving strip on screen using invalidateRect() -> Refresh rate increased a little bit. However screen flickers3-Using setFrameRateCompensation(true) -> when I measure screen refresh rate it apparently become 60 Hz again, but when I see it in
I’m using STM32CubeIDE 1.2.1 and TouchGFX 4.13.0 with STM32F746G-DISC0 kit.I would like to calculate an image at runtime and then display it. Is there a manual or something similar? I have tried the AnimationStorage, unfortunately getAnimationStorage() always returns a Zero.
Hi, I want to conect an external MCU to the STM32F746 DISCO using UART but I dont know how to use another UART other than the one used for communication with the PC.
Good morning,I bought an stm32f412g-disco board but it's impossible to program the screen with a TOUCHGFX application.I'm using TOUCHGFX Designer 4.23 and stm32cubef4-v1-28I created a project directly from TOUCHGFX Designer for the F412G-disco board.But my screen remains blurred (see photo)Is there a modification to be made in the configuration (.ioc)THANKS
Hello Everyone, good day, Recently I have implemented RTC to my TouchGFX project for my Riverdi RVT70HSSFWCA0 STM32 Embedded Display that uses a STM32H757XIH6 Microcontroller. I have managed to get the time and date to show on the display, all is working well. Except that the RTC is only running when the power for my display is on even though I placed a battery at the back of my display (which is connected to the VBAT pin of the stm32) The battery has 3 V coming out so its not a battery problem. I do not know why it is not running while the power is off, can anyone help me with this? Do I have to write any code for the display to be able to use the battery? Please provide kind support, thank you best regards.
hi st team/community .,AS i followed st youtube video for dynamic graph conversion from ADC ..where they used STM32h7b3 disc0 which has enough ram compared to mine(stm32f769 disc0)..i need to know which is simple way for doing it worked,, where i will ready for anything to do..(like reduce for resoution and size )..because.,this is testing only.,,where i need to do ECG waveform in display furture process..if i'm going to use ecg waveform from 12-lead.,then how should i do it in this board.,??should i use 12 separate dynamic graph...??STM32 Graphics: How to use the graph widget to display the ADC converted values, Part 2 (youtube.com)
Hello,I plan to use a STM32H745 controller and 7" LCD TFT display with resistive touch. Am using TouchGFX for UI developement. My application should support Touch gestures such as swipe and list scroll. I already have used capacitive touch in another project with same controller and touchGFX and was able to swipe and scroll seamlessy without any additional implementationAre these gestures possible with a rsistive touch screen? if yes then can you please provide any sample codes for the same.Thanks Anuj
Hi,I'm currently developping a firmware for stm32f411re to display images on screen TFT ili9341.Everything works fine except why i try to use scalable image with in touchgfx. The scalable is store on external flash.Did someone have any idea about this issue? Best Regards, Stlinkos
When a condition is validated, for example clicking in the middle of the scroll whell (flag == 1), how to change page, I can't do it? I've tried several things but I can't find anything explicit and clear in the posts or tutorials.
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.