Discuss STM32 and TouchGFX implementations, including configuration, debugging, and optimization.
Most recent activity
I have created an array of flex buttons in my user code for which I set attributes like text and border in the screenview.cpp file. I want the button to call a virtual function when clicked, how do I do that.
Working on designing the GUI in such a way that need to change the color of the small circle to indicate the status and also to show the mode changes . If one mode is selected circle color should be green or else white ....... im trying to work on this but im unable to change the color. So if available please send me some examples..Thank you
HI ST,I do a project about MIPI DSI but have an issue: when send the first command DSI in command mode, status is HAL_OK and I see the signal on scope (DSI D0P/D0N). After that, Pin DSI D0P/D0N is in level 0 and don't send the next command.DSI Config: DSI_Clock_land_byte = 38MHz, TXEscapeCkdiv = 0x09 PhyTimings.ClockLaneHS2LPTime = 35; PhyTimings.ClockLaneLP2HSTime = 35; PhyTimings.DataLaneHS2LPTime = 35; PhyTimings.DataLaneLP2HSTime = 35; PhyTimings.DataLaneMaxReadTime = 0; PhyTimings.StopWaitTime = 10; HAL_DSI_ConfigPhyTimer(&hlcd_dsi, &PhyTimings);Please help me, thank you.
I wanted to use the 8080 interface on the STM32H750 to drive the 5-inch LCD (800x480) and only use the MCU's internal SRAM.Is there a similar template for reference?Because all I can see are templates that use the LTDC(RGB888)+DMA2D+SDRAM interface.Thank you very much:D
HiHow to attach a new font to TouchGFX?Andrzej
Hey there, I'd like to start by presenting my overall goal. Attached to this post is a screenshot of a flow chart representing the functionality of a flight controller I'm working on. I'm currently working on the OSD which consists of a video overlay of telemetry data. This circuit is intended to be a standalone microcontroller acting as a slave to the main flight controller and will sync to the vertical sync of the incoming video, and overwrite pixels to display data before the signal reaches a video transmitter that broadcasts. I've been playing with an open source design with included code and have got the concept working reliably, but this program is simplistic and only contains character data. This alone is pushing my Arduino nano to it's max RAM and Flash cap. My end goal with the OSD is to use an STM32Fx series MCU in place of the AVR MCU which would enable me to use some graphical representation of pitch and roll in the center of the video stream. An example being a left and
..
I'm using the example LwIP HTTP Server Netconn as a starting point for my project. Everything is fine but I would like to enhance the GUI using TouchGFX (showing IP an other info from a couple of tasks). Is it possible? what's the best way to do it? Working with a STM32F769I Discovery Kit.
There seems to be something missing in the text. Others have obviously gotten it to work. My goal is to use TouchGFX to drive a test fixture using the '469i-disco board. I have been successful getting the two screen tutorial working on the board.
Hi,I am trying to create some first GUI application for STM32F429I-DISCOVERY just to learn TouchGFX. Unfortunately, when I start GenerateCode in TouchGFX Designer following error appears:Generate Code Generate Done Generate Assets make -f simulator/gcc/Makefile assets -j8 Reading ./application.config Done Post Generate touchgfx update_project --project-file=simulator/msvs/Application.vcxproj Done Post Generate Target touchgfx update_project --project-file=../test1.ioc --platform=m4 unsupported toolchain: TrueSTUDIO ProjectManager.ToolChainLocation Failed FailedKind regards,Piotr
HiI was trying make it like him https://www.youtube.com/watch?v=bCppZf8FKYg&t=1933s&ab_channel=EEbyKarlbut he did it with FreeRTOS CMSIS_V1 and for this reason problems may arise because I'm working with FreeRTOS CMSIS_V2 and i don't know how to make itHere is my code:https://gist.github.com/jadczakoff/f301471e794c3c0d75a4bc62cdcf736eI'm working on STM32F469I-DISCOYea i know bad name for a class ,,TestSpi" because in the beginning i wanted to send something via SPI
Now my program use lots of image and font resources, it make the size of applications becom very large. So I need use large time to download the program with keil. When I Modified logical code and the resources not changed, how can I only download logic program in a short time?By the way, if I want to do OTA, I must update the program in a short time. So this is very important to me
For example, we can use and make codeblocks for arduino with using scratch and we can use other devices like rasperbery pi or haido etc.. with mBlock. But i couldn't use my stm32 boards with these sites or applications to make codeblocks. So i want to know that, is there any sites or application like scratch or mblock for Stm32 boards?
Looking for the way swiping a long horizontal container right/left which contains graphical images, texts etc. No multiple pages/containers involved. Just one single long container and display contents at a position/window of the container seamlessly by a finger swipe. It should be able to stop and see any position. No changing pages/container.Thanks for your help in advance.
Hello,I am trying to use FATFS file system from CubeMX. It ask me character encoding. There are some options "UTF-8", "UTF-16-LE" and "UTF-16-BE". I want to set it compatible with touchgfx unicode class. My question is which one is the touchgfx unicode class? UTF-16LE or UTF16BE?
Hello,I made a warning pop up container which "cover" all screen, but buttons under it remains active. Is there any solution for that kind of problem? (I know I can add a dummy button under the container but I think about other, more straight options).Regards.
Hello,Hello,I'm currently developing an application on a STM32H753VT6 with touchGFX and I have an issue with the function resizeToCurrentTextWithAlignment(). Indeed when i'm changing the current text (I use a Wildcard) with another text smaller there is no problem. But when I'm changing this text again (same value) and an invalidate the textArea, the old text appears on my screen (R and E of the last word displayed "Residence") : Any idea of why there are these kind of glitches ? Here is my code :// first I update the wildcard buffer Unicode::strncpy(textArea_residenceBuffer, s_current_command_splitted.c_first_line_a, MAX_NB_CHARS); // then i resize the text area textArea_residence.resizeToCurrentTextWithAlignment(); // finally I invalidate the area textArea_residence.invalidate()Thanks,Best regards,AJT
Hi STM, we are working with MIPI DSI interface using STM32F769NI controller and 240x320 display resolution. We are having order of 10K if project is success.Firstly I have generated code using TouchGFX 4.14 and Immediately i have opened STMcubeMx 5.6.1 and configured with following parameters that display supports.LTDC configured with 240x320, window 240x320, and all sync values like hs,vs,vbp,vfp,hbp,hfp, Display type 16bpp, single layer.DSI with single lane, color coding 16bpp, command size 240, DMA2D with color mode rgb565.Touchgfx with 240x320, rgb565.DSI Mbps with 500, DSI lane byte 62.5, LTDC Mhz 500/16 = 31.25After Configuration opened touchgfx and created a box with Red color.My issues are Does Configurations are correct.Not entering into gotoScreen1ScreenNoTransitionImpl after changing ORIENTATION_LANDSCAPE alsoPlease respond
Hi everyone!The TouchGFX environment seems to be a powerful UI SW but I was wondering if it is possible to display values stored in a text (or other extention) file which is updated by Wi-Fi for example and stored into the memory. This so called data base is intended to grow so it has no fixed size. My question is: is it possible with TouchGFX to use a data base without recompiling the UI when the data base has been updated? Thank you in advance for your answer!Have a nice day
Is it possible to use new font size, new font style through code instead of adding in TouchGFX GUI? How to do that??
Hello,I bought a STM32H7B3I-DK from https://www.mouser.com/. The new board had a demo project which using LCD to show different functions after opening box. However, when I downloaded the STM32H7 MCU package from st.com, compiled the ClockandWeather demo project with STM32CubeIDE and downloaded the firmware into the board, the lcd doesn't work well as shown in the picture. I also tried other LCD demo projects in the Demonstration directory of STM32H7 MCU package. All of them do not work well as the factory default demo. Could you please help to check if the demo projects is configured correctly? If so, could you please help to figure out what's the problem of my STM32H7B3I-DK.
Hello,I'm wondering if it is possible to apply highlighting on a letter of a textarea. Indeed, I want to notify user that is modifying one particular letter of a text area.Any idea of how we can do that with TouchGFX library ? (problem is that we can't know where are located letters and there isn't the same spacing between each letter in the typography used in my application)Best regards,AJT141
Hi Team I am using STM32H7B31-DKI want to use display that is on the board and show my print messages on the screen I see that i want an application code that helps me to send the print messages data to the LCD on the board i see that there is nothing like LCD read and write functions similar to UARTPlease help me out how to use this code and initialize the display and send my print messages I see that LTDC that is enabled on my board ia m not sure how to use this and display my messages or any apisThank youDeepak R
There is no application template for H745. How can i adapt something to make it a fast run?Trying for almost one week now. I am out of ideas.Please help
Hi,Does anyone have an idea how to save a version number of assets into the ext. flash?I've tried it with text resource, where the version number (e.g. 1.0.0.6) is saved. But in the development process I've moved Font and Text to the internal flash. On the external flash are only the images. So in this case the version number does not match the ext. flash version.I would like to have any string or uint32_t on the external flash to show what version it has.RegardsDejan
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.