Discuss STM32 and TouchGFX implementations, including configuration, debugging, and optimization.
Most recent activity
I'm still using v4.10.I've read through the following tutorial and also looked at the example demo.https://touchgfx.zendesk.com/hc/en-us/articles/360018398832-Scroll-WheelNeither the item.updateText() nor the item.setIndex() functions are recognized. void Screen1View::scrollWheelUpdateItem(textContainer& item, int16_t itemIndex) { item.updateText(itemIndex); } void Screen1View::scrollWheelUpdateCenterItem(textCenterContainer& item, int16_t itemIndex) { item.updateText(itemIndex); }Can someone please shed some light. Thanks-Renier
Hi all,I have some questions about JPEG codec problem. I know STM32CubeMX can buid the project Hardware JPEG way or LibJPEG manage, but I have no ideal how to build it together. Then I reference the sample code from STM32Cube_FW project to understand details, but still cannot combine all together.Is there someone have the similar experience can help?Thanks a lot !!
Hi allI wanna plot signal graph with graph library but i couldn't put blank space when graph continuously is drawn. The graph method is draw line between old value and new value and it doesn't look beautiful when you see the signal. So i think it would be great if we can add "blank space" same as enclosed image. @Martin KJELDSEN (ST Employee) : would you please help me with this?
HiHas anyone implemented a scroll bar to ScrollList?I am trying to do, but it's not really easy, because you do not know what your current position is.Working with scrollList1.getItem() is also not accurate beacause you get also two items that are not visible.If someone has a hint how to add a scroll bar to the ScrollList it would help me a lot.RegardsDejan
Hi all,I have an application where I need to save multiple names for use between screens. I initialize the name array in the model using char[] then push the pointer through the presenter to the screen I need. This part seems to work as the string initialized in the model is properly displayed in my container in my startup screen. I then have an editing screen that uses a keyboard. When a new name is entered in the keyboard buffer and copied to the local name string on the edit screen that seems to also work. The issue I have is when changing back to the startup screen. I am using a "set name" method to update the string in the model but when I return to the startup screen the name is suppose to be updated in the container but for some reason only the first character is updated and the remaining characters from the prior string are displayed. I figured this was possibly due to having a storage size of char and working in the views with unicodechar? So, when I typecast down to a char I'
As I know from ST Cube S/W vase, third-party S/W(ex: lwIP, FatFS, etc) using FreeRTOS is using memory management by FreeRTOS(heap_1.c, heap_2.c, heap_4,c), etc.I think that TouchGFX internal engine doesn't use uHeap area.also, I think that TouchGFX use .heap area by application.ld(GCC build).I checked _sbrk() implementation in gccstubs.cpp.It means that new() is called, dynamic memory is allocated from .heap area.Is it correct ?
HiI have a CustomContainer (menuScreen) that opens when pressing the menu button on my taskbar.In the MenuClickHandler function the menuScreen is added and the following container appears:By pressing a button the screen is being changed. The problem is when pressing on the white background it could happen that an interaction is triggered (e.g. button pressed) from the screen behind this container.How can I set the entire screen behind the container inactive or not touchable?Is there maybe another solution?Regards Dejan
HiJust started to use the TouchGfx, notice an issue with fonts in the designer.I added a new typographies for a font i want to use in a new project, up to this part no problems. But when introduce a text area in the designer and select the new font, the designer does not render the correct font. The correct font only appears when running the simulator.Is this behavior expected? In this case (since the real font is larger) it becomes tricky to put / align things in the designer since the real font size is different from the one shown.I have attached an image to show it (the left panel is the TouchGfx Designer, the right panel is the simulator).Thank You
I'm new in stm and i am using mac os and stm32cubeide for maci know touch gfx is not getting on mac nowi wonder how can we use touch gfx on mac?So the only way is installing window?Thanks
Hello,I am using TouchGFX 4.12. Here is what i have done and what is the problem;Created new project from CubeMX.Enabled TouchGFX from CubeMX.Opened TouchGFX and added a image object.Imported png images to the project path via image object's image property.Tried to select one of the image that i just imported.Below I showed what i am talking about. By the way, my CubeMX version is 5.3I am not using CubeMX 5.4 because, i can not compile the project successfully when i create from CubeMX 5.4.So what is the problem here? Why i can not add images to the objects?
Now I am using stm32cubeide 1.1 v and touchgfx 4.12.3 designerBut execute button is not workingPlz answer me how can i fix this?
I have integrated with few seconds the STM32CubeIDE 1.1.0 with TouchGFX 4.12 (all default) but the app does not accept input from touch screen.I would like to use the 4.12 instead of 4.10 to eliminate all the problems during the compile phase.I have a STM32F746G-DISCO evaluation board.
Hi, TouchGFX communityI'm trying to get TouchGFX working on a STM32F401RE device with a 200x200 screen.I've created a simple project with one screen and text as 1bit color depth (Idither_algorithm := 2, opaque_image_format := BW, non_opaque_image_format := BW on app.mk) and I use these configuration on BoardConfiguration.cpp:uint8_t frameBuffer[5000]; //200 * 200 / 8uint32_t frameBuf0 = (uint32_t)& frameBuffer[0];namespace touchgfx{NoDMA dma;NoTouchController tc;LCD1bpp display;void touchgfx_init(){ HAL& hal = touchgfx_generic_init<MyFakeHAL>(dma, display, tc, 200, 200, 0, 0); hal.setFrameBufferStartAddress((uint8_t*)frameBuf0, 1, false, false); hal.registerTaskDelayFunction(&OSWrappers::taskDelay); // Enable strategy. hal.setFrameRefreshStrategy(HAL::REFRESH_STRATEGY_OPTIM_SINGLE_BUFFER_TFT_CTRL); hal.setFrameRateCompensation(false); hal.lockDMAToFrontPorch(false);}I think that f
I have BUTTON, SPINBOX, EDIT and TEXT.
How to configure working settings for STM32F469i-Disco for LCD with FreeRTOS and STemWin?Which STemWin library to link STemWin_CM4_wc32.a, STemWin_CM4_OS_wc32.a, STemWin_CM4_OS_wc32_ot.a?How to configure LTDC, DMA2D, DSIHOST, FMC to work correctly and not to use BSP drivers which conflicts with CubeMX configuration style.I've configured LCD to work without OS and STemWin_CM4_wc32.a library linked. Now I'm trying to get working with FreeRTOS and STemWin but I'm confused which library to link and how to configure LCD from CubeMX perspective properly to have an option to reconfigure peripehrals in MX perspective and not to have code broken.
There is a bug in ADC configuration (MX perspective): "DMA Continuos Conversion Request" cannot be selected. And is rewrited back to disabled with code regeneration when corrected in code by hand.There is a bug in STemWin configuration (MX perspective) - on STM32F469i-Disco LCD Driver->OTM8009A orientation cannot be selected OTM8009A_ORIENTATION_LANDSCAPE (grayed)
If I setup hardware button is clocked on screen1 it works.If I switch to screen2 in designer and come back to screen1, I lose some informationSee attached image
I'm facing problems when I try to port a 4.9.3 project to 4.12.3.First, I have many places in the original 4.9.3 designer project that I defined a change screen interaction with no trigger, I then use it in the code when I want to switch screens. When I open the ported 4.12.3 project those interactions have the action field empty even thought the interaction header still "remember" the original action. (See attached screen shoots)Then, after a full rebuild of the project I get the below undefined reference after link (I'm working with CubeIDE)C:/Projects/StepAhead/smart/Debug/../generated/gui_generated/include/gui_generated/common/FrontendHeapBase.hpp:379: undefined reference to `FrontendApplicationBase::gotoLoadingFileProgressScreenScreenNoTransition()' Src/BoardConfiguration.o: In function `touchgfx::HAL& touchgfx::touchgfx_generic_init<STM32F7HAL_MIA0130>(touchgfx::DMA_Interface&, touchgfx::LCD&, touchgfx::TouchController&, short, short, unsigned short*, u
I need to get the X and Y coordinates of the touch controller and use them in Model or a View.Is there a simple way to do this? (something in the API)basically I want to get the x and y values returned from the sampleTouch() in TouchController class.
I recently have a problem using TouchGFX. After editing UI in TouchGFX, I generated code. But there is only Visual Studio project and no other IDE's project code(Keil or IAR). In target folder, there are just some files. How can I solve it
HiIs there any way to change an object "z-order" via code?Using the designer is easy, just click the button "Send backwards" and "Bring forward", this basically change in the "ViewBase.cpp" the order of adding the object to the screen.Is there any way to do this after, for any object we add (in "setupScreen" function)?Use Case: I have a page with some buttons to perform some actions, but would like that if the user press anywhere on the screen (that is not a button) to execute an action (change page), for that i am using a touchArea that i have to add manually, but since it is always the last object added it stays in front of other objects and captures the click for the buttons.Thank You
We want to use this board as a development platform. Is the LCD removable? We need to use another display, a 3.5-inch Newhaven 320x240 LCD-TFT display. Or can I emulate this resolution on the 4.3-inch 480x272 color LCD-TFT display?
Hi,I am developing a POS Solution based on a 7" TFT as HMI. I want to use STM32F4 or F7 mcu and use TouchGFX and STM32Cube IDE. I have previous experience of developing HMI applications on STM32F746 Disco Board. Now I need help and guidance in developing a custom board for above mentioned solution with a lowest minimum budge.I don't have experience and facilities to work with BGA ICs. Would it be possible to develop required board with all TQFP package ICs.Any help would be highly appreciated.Best regards,M.H. Tariq
Hii,mikroe TFT 7capacitive lcd board interface with stm32f7508-dk ,we are trying to switch on display, but we don't have proper library files and programs. So send this library files and example programes on cube Ide.Regards,
..
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.