Discuss STM32 and TouchGFX implementations, including configuration, debugging, and optimization.
Most recent activity
Dear Sir,My STM32H747I DISO board's LCD is MB1166-A09 , it's driver is nt35510. When I use "STM32H747I DISO board" to create new project, the lcd driver is otm8009a. May I change the default driver to nt35510 ? Thanks.
It would be useful if an item (widget) added to a screen which is a container, showed the name of the container in the properties window. I have a lot of different containers and if I need to make changes to the container, sometimes I have to go through almost the whole list of containers to find the one I need. If the properties window in the top right of the designer window showed the name of the container, then this would be easierMaybe also a quicker way to jump to the container either from the screens tab (context menu for example) or via the widget properties window. It is useful btw having an appropriate icon for each widget in the screens tree because you can at least tell if it is a button, line, container etc
I'm using NHD-2-8-240320AF-CSXP-FCTP display. I try to get a white background on my LCD panel. However, it isn't operating. To interface with an LCD, I use FSMC. Where I made mistake. Please any one help me
Hello, I'm developing using stm32f476-DISCO. Until now, we have made development easy by using external RAM. The current operation has received a request to create a program using only internal RAM without external RAM. https://support.touchgfx.com/docs/development/board-bring-up/how-to/03-display-internal https://support.touchgfx.com/docs/development/touchgfx-hal-development/scenarios/scenarios-framebuffer-strategies I tried to make it by reading the above materials and forums, but I don't understand. https://www.youtube.com/watch?v=H7nBx23a8x4 https://www.youtube.com/watch?v=UobGH7_TPD8&t=3s I have a demonstration video on YouTube above, but I can't find the source code. I'm a beginner and I'd greatly appreciate it if you could organize CubeMX to work without external RAM and guide me on how to touch gfx.
hi I have a problem, when I launch the simulator it does not launch the right project. My project is GP_Dash_70_V1_a not MyApplication_10.MyApplication_10 is a project that I deleted a long time ago.I do not know what manipulation I could have done to have this problem!
Hi,I'm trying to do some initial test of STM32U5G9 by creating a new Touchgfx project.The LCD is using ST7701S controller.I have configured the LTDC settings like this:The LCD is connected like this:Has anyone here tried a similar LCD before? Any samples project that can be shared?If I replace the original screen that came with DK2, then it works.
I installedTouchGFX Designer and want to add components to my project but there are only a few in the provided library. I even did not find the buttonUp that was used in the Button Example. Where can I get more components ? I want to make 3D vector figures that change angle by parameters ( I have gyroscope MPU-6050).
I tried to send a LIN frame by creating a task .The code didn't conatin any error but the frame wasn't sent What could be the problem ? This is my project
I'm using STM32F423ZHT6 board.I setup the X-CUBE-TOUCHGFXAnd FSMC for LCD interface:After generate a code. I opened TouchGFX -> ApplicationTemplate.touchgfx.part.In TouchGFX, I created a boxWithBorder Then Generate code. After Build my project, It shows 187 errors.Please any one help me to done a project?If I made mistake correct me :smiling_face_with_smiling_eyes: Regards,Mee
Hi,I am using the TouchGFX video widget to play custom videos on the STM32H747I-DISCO development board. I am able to play videos by placing them in the assets/videos folder and modifying Screen1View.cpp as described in the MJPEG Video . The video playback works as expected on this board, as shown in the the image below. However, when using non-ST development boards, such as the Riverdi-RVT101HVSNWC00-B and my custom development board, I encounter issues. The video widget does not display the video, even though it works in the simulator with TouchGFX. The screen remains blank.TouchGFX simulatorVideo not show on screenCould you please advise on how to resolve the issue of using the video widget to play videos on development boards other than the official ST boards?
Hello all,I'll be starting a project in TouchGFX designer from an existing template, say STM32F469I DISCO. How does the code generation by the TouchGFX designer and CubeMX interact? Say when I add an UI element and regenerate the code in designer, does it respect the hardware changes done in CubeMX? Or, if I do some changes in CubeMX (for example, add some GPIOs or an UART), does CubeMX generation preserve all TouchGFX code?Is there an order I need to be aware of or can I mix both? What about custom code I added, will it be overwritten by TouchGFX designer code generation? I work a lot with CubeMX so I know how the system with the tags work.What about CubeMX not used standalone, but from within STM32CubeIDE? Thanks! Martin
I'm trying to run two threads when using TouchGFX. One is TouchGFX_Task and another is custom. Problem is that custom task requires about 30ms uninterrupted run.Problem is that running two tasks - one is interrupted which causes issues. If TouchGFX_Task is higher priority - screen works ok, but communication with external device is interrupted in another task. If TouchGFX_Task is lower priority - screen freezes and becomes unresponsive.Tried suspending and resuming TouchGFX_Task with osThreadSuspend() and osThreadResume() but it just stops updating screen (just like with changing priority, tried with commented/uncommented versions)Changed Preemptive mode to Cooperative in FreeRTOS configuration but did not help. Considering trying to use semaphores and/or mutexes however I'm unsure how to proceed with TouchGFX_Task to stop it so no issues arise when suspending and resuming task.Or maybe there is a better way to achieve something like this when using TouchGFX ?Below is sample code of ma
From Touchgfx 4.15 version it seems the application template creation documentation is removed. Right now am using 4.24 version of touchgfx designer. How to create the custom board definition (Application template) in designer to use the board for generating and testing the code from designer itself ?I was using this article erlier, but is it still valid for 4.24 ? https://support.touchgfx.com/4.14/docs/development/touchgfx-hal-development/scenarios/scenarios-create-at
Hello all,I am trying out different projects based on the F469I discovery board. Unfortunately they show up in STM32CubeIDE as having the same name, so it refused to open them.This problem has been around for a long time, with a rather ugly workaround:https://community.st.com/t5/stm32-mcus-touchgfx-and-gui/touchgfx-designer-generated-projects-have-the-same-name-in/td-p/598919Any updates? Is someone working on that? I find that rather annoying.Thanks! Martin
Hi,I am playing with a G071RB evalboard + GFX01M2 display shield atm and noticed some faulty code being generated by TouchGFX designer 4.24.0. The evalboard features a User Button and the display shield has a joystick-like control element with 5 contactsThe TouchGFX Designer generates a MB1642ButtonController.cpp which has bugs in the getKeyState method.First failure is to return characters instead of integers, e.g.keyPressed = '5'instead ofkeyPressed = 5this fails when compared with "Key": 5configured in the .touchgfx file. Because of that no button press is registered.SecondFor the User Button on the evalboard the same method returns 0 (zero).keyPressed = 0;But zero is also the default value, so the button press is ignored. Changed it to return 1 and voilà, it works.The code generated: "PhysicalButtons": [ { "Key": 1, "Name": "BUTTON_USER" }, { "Key": 5, "Name": "BUTTON_CENTER" } ],uint8_t MB1642ButtonController::getKeyState(void) { uint8_t keyPressed = 0; if (touch
I have just upgraded from V4.19.1 to the latest V4.24.0. Project imported fine with no issues. But when I compile I get the following error message Generate Assetsmake -f simulator/gcc/Makefile assets -j10ERROR: In ./application.config at "image_configuration": { "l8_compression":"no" }Reading ./application.configERROR: In ./application.config at "image_configuration": { "l8_compression":"no" }ERROR: In ./application.config at "image_configuration": { "rgb_compression":"no" }ERROR: In ./application.config at "image_configuration": { "rgb_compression":"no" }generated/simulator/gcc/Makefile:221: recipe for target 'images' failedmake[1]: *** [images] Error 1make[1]: *** Waiting for unfinished jobs....simulator/gcc/Makefile:32: recipe for target 'assets' failedmake: *** [assets] Error 2FailedFailed L8 and rgb compressions are new settings from the upgrade and have set them the NONE. I cant seem to find any reason to have this message. Please NOTE: My company curre
Hello, I am trying to modify the start and end points of a line I have created in TouchGFX from outside of the screen code generated by touchGFX. I would like to be able to modify the end points from my own source code files by calling line1.setEnd(240, 240) or even creating a function inside of screen1view that would update the endpoints. Thanks for any suggestions!
When importing the project to IAR, a file STM32F469I-DISCO-REV-AU1.ipcf reported missing.
Can I implement the GUI on STM32F423ZhT6 board by using TouchGFX. If yes means can you guide me?
Have seen in the community page that "TouchGFX can also be used on Linux, and even though the TouchGFX Designer cannot be run natively on Linux, the code generate by the TouchGFX Designer works on both Linux and Windows." but how , please help me in answering the below question that would help me: 1.Is it possible to edit the make file from the source code which generated by designer? 2.Is there a option to design screen for iMX boards? 3. What is the possible way to use TouchGFX for iMX boards like iMX8.
Hello,I saw couple questions being asked back in 2019, 2020 and 2022 on this topic but with a hope that situation may have changed, I am asking to get some clarification.I have a requirement to run the TouchGFX on a Linux based HMI.Priority would be to run on Yocto Linux running on iMX6 board, or else run on any other HMI that has Ubuntu as the host OS.Using the designer I can get simulator.exe that can run very well on windows, however if I can please get to know if any support available to run this on Linux based systems that would be great help.Hardware is not STM based board. Would like to use TouchGFX Designer as HMI development tool.Is it possible? Thank you for your support and consideration.
"EVK043013B.elf" @"objects.list" -l:libtouchgfx-float-abi-hard.a -l:libtouchgfx.a -mcpu=cortex-m7 -T"C:\TouchGFXProjects\MyApplication_1\STM32CubeIDE\STM32F750N8HX_FLASH.ld" --specs=nosys.specs -Wl,-Map="EVK043013B.map" -Wl,--gc-sections -static -L../../Middlewares/ST/TouchGFX/touchgfx/lib/core/cortex_m7/gcc --specs=nano.specs -mfpu=fpv5-sp-d16 -mfloat-abi=hard -mthumb -Wl,--start-group -lc -lm -lstdc++ -lsupc++ -Wl,--end-groupc:\st\stm32cubeide_1.10.0\stm32cubeide\plugins\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.10.3-2021.10.win32_1.0.0.202111181127\tools\arm-none-eabi\bin\ld.exe: ../../Middlewares/ST/TouchGFX/touchgfx/lib/core/cortex_m7/gcc\libtouchgfx-float-abi-hard.a(VideoWidget.o): in function `touchgfx::VideoWidget::~VideoWidget()':(.text._ZN8touchgfx11VideoWidgetD2Ev+0x8): undefined reference to `touchgfx::VideoController::getInstance()'c:\st\stm32cubeide_1.10.0\stm32cubeide\plugins\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.10.3-2021.10.wi
Hi, i'm newHow i can implent shellexecute for run extern program by clicking a button?Thank you for help
Hi,I am trying to load a demo in TouchGFX into my display and I've followed all the steps to the tutorial but when I program and run target, I run into the following issue:Program and Run TargetGenerateDoneGenerate Assetsmake -f simulator/gcc/Makefile assets -j8Reading ./application.configReading ./target.configDonePost Generatetouchgfx update_project --project-file=simulator/msvs/Application.vcxprojDonePost Generate Targettouchgfx update_project.cproject file: ../STM32CubeIDE/.cprojectWriting STM32CubeIDE project file: ../STM32CubeIDE/.projectWriting STM32CubeIDE project file: ../STM32CubeIDE/.cprojectDoneCompilemake -f ../gcc/Makefile -j8Reading TouchGFX/application.configReading TouchGFX/target.configLinking TouchGFX/build/bin/target.elfMiddlewares/ST/touchgfx_components/gpu2d/TouchGFXNema/lib/cortex_m33/gcc\libtouchgfxnema-float-abi-hard.a(LCDGPU2D.o): In function `touchgfx::LCDGPU2D::blitCopyCompressedRGB565_16BPP(unsigned char const*, touchgfx::Rect const&, touchgfx::Rect con
I use w25q128 as an external spi nor flash for stm32f429 discovery kit because internal flash is not enough to store lots of images. I can read and write the flash by the library but I do not know how to connect it with touchgfx files.Below declarations are added into FLASH.ld file:SPIFLASH (r) : ORIGIN = 0x90000000, LENGTH = 4MandExtFlashSection : { *(ExtFlashSection ExtFlashSection.*) *(.gnu.linkonce.r.*) . = ALIGN(0x4); } >SPIFLASH FontFlashSection : { *(FontFlashSection FontFlashSection.*) *(.gnu.linkonce.r.*) . = ALIGN(0x4); } >SPIFLASH TextFlashSection : { *(TextFlashSection TextFlashSection.*) *(.gnu.linkonce.r.*) . = ALIGN(0x4); } >SPIFLASH
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.