Discuss STM32 and TouchGFX implementations, including configuration, debugging, and optimization.
Most recent activity
Is that possible to make easily in touchgfx rotary knob widget? I would like to make a knob which will be rotating be sliding touch screen like knob like in radio or something :)
Dear Sir,I am working in the R&D of Sectorqube. Our company has chosen the ST chip to be used for new product design and mass production. So presently I am using the 32F429IDISCOVERY board and a custom sized touchscreen of size 480 x 272. I am trying to integrate the UART and TouchGFX. On my test screen there are two buttons-UP and DOWN. When I press the UP button an array has been initialized to sent through the TX and similarly the case for DOWN button another array has been initialized to sent through TX. The transmission upon pressing the buttons is working properly as desired. With the help of CubeMX I integrated the code. For the RX part I ensured the data is received by sending back the array received to the TX and it worked properly. For example if I send '12345' to the RX, '12345' is transmitted back and being shown in the serial terminal.Here is the code:void HAL_UART_RxCpltCallback(UART_HandleTypeDef *huart){ HAL_UART_Transmit_IT(&huart1, (uint8_t *) buffrec, 5);} Bu
I'm working on a project on the STM32F746G-DISCO board, a colleague modified it to be used in kyle and succesfully be loaded on bord, and now when i launch the simulator via touchGFX designer, everything seems to works fine, but when i launch it from visaul studio i have this when i open one of my screen(yes, just one, the others works fine)should i modify something from cubeMx?ThanksStefano
Hi,Imagine I have a vector of 10 different text Areas and I want to write a different number ranging from 0 to 9 on each of them (0 on the first one, 1 on the second and so on). What's the best strategy to achieve this? Using a wildcard definitely seems inappropriate as once the textAreas will be set up, they won't be changed for the whole duration of the program. Comparably, using a Resource with the need to introduce first all the characters in the 'database' seems overkilled. They must be another way, more appropriate and doable directly from the code.Thanks in advance.
Hi, I setup CubeMX last version. I try to make a project for STM32L4R9I-Disco board. But in middleware section TouchGFX isn't seen. You can check from attached picture. How can I enable TouchGFX for this MCU.
Hi, I want to make a screen transition by hardware button,i tried to make a screen transition by TouchGFX Designer Interactions and that works fine.But i have no idea how to make the same transition, using hardware button.I found an example like this:in FrontendApplication.cppvoid FrontendApplication::gotoScreen1Custom() { customTransitionCallback = touchgfx::Callback< FrontendApplication >(this, &FrontendApplication::gotoScreen1CustomImpl); pendingScreenTransitionCallback = &customTransitionCallback; } void FrontendApplication::gotoScreen1CustomImpl() { makeTransition<Screen1View, Screen1Presenter, touchgfx::SlideTransition<EAST>, Model >(&currentScreen, &currentPresenter, frontendHeap, &currentTransition, &model); }and in Screen2View.cpp need to call application().gotoScreen1Custom();Update1:The problem is that i can not callapplication().gotoScreen1Custom();in my function, BUT, if i call it in virtual function void MainScreenView::
Hello, I am programming at Eclipse and i cannot get to work the ili9341 since i couldn't find the 8-bit parallel libraries. Do any of you have any examples?. I'm using the HAL libraries.Thanks.
hi,I'm trying to follow the steps on "CubeIDE 1.0 and TouchGFX 4.10.0: Resolving integration issues" video and I still can't build a project from scratch on Cube IDE. I'm working with TouchGFX graphics too. Here is my build log:10:46:24 **** Incremental Build of configuration Debug for project *****_build_touchgfx ****make -j4 all arm-none-eabi-g++ -o "*****_build_touchgfx.elf" @"objects.list" -ltouchgfx-float-abi-hard -mcpu=cortex-m7 -T"C:\Users\juaun\STM32CubeIDE\workspace_ageon\*****_build_touchgfx\STM32F750N8HX_FLASH.ld" --specs=nosys.specs -Wl,-Map="*****_build_touchgfx.map" -Wl,--gc-sections -static -L"C:\Users\juaun\STM32CubeIDE\workspace_ageon\*****_build_touchgfx\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.0.0\stm32cubeide\plugins\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.0
Hey. When starting the debugger in IAR, fall in HardFault_Handler.__HAL_RC_CRC_CLK_ENABLE(); did not help.attach log file.
I am using a STM32F746IGT. I have tested the memory and lcd interface with some other library. I am getting hard faults with TouchGFX and since some of the code is in libraries it makes it difficult to debug. Properly a timing issue? Any ideas?
Hi All , its been almost a week that I'm trying to integrate CubMX for configuration, TouchGFX for Graphics and workbech! no success. I am using STM32F429I board. What i could manage to do:was able to configure the TouchGFX on CubeMX based on provided videos on the internet and documents. can generate the code and see the touchGFX folder.followed this tutorial https://www.youtube.com/watch?v=xZ0pPhQCQUY&t=11sexcluded all simulator related files and included needed path . However, I am still facing the following error :Regardless to the fact that i excluded all simulator related files and folder, I still getting :"Description Resource Path Location Typefatal error: SDL2/SDL_video.h: No such file or directory HALSDL2.hpp /touch_third/Middlewares/ST/TouchGFX/touchgfx/framework/include/platform/hal/simulator/sdl2 line 22 C/C++ Problem"would really appreciate any guidance. Thanks
Hi, I'm getting this error message and have no clue how to resolve the problem?(I'm getting it while trying to instantiate from the code a custom container).Thanks in advance for your help!
Hello, in STM32F746 DISCO.Microsd detect pin is : PC13LCD touch interrupt is : PI13how to make use of both interrupts in the application ?
I need a chinese keyboard in my application, how should i load the chinese font library and display it on screen,note that i need ALL CHINESE
Hi,I'm using a TFT with FT5426 capacitive touch controller. I want to port the H743I_EVAL board EXC7200 CPTC driver to the FT5426.But I can't find any programming manual for the EXC7200 to compare to the FT5426. Does anyone have the EXC7200 programming manual?
In my current project i need a buzzer buzz every time any button is pressed, in simulator i'm just using Beep(F,D); but i was looking for a better approach than paste the beep function inside every single function called by any button, besides that won't work in buttons that just change screen, due that the code is in ViewBase File and so can't be modified.ThanksStefano
Hello,I used the below code from ST bsp Board : STM32F746-DISCO BSP_LCD_Init(); BSP_LCD_SetLayerWindow(0,50,50,200,200); BSP_LCD_LayerRgb565Init(LTDC_LAYER_1,(uint32_t)fb);I expected layer 1 should be off by 50 on both axes . but it started from x = 0 , y = 0Can you please help me understanding why this is happening ?Thanks
I currently have a TFT LGDP display and I can't figure out how to hook it up with my stmf303 re.
I have developed a UI in the PC simulator that I would now like to be able to deploy to a board, but it does not seem like there is any way to target the board/generate the target.hex files that can be used in st-link. The UI is quite large and I would like to be able to do this without having to rebuild the entire application from scratch. Thanks in advance.
Hi!Can anyone suggest method to port Keil MDK uvision 5 workspace into STM32CubeIDE as Keil MDK does not support external flash programming in debug environment used in the touchfgx examples for STM32F746G-Discovery. It is difficult to visualize how to debug touchgfx applications with two major complexities with Keil MDK1st is with codes resting at external flash and 2nd with FreeRTOS tasks.Regards,VK Verma
Hi all, I am making a custom Clock widget named DigitalTime for Chinese, its format always like this : 12月12 周一 12:30 Of course I reused part of the demo software and then run the demo, but the text can display correctly (font is added correctly). 12????12????How can I solve the issue ???
Hi,I'm currently creating the following array in a .hpp file (see joined image) but I get an "assertion failed" error whenever I try to run my code because the bitmap database has not yet been initialized and the bitmap values are different from zero in my array. I'm confused because I took inspiration from the keyboard example and it's exactly what is done. Therefore, what am I missing?Thanks in advance for your help.
Hello,We want to make a custom board having STM32 and supported by TouchGFX.We currently have been evaluating STM32L4R9I EVAL board and the controller used is STM32L4R9AI which is BGA package.For our custom board we want to use controller with LQFP package of the same family and series as the above controller. The alternative found was STM32L4R9VIT6 which is of LQFP package.So wanted to know if the LQFP package alternative controller to the EVAL board controller will be supported by TouchGFX or not.Thanks,Ameya
Hi TouchGFX Team, I used to directly send email to TouchGFX before the company was merged with STM32. Hope TouchGFX have a wider business! In the 4.10 update, there is new class scrollList, the item selected was // The callback updates the selectedIcon bast on the itemSelected parameter void Screen1View::scrollListItemSelectedHandler(int16_t itemSelected) { ... }This function will be give to callback void Screen1View::setupScreen() { // The item selected callbacks are registerd with scroll wheel and list scrollList.setItemSelectedCallback(scrollListItemSelectedCallback); ... }However, the issue is the call back only give a ''int16_t itemSelected'' call back parameter, I some case, I would like to update the ''drawable'', but the feedback is only feedback a itemselected, I could not know how to know which drawable I am working on.Suggest to have following function:1, provide a function: getDrawablenumber(int16_t itemNumber), the feedback is the drawable number, so I could use this Dra
Hey.I'm trying to use a custom widget. Error:---------------------------Microsoft Visual C++ Runtime Library---------------------------Assertion failed!Program: ...mulator\msvs\..\..\build\Debug\bin\Application.exeFile: ..\..\..\..\framework\source\touchgf...\CanvasWidget.cppLine: 40Expression: canvasPainter != 0 && "No painter set"For information on how your program can cause an assertionfailure, see the Visual C++ documentation on asserts(Press Retry to debug the application - JIT must be enabled)---------------------------PS: Problem solved. Was my inattention
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.