Discuss STM32 and TouchGFX implementations, including configuration, debugging, and optimization.
Most recent activity
Hi Team, We are running into a problem on TouchGFX (v4.25) on configuring our 480x272 display on the above discovery board I mentioned. We want to configure a text box and display this color I attached below. We found that the RGB we have is RGB565 and we may need RGB888. But I do not see any difference even after the change in this configuration. We want to understand if it is really possible to achieve this color or is it a limitation of the board selected?This information will help us to choose this controller for our further development or choose other products to achieve this. Looking forward for your response as soon as possible. Thank you so much.Changed config:
Split from TOUCHGFX and CPU.My screen resolution is 480 * 800. When I use a dynamic graph with a capacity setting of 300 and add 30 points each time, the number of executions of handleTickEvent per second drops from 30 to 2. What solutions are there?
Hello,in my app I am using a listLayout that is inside a scrollable container. In that listLayout I dynamically add and remove elements based on user touch. Each element has multiple wildcards in textAreas.Functionality is ok, but when one of the elements(MOTOR) is open, left to right flicker starts happening. When I close the element the flicker completely stops. Video of flicker: https://www.youtube.com/shorts/Qo5VO2ftH8UUsing: TouchGFX 4.25.0 designerSTM32h757 board (Riverdi 70STM32H7 config) Any ideas would be appreciated.
hi,I am currently using stm32h723zgt6 with LTDC display & earlier i use have everything by "C" for small GUI but i need move to TouchGFX for bigger GUI ( without RTOS) . Currently LTDC display working with C generated image & font .As a TouchGFX beginner i need make simple picture in display So, Made GFX setting as follows : i gone through following documentation but it's little confusing https://support.touchgfx.com/docs/development/touchgfx-hal-development/scenarios/scenarios-ltdc-parallel-rgb 1.for single layer display which code i need copy to ""TouchGFXGeneratedHAL.cpp"" ? .2.I need to anything in main C ? .3.How to make manual update touch pin interrupt handler ?.4. Any examples using h7 series + ltdc display + touch GFX (without RTOS).
Dear Gfx Team,1. Please consider adding 'Collapse/Expand All' options to Text View Groups.2. Please do not expand all Groups upon Designer start. Remember thier state before exit.Thank you
Hi,I,m looking for a way to remove or hide the keychar of the keyboard's keys or button, i'm using the custom keyboard from TouchGFX demo or examples, and i have a new asset that already have the keychar or key label. For this reason, i need to remove the keychar and prevent the keyboard class from drawing them.How i can do that?Best regards.
Hi, I've created a project with cubemx, copying the configuration generated with touchgfx designer for this board with the only change being that I wish to use threadx instead of FreeRTOS. I'm able to compile and flash to the board and after hours of debugging I can't seem to find what the issue might be, everything seems to be working fine but all I get is a blank screen. I've updated the linker script to use external ram (just as it is when generating the project via touchgfx designer) and when debugging I can step through the boot and application program no issue, no errors or faults. Has anyone run into this before and got out of it? I tried just about everything that I can think of at this point. Additional info:-Stm32CubeIDE Version: 1.18.1-Stm32CubeMX Version: 6.14.1-Touchgfx Designer Version: 4.25.0-Threadx version: 6.4.0-Touchgfx generator version: 4.25.0Thank you.
Hi,I recently started working on a custom board using the STM32U5G9ZJT6Q microcontroller. I'm planning on using TouchGFX with LTDC, DMA2D and GPU2D to implement a graphical user interface and AzureRTOS as rtos.I am encountering a problem when, in the main function, the microcontroller hard faults during the MX_TouchGFX_PreOSInit function, in particular at the FrontendHeap& heap = FrontendHeap::getInstance() call.I am using STM32CubeIde 1.19.0 with STM32CubeMX 6.15.0 and TouchGFX 4.25.0. I also tried with TouchGFX 4.24.2 with no luck unfortunately.Here are the screenshots of the hard fault info, stacktrace, and disassembly as shown by STM32CubeIde:I also attached a minimal project in which I only configured the relevant intefaces and middlewares and in which the problem still occurs.I already made sure that the CRC peripheral is enabled as suggested in other posts I found. Sorry if I made some mistakes as it is my first time posting, and thank you for any help you ca
I am using stm32 303e eval , i want to display an image on the in built lcd mounted on the mcu . i am using touchgfx,cubemx and IAR workbench. In touch gfx this mcu does not appear so i started with cubemx with initial peripherals then i go to touch gfx and then to IAR workbench my code is running but nothing appears on the lcd.psi am using stm32 303e eval mcu with touchgfx,cubemx,IAR workbench. since this board is not available on touch gfx i started my project with cube mx selected this board then went to touch gfx.During debugging it is not stepping into if statement provided in gpio pin configuration lcd pin is low i am using non rtos path and nothing is appearing on the screen but there is no error in the code Title edited by ST moderator to reflect the content of the post.In next time please use relevant title reflecting the question/request.
Hi all,Please help to point me where I did a wrong. I have different widget on the main screen, and when I switched back and forth, the main screen (where there are most widgets implemented) intermittently not display all the widgets. Sometime I got text box not display, sometime I got the toggle button not display but just show the rectangular box showing the button box. For example, in this picture, the whole square box (this is the area for the toggle button) dis empty showing the gray area.The behaviors seems like the widgets not display are the one toward the end of the widgets list.
Hi everyone. I have a STM32H745I-Disco board and I am using both TouchGFX and CubeIDE to make a project with the board. So the issue I am encountering is that when I wrote or made some adjustments in the both applications the project seems fine (when i built the project in CubeIDE it gave 0 errors or the simulator in the TouchGFX worked just fine) but when I try to debug to project in to the board using the debugger in the TouchGFX the application shows it debugged just fine but there is nothing showing up on the board afterwards. When I try to debug a blank new created project it shows up on the screen but when I'm trying to debug a project with some images or fdcan codes with it the issue I've just said shows up. I don't know what's the problem.
Hello everyone:I came to a need,that I need to copy part of a dynamic Bitmap to another postion of the same bitmap.I current use a for loop and memcpy func,It works but cost 4ms each run.How can I use touchgfx's blockCopy functions to do this? as DMA2D was already enabled.
Hello All, I am planning to use and provide 8 languages support for my Touchgfx project, have anyone used it this way ? I am using STM32H7 series microcontroller for it. I am worried about the memory, Could you please let me know what things to consider and how much memory do I require to support for 8 languages in touchgfx ? How memory can be used and for what purpose for language support ? Regards, Shiv
Hi,i want to make a oscilloscope to show two data curve.I found the dynamicgraph can add many lines with different color.BUT i can only use the "addDataPoint" fuction to add one data at one time.So I set the two lines the different LineWidth.Just like this.These two lines show the same data,becuse the addDataPoint function can just input one variate.I want to know how can i draw multiple lines that show the different data in one dynamic graph?
Hello there, I was working on TouchGFX and when i tried to build my code i got error: no declaration matches 'bool TouchGFXHAL::blockCopy(void*, const void*, uint32_t) and same for endFrame and beginFrame. But i couldn't solve the problem. Here is the part from TouchGFXHAL.cpp file.bool TouchGFXHAL::blockCopy(void* RESTRICT dest, const void* RESTRICT src, uint32_t numBytes){return TouchGFXGeneratedHAL::blockCopy(dest, src, numBytes);}/*** Configures the interrupts relevant for TouchGFX. This primarily entails setting* the interrupt priorities for the DMA and LCD interrupts.*/void TouchGFXHAL::configureInterrupts(){// Calling parent implementation of configureInterrupts().//// To overwrite the generated implementation, omit call to parent function// and implemented needed functionality here.TouchGFXGeneratedHAL::configureInterrupts();}/*** Used for enabling interrupts set in configureInterrupts()*/void TouchGFXHAL::enableInterrupts(){// Calling parent implementation
hello , T。T I’m developing a GUI using TouchGFX on the STM32F469I-DISCO board.In the handleTickEvent() function, I add 5 points to a dynamic data graph each time it is called. However, when doing this, the frequency of handleTickEvent() drops significantly, and the display performance becomes very poor.In comparison, an older project based on the demo uses MIPI DSI in command mode and configures LTDC as 480×200×4, and it performs noticeably better than my current setup where LTDC is configured as 480×800 and DSI is set to video mode.The scan is 480 * 800 .static void MX_LTDC_Init(void) { /* USER CODE BEGIN LTDC_Init 0 */ /* USER CODE END LTDC_Init 0 */ LTDC_LayerCfgTypeDef pLayerCfg = {0}; /* USER CODE BEGIN LTDC_Init 1 */ /* USER CODE END LTDC_Init 1 */ hltdc.Instance = LTDC; hltdc.Init.HSPolarity = LTDC_HSPOLARITY_AH; hltdc.Init.VSPolarity = LTDC_VSPOLARITY_AH; hltdc.Init.DEPolarity = LTDC_DEPOLARITY_AL; hltdc.Init.PCPolarity = LTDC_PCPO
Hi! I have an issue with textArea flickering or wrong some characters, which you can watch in this video:https://youtube.com/shorts/gQtXfpys8fo?si=BS74DsFX03yeLcDTI would like to help in Mpu settings I have Stm32H753 mcu,32MB SDRAM with 0xC0000000 address16MB FLASH with 0x90000000 address Thank you!
Split from https://community.st.com/t5/stm32-mcus-touchgfx-and-gui/how-to-work-with-buttons-without-touch-panel/td-p/165514Hi,I’m working with TouchGFX on an H743, following the example from the Nucleo board, and I have the state of a physical key (e.g., a GPIO button) available when MB1642ButtonController::sample is called. What is the simplest way to interact with TouchGFX based on this key state?Specifically, I want to know:Do I have to handle everything through code by manually triggering events for widgets (like buttons)?Is there any way to map a key press (e.g., key "1") to a TouchGFX button press, similar to how the touch interface works, directly from the GUI?Thanks in advance for any help or suggestions!
Hi,I'm using a ScrollWheel as counter for a slicer.The scrollwheel has 5 item with 3 drawable in customcontainers with textarea.It has 2 member values, the actual value and the set value. I overrided the UpdateItem callback to dinamically update the scrollwheel drawable for visualization as well as wheelAnimationEnd to update the current value during animation.I have declared a function that set the new value to display in the counter and fires the animation to.When called, it starts the animation transition rolling on all the number between the one it has at the beginning to the one used in the call.The scroolwheel in always centered at position 2.The code dinamically updates the wheel to have always the correct value displayed.It works fine upcounting, not in downcounting.When downcounting it stop always one before the desidered.The internal value correctly reaches the set value in both directions but not the displayed when downcounting.Something went wrong during the
HELLOI'M USING STM32F429I-DISC1 BOARD WITH TOUCH GFX.WHEN I USE PA5 PIN FOR DAC_OUT_2, LCD DID'NT WORK.EVEN I CHANGED PA5 PIN FOR ANYTHING LCD WORK. HOW TO USE DAC_OUT_2 WITH LCD??
I'm looking for a solution for regarding this simple problem: This concerns the NemaGFX library for the GPU2D.Using the latest NeoChromSDK_NEMAP_1.4.17, some functions have been replaced by new ones, in short: Deprecated New-----------------------------------------------------------nema_vg_paint_set_stroke_width nema_vg_stroke_set_widthnema_vg_draw_ring_generic nema_vg_draw_circular_ring (not defined?)We will find this part in the nema_vg.h header file:nema_vg_draw_ring_generic: This function is deprecated use nema_vg_draw_circular_ring instead. However, the problem is that nema_vg_draw_circular_ring seems undefined in any of the header files. I reported the problem as follows: Good morning Pavan,This concerns NeoChromSDK_NEMAP_1.4.17I have updated the libraries to the latest version of NeoChromSDK.A few functions are deprecated: Deprec
Hello,I’m running a TouchGFX application on LTDC Layer 2 with pixel format ARGB8888.Underneath it, on LTDC Layer 1, I have a simple colored rectangle as a background.I have configured the LTDC blending factors for per-pixel alpha, and the blending works — for example, when I set Layer 2’s constant alpha to zero, I can see Layer 1 correctly.However, even when using images with transparent areas in TouchGFX, the “transparent” parts appear as solid black on the screen and completely block Layer 1. It seems that TouchGFX is filling those pixels with an opaque color (alpha 255) instead of leaving them transparent (alpha 0).What I expect is that transparent parts of the UI would allow Layer 1 to show through, but instead they are rendered as black.Is this the expected behavior for TouchGFX? If so, is there a supported way to make untouched areas of the framebuffer remain transparent so that hardware blending between Layer 2 and Layer 1 works as intended?Thanks in advance.
Im using stm32h735g-dk and i was thinking to start model based development using simulink in matlab.I already done a cluster prototype using touchgfx and stm32cube idenow i need to shift from cube ide to simulink using same gui is it possible??If its posssible how will i integrate with simulinki have already licenced version and stm embedded packages on simulink and embedded codercan anyone help me with a guidance how to integrate without using cube ide
Hello!I have an STM32F777 with FreeRTOS and TouchGFX. An SPI display is controlled in partial framebuffer mode via SPI4 and DMA. The implementation is the same as in the TouchGFX demo projects with partial framebuffer (NUCLEO_C071RB + GFX01M2). I have also attached my display SPI library.The vSync signal is implemented at 60Hz via a software timer, as the hardware does not provide such a signal.My hardware has an Ethernet port that provides a web server with the LwIP stack. This generates many interrupts during high data traffic, which puts a greater load on the processor.During operation, this leads to a deadlock of TouchGFX after a few minutes. TouchGFX gets stuck in the function “getBlockForTransfer(Rect& rect)” in the line “assert(state[sendingBlock] == DRAWN);” (File: FrameBufferAllocator.hpp).After that, the display is no longer updated.If you need further information, please let me know. Attached is the configuration.I hope someone can help me.
hi ,currently working on touchGFX(without RTOS)+stm32h723zgt6+ltdc display .First Screen1 is coming with touchGFX but touch x,y coordinates not changing the screen2.touchGFX screen1 interaction made as follows .i do not attached any touch sensor ! instead of touch sensor i made manual touch x ,y coordinates input by following code . due to manual matrix key button for future use . touch.c as follows#include "Touch_Sensor.h" bool touch_values(uint32_t *touch_x, uint32_t *touch_y) { if(gate) { *touch_x=tempx; *touch_y=tempy; return true; } return false; } touch.h as follows #ifndef TOUCH_SENSOR_H_ #define TOUCH_SENSOR_H_ #ifdef __cplusplus extern "C" { #endif #include "stdint.h" #include "stdbool.h" extern volatile uint32_t tempx; extern volatile uint32_t tempy; extern volatile uint32_t gate; extern bool touch_values(uint32_t *touch_x, uint32_t *touch_y); #ifdef __cplusplus } #endif #endif /* TOUCH_SENSOR_H_ */STM32touchController.CPP as fol
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.