Discuss STM32 and TouchGFX implementations, including configuration, debugging, and optimization.
Most recent activity
What is the intended way to transfer data between views? Global variables in FrontendApplication or something else?For example I have views that can be entered from multiple locations, and the view should go back to the specific view that it originated from.I also need to transfer strings from views to others, and more.How is this supposed to be done? Thanks!
Assuming the height of the drawable object is H (getHeight()), and the height of text is TH (getTextHeight()), how to figure out the correct y value of the text object ??I tried (getHeight() - text.getTextHeight() - text.getTypedText().getFont->getSpacingAbove()) / 2 and (getHeight() - text.getTextHeight() ) / 2, neither of them is right.
Cube does not allow connecting through additional applications, and the library does not have libtouchgfx.a for m3. In version 4.10 this file is. Use old version?
I'm currently in a hurry building a touchscreen interface for the many DIY hospital ventilator projects that are running right now to cope with the ventilator shortage the world is facing right now caused by Covid-19. diyventilators.comI bought the STM32F746G-DISCO board to quickly develop a touchscreen interface, so we don't have to solder many buttons and can monitor multiple patient parameters.I build the whole interface in TouchGFX Designer 4.13.0 and was all the time able to run in on the target board initiated from TouchGFX Designer.Now I want to continue development my code in STM32CubeIDE 1.3.0 and I got stuck.When I open the .ico file within my TouchGFX project folder and try to build in CubeIDE I get:make: *** No rule to make target 'C:/TouchGFXProjects/OpenVentilator/TouchGFX/gui/src/graph_screen/graph_widget/AbstractGraph.cpp', needed by 'Application/User/gui/AbstractGraph.o'.So I thought, maybe I'm better of creating a new project inside CubeIDE by selecting my board STM32
Dear CubeMX Team,Is there a chance to add DMA2D to the Peripheral list in CubeMX filters?Today, I can only find GFXMMU, but no DMA2D. Providing this option would save time for some of us looking for MCU with basic GFX support.
Hi,I'd like to know if there is a way to reduce the computing power required by the scroll List widget to redraw itself considering that it's incredibly slow on my board (note that it works just fine in the simulation). It does spread almost over the whole screen ( 480 x 800px) which makes it very slow (everything goes faster when the widget takes up less space). Is there a way to reduce the 'nb of steps' for instance, even if it's at the cost of fluidity (in the sense that instead of redrawing it for every px moved, just redrawing it for every two pixels).Thanks in advance
I have make a customize Board using STM32F746 base on STM32F746-Disco board. but i'm using TFT 7inch with capacitor touch panel using IC FT5425.I have tested with touch panel base on example in BSP folder of STM32Cube. it run normaly. that mean FT5246 Touch on myboard same FT5336 Touch on STM32F746-Disco.But when i combine it in the touchGFX it can't run, although i edit and fit Touch size = 800x480You can see my issue at this link: https://www.youtube.com/watch?v=tTGpPzTiMxs&t=1s or attached file.I hope some expect can help me solve this problem, this i project very important for me.Thanks and best regards.
Hello,I have an STM32F469NI display board. The program I wrote runs without errors. The only problem: The display now has to update itself automatically.Can you help me with the settings I need to make? Or do I have to generate that in the code?I would be very grateful for any feedback.greetingHenning Schlömer
Hello, I have a problem with the configuration of the DMA2D peripheral, namely after decoding the JPG image I change the BMP format to RGB565 it works without a problem, now on the picture I would like to display the icon and here I have a problem whether the photo should be configured as background and icon as foregrund and what input format should be icons. Regards
Hi @Martin KJELDSEN First of all I wish you a happy new year. I hope you started well in the new yearI've updated TouchGFX from 4.12.3 to 4.13.0 and I have the following issues:The TouchGFX Generator changes the slashes from \ to / in the paths (e.g. include paths) of the ewp file (IAR)I have a lot of unnecessary changes in the repository and a mix of \ and / in the paths.Is there a possibility to tell the generator which slash it has to use?The bug with the fonts is sill not solved -> see this threadIs there a solution available in the next version of TouchGFX? At the moment I have to manually change the font files./Marco
Hello Community,I have gone through the Demo for the "STM32F746G-Disco" and try to understand the "Graph" widget.Where i can find the "CWRUtil::toQ5(150)" API.(What exactly output of highlighted function)Can you please provide the details for same? Regards,Kaushal Patel
HelloI use STM32F769I-DISCO.Does changing from 24bit to 16bit reduce the load on the CPU?What is 16bit, if 24bit is 100%?Also, can't TouchGFX change 24bit to 16bit?Thank you.
please don't recommend to buy stm32f746 board
Hello,ALL TouchGFX examples and demos from TouchGFX Designer 4.13 templates have this graphics issue. The issue is quite randomic. For example, I compile, build and flash the demo, it runs ok, but after I un-plug and plug again the board it looks like the following. But not always, about twice on 3-4 attempts. Sometimes it starts ok. Pressing reset button sometimes helps and sometimes not. Please help. I'd like to use TouchGFX for our project, it is a very impressive product, but this strange issue is blocking. Thank you.P.S. That's not a HW problem, other LTDC demos, including emWin, work just fine.
Hello,I would like to have printf functionality added to to Touch GFX generated project.hardware: STM32F429I-DiscoveryIDE: Keil 5.27I have generated project using Touch GFX, then I can compile project using keil and run on my target board, work fine. Now I would like to add printf functionality to it.enable HAL_UART_Driver in stm32f4xx_hal_conf.h#define HAL_SPI_MODULE_ENABLED #define HAL_TIM_MODULE_ENABLED #define HAL_UART_MODULE_ENABLED //Uncomment this line /* #define HAL_USART_MODULE_ENABLED */ /* #define HAL_IRDA_MODULE_ENABLED */ in main.cpp I added function:void UartInit(void){ huart1.Instance = USART1; huart1.Init.BaudRate = 115200; huart1.Init.WordLength = UART_WORDLENGTH_8B; huart1.Init.StopBits = UART_STOPBITS_1; huart1.Init.Parity = UART_PARITY_NONE; huart1.Init.Mode = UART_MODE_TX_RX; huart1.Init.HwFlowCtl = UART_HWCONTROL_NONE; huart1.Init.OverSampling = UART_OVERSAMPLING_16; HAL_UART_Init(&huart1); }added re-direction to printf#ifdef __GNUC__ #defi
I am trying to make a graph with touchgfx4.13 on stm32f746g_disco .I am using CubeIDE ver 1.3.0 I tried to use Canvas Widget and used the sample codes on touchgfx zendesk site .If I can draw even a line in a box I will be able to make the graph.I hope Martin himself can make Kindly a video about it ,
I opened an old project that uses TouchGFX and was told I should migrate to a newer version of STM32CubeMX. So I installed 5.6.0 and tried to do an import as directed. BUT the Import Project... selection is grayed out. Now what?
Now we have a problem, our stm32 device board is delayed.Now we only can develop our UI on touch designer simulator. But we want to test our software of communication layer, using the serial port or TCP/IP port in one computer with the same port in another computer.How can I do? I read the API Document in the installed path of touch designer, but find nothing ,only HAL? But it seems to have nothing to do with communication. Or I have to add c++ lib ?
Hello,I’m working with custom stm32f429 board to drive a 7�? tft 800x480 lcd using ltdc driver, I’ve configured ltdc for showing just a blue background stored in internal frame buffer...pixel frequency is 33.4 mhz,page is shown successfully but there is some thing like Vsync loosing or shifting which caused screen jump... Please help me with this issue.BR,
I've ported TouchGFX on custom HW, but it doesn't work (I created class related from HAL, initialized TouchGFX and executed taskEntry().It is done in the next way:static LCD4bpp oled; static TAPI_Btn_c btnCtrl(keys); static NoDMA dma; static NoTouchController tc; uint32_t arFrameBuff[8192 / 4 + 1]; void touchgfx_init() { HAL& hal = touchgfx_generic_init<TAPI_HAL_c>(dma, oled, tc, 256, 64, 0, 0); hal.setFrameBufferStartAddress((uint16_t*)arFrameBuff, 4, false, true); hal.setButtonController(&btnCtrl); //Enable button controller hal.lockDMAToFrontPorch(false);// Allow DMA transfers to start immediately hal.enableMCULoadCalculation(false); } ... void RunMainTask(void const* args) { touchgfx_init(); touchgfx::HAL::getInstance()->taskEntry(); // Never returns }I see that periodically is executed touchgfx::OSWrappers::signalVSync(), one time OSWrappers::takeFrameBufferSemaphore() and TAPI_Btn_c::sample().I can not see other activities
Hello!I heared, that touchgfx library for H743 is under construction, that working on this library is in progress.Is it really?I try to create project for STM32H743BI by CubeMX and TOuchGFX Designer. But it not starts - I see startscreen with widjets, but program is in HardFault.When I can see workable library?Or may be my code is bad?Can anybody look at code?https://cloud.mail.ru/public/3TUw/4kLcxVUYt
Increasingly displays are migrating to LVDS interfaces. I haven't been able to locate any STM32F reference design showing a successful implementation of an LVDS display.Has anyone managed to do this ? (My design uses STM32F746)
I had make STM32F746 board with TFT 7inch base on STM32F746-Disco for my project.i tried to program sample file "application-std" from STM. it show 1/2 screen (272x480), that mean my PCB run normal.But my screen is 480x800 (7inch). how to i config STM32F746 with TFT 7inch using CubeIDE.I tried to change in example code (X axis = 272 to 480, Y axis 480 to 800), but it not run.Can anyone help me in this case?Thanks all of yo for your support
I've tried for several days to import a very simple 'Hello World' TouchGFX app into STM32CubeIDE but can't get it to build in STM32CubeIDE. Does anyone have a step by step procedure I could try, please?
I need to display large characters to show the dB of attenuation of my preampl.I have found a good font but the BSP_LCD_DisplayStringAt and DrawChar are not able to use this font, only half of the left section of the character is print.So I have develop a new function DrawCharNew().Here there is also the debug program running on Cygwin64.#include <stdio.h> char Shruti_Bold_num_48x70[5044] ={ 0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x7F,0xFC,0x00,0x00, 0x00,0x03,0xFF,0xFF,0x80,0x00, 0x00,0x0F,0xFF,0xFF,0xE0,0x00, 0x00,0x1F,0xFF,0xFF,0xF0,0x00, 0x00,0x3F,0xFF,0xFF,0xF8,0x00, 0x00,0x7F,0xFF,0xFF,0xFC,0x00, 0x00,0xFF,0xFF,0xFF,0xFE,0x00, 0x01,0xFF,0xFF,0xFF,0xFF,0x00, 0x03,0xFF,0xF8,0x1F,0xFF,0x80, 0x03,0xFF,0xC0,0x07,0xFF,0x80, 0x07,0xFF,0x80,0x03,0xFF,0xC0, 0x07,0xFF,0x00,0x01,0xFF,0xC0, 0x0F,0xFF,0x00,0x00,0xFF,0xE0, 0x0F,0xFE,0x00,0x00,0xFF,0xE0, 0x0F,0xFE,0x00,0x00,0x7F,0xF0, 0x1F,0xFC,0x00,0x00,0x7F,0xF0, 0x1F,0xFC,0x00,0x00,0x7F,0xF0,0x1F,0xFC,0x00,0x00,0x3F,0xF8,0x1F,
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.