Discuss STM32 and TouchGFX implementations, including configuration, debugging, and optimization.
Most recent activity
Model::tick() I am using external Flash (16 MB) for storing pictures, texts and fonts for TouchGFX. External flash is also used for storing some parameters using simulated EEprom. External flash is normaly used in memory mapped mode. Only when storing parameters is memory mapped mode disabled. If writing to external flash is frequent Model::tick() stops being executed.This is the task handling writing to in external flash. It gets paramters from a queue.void UserEEpromTask(void *params) { BaseType_t baseType = pdFALSE; EE_Status ee_status; while(1) { uint8_t EEpromQueueFillLevel = uxQueueMessagesWaiting(Queue_EEpromHandle); if(EEpromQueueFillLevel > 0){ baseType = xQueueReceive(Queue_EEpromHandle, &eepromQueueMsg, 1); if ((baseType == pdPASS) && (eepromQueueMsg.id > 0)) { NVIC_DisableIRQ(DMA2D_IRQn); NVIC_DisableIRQ(LTDC_IRQn); taskENTER_CRITICAL(); ExternalFlash_StatusTypeDef stat; stat = ExtFlash_Abort(&hqspi); if(stat ==
..
Hi to all,I'm new in stm32 and I have stm32F469i-DISCO board.Factory demo worked well on it.Then I've started to exploring examples from STM32CubeIDE (New -> STM32 project -> Examples -> filtered by board)Last couple of tries was LCD_DSI_CmdMode_DoubleBuffering, LCD_Paint, TouchGFXJust create new project - build and RunAnd here example what I can see on the LCD Then I'm taking compiled demo binaries from official page and program it using STM32CubeProgrammerIf I leave board without power for some time, 10 - 15 mins, this white lines gone and image became good. But this not work with examples - they didn't work after board "rest".Also tried to program binaries compiled by STM32CubeIDE with STM32CubeProgrammer - the same but with some verification errors.And official demo binaries also says verification errors. Is it some hardware issue on my board and I need new one?Any ideas?
All connections are correct but only the backlight is turned on. On another processor, the following code works fine. I attach the entire project and the display connection diagram. Thank you in advance for your help.
We are using the emWIN library to display the images, but we are having problems. The initial screens 2 are displaying, but when you enter a specific screen, the display module does not respond.We can't figure out what's wrong because it's structing the display.Is this a memory problem with the controller 2MB flash 320 kb ram?
I am currently looking for a microcontroller or processor with MIPI DSI output. The STM32 devices have this, but there is something that does not seem to make sense. They only have 512kB of internal memory. This would not be enough to hold a single frame of video to output to the screen.The screen on the Discovery kit is 800x480 pixels x 24bits/pixel. This equates to a little more than 1MB of data.Do these devices have additional video memory, enough to hold a video frame ready to be streamed out to the screen via MIPI.Or do these devices require additional external RAM to be able to drive a display of this size?
helloAmong the TTF fonts, there are special characters that cannot be directly input from the keyboard. Is there a way to input them in GFX?For example, #code...thank.
Hi, are there any future plans on updating emwin base in stemwin lib ? If I didn't miss something latest update was V5.44 / 22-March-2018.
We are evaluating TouchGFX and its performance in details. Can anyone please provide some technical details regarding below criteria, that would be appreciated.UI reusability(means is it possible to modified the UI assets of already created UI)Graphics Resolution Scaling (in term of using the different resolution display in the same project, changes needs to be done)Custom Animation SupportUse Sketch Assets Directly (Intelligent reimport of sketch assets)Web Engine in UICyber Security for data protectionThanks in Advance
I have purchased STM32F769 Disco Board. Post powering board from CN16 power LED turned on. Nothing appeared on LCD as described in Demo firmware. I reprogrammed FULL demo firmware STM32769I-DISCO_DEMO_V1.0.0_FULL.hex. LCD is struck at Blue logo. Nothing happens after that.
you are not connected to the internet. but currently, when this peace of software named "touchtgfx designer" shows this bug, I am in realtime writing you this request. or do you shut down your servers on weekends?
Memory stack/heap size were increased. Even tried to use DMA with no change.The screen is dimmed and colors aren't the ones designed. I'm learning about the DMA setup for this Kit so, knowledge about it's complete setup is unknown to me.Also, when trying to debug dual core CM7 & CM4, CM4 loads and waits for CM7 but, CM7 brings the following error-> (error message from debugger back end:Load failed Failed to execute MI command:) The above maybe? related. I'm running CM7 now with and without SD Card only and the results are the same when CM7/CM4 clock is at 75Mhz(Automatically).When it's 400 and 200, the screen is okay until SD Card is added. During this time however it's automatically (CM4 too) configured to 75 Mhz.AN5361 (Getting started with projects based on dual-core STM32H7 microcontrollers in STM32CubeIDE) guide hasn't been able to help me with this issue.If it anyone can provide assistance, It's greatly appreciated!
Hi...I am using STM32H750I Board with resolution of 480 x 272 , but I have a to configure board with 480 x 480 resolution. How can I customize the board in TOUCHGFX IDE in bare metal?Can I use only Internal memory to store the framebuffer, not external memories like QSPI , SDRAM with FMC?If anyone have an idea on this please help me out to solve this.Pooja M
Hi,probably my problem is very simple to solve. I have a swipe container with a static graph that fills almost the entire screen. My problem is that I can't swipe the container because the static graph widget processes the touch event, even the click listener is not enabled.Is there a simple solution to pass the event to the swipe container so I can move it?Thank you very much.Best regardsDominik Schmid
I’m using STM32H753IIT6 part for my development of a LCD display. I am getting a hard fault, when my data size crosses 8752 bytes. I’m using External memory using QSPI and using the FreeRTOS for GUI threads. The flash size is less than <1MB. For data size less than 8752 it works fine and if it crosses this value it hits the hard fault (it breaks inside a routine where I call a function pointer, function pointers are getting same addresses as in Please help in figuring the issue.
This is a question about ScrollWheel::setOvershootPercentage(uint8_t percentage) added in TouchGFX v4.19.0.setOvershootPercentage() works as expected for ScrollList, but not for ScrollWheel.(There is no change in behavior regardless of the setOvershootPercentage() value.)When I check the source code of ScrollWheel, the process is as follows.In ScrollBase::handleDragEvent(), refer to "overshootPercentage" set in setOvershootPercentage() and perform operation processing when dragging.However, for ScrollWheel, the parent class, ScrollWheelBase, overrides handleDragEvent(), so I think that it is a problem behavior without referring to "overshootPercentage".If this is the cause, is there any plan to support it in the framework?I have attached a sample project, so please point out if there are any problems.(Created with TouchGFX v4.20.0 (Windows Simulator). The same behavior when creating with STM32H7B3I-DK. )Thanks in advance.
Hello.I am in need of inputting large strings of text (larger than the width of the screen) using keyboard. I have managed to get a working keyboard, but after increasing the buffer size, the text is being cut off after it leaves the widget area.I want to be able to scroll the written text left and right, or maybe even up and down. This would require me to somehow get a Scrollable Container as a parent for the text area, or rather the Rect textAreaPosition (which is part of Layout structure), which the text is being drawn on.I have managed to increase the size of drawn text dynamically by calling setLayout(&layout) after changing the size of textAreaPosition, which means that Scrollable Container could work (although I wonder how will calling this method so fast impact the performance). The question is how to add Scrollable Container as a parent of Rect textAreaPosition, without changing the provided Keyboard widget code? Is it doable? Maybe there is an easy way of doing what I wan
I posted before with a question about getting the LCD to work on F746. I have that working but now I notice the writes and screen updates are about half the speed on the F746. I have SYSCLK = HCLK= AHB CLK = 96 MHz on both MCU's. The address setup time, data setup time, bus turn around time clock division is the same on both. The F746 writes about 2MHz, the F412 writes about 4MHz. The time it takes to fill the screen with a color with the F746 is 135ms, the F412 does the same refresh in 75ms. I'm using the same code, other than the memory swap for the F746. Changing the The address setup time, data setup time, bus turn around time clock division only seems to change the duration the signals are high/Low, but the speed remains unchanged. Any suggestions for getting the F746 to update the LCD faster? I can try doubling the clock speed, but it seems like the two MCU's would write data to the LCD at the same speed when running the same CLK speeds?ThanksI've done more testing and reading th
I'm still getting up to speed with TouchGFX, but I'm puzzled as to how to reuse existing content in new projects. There is no SaveAs command, so that option is out. I tried running 2 copies of the application with the idea of copying and pasting screens between projects, but copy/paste seems to work only within the active project. So how is one to reuse content (say a screen one has invested a good deal of time creating) from existing projects in new projects? This capability is absolutely essential in text-based code, so maybe I'm just missing a detail of how to do so in TouchGFX.
Hii. 1) I am using STM32f769I Discovery Board2) Using Touchgfx I have created a gui and generated the Code3) From the project folder, Stm32cubeIde, I have opened. cproject. 4) Stm32cubeIde is opened and then I opened. IOC file5) From . Ioc I have added USART1, which can be accessible from Stlink6) When I generated code, Uart driver has not got added in the project. i. e, when I type HAL_UART and control+space it's not displaying any API like transmit, receive, transmit_IT etc7) When I opened Drivers folder and opened uart.c file it is observed that the uart driver isn't been enabled. Is it the problem, due to the project was created by touchgfx.
Dear All,I'm developing a data acquisition system using a STM32H735G-DK. I'm using Cube IDE and a project generated with CubeMX. I also use touchGFX for the diplay user interface.I managed to do all the acquisition and post ptocessing part on the MCU but when I started to save the data on the uSD the problems started. To test the ardware I used the uSD example provided in CubeMX and everything was working fine then I tried to follow the tutorial provided by ST on youtube named "STM32 – Creating a File System on a SD card" (sorry but I can not add links here) to implement the uSD functionalities in my existing project. I tried many time also with the help of the forum but it seems that some of the functions that are used in the tutorial are not anymore presents in the new version of FreeRTOS and even trying to use the the functions used by the ST example (working as standalone) I found no way to use the uSD with my STM32H735G-DK, it seems that it is not even able to mount the filesystem
I have an on/off button animation which rotates 90 anti-clockwise on switch-off and rotates 90 clockwise on switch-on. The problem I have is that the Animation resets when I change screen and I don't always want this to happen?
Hi...I am working on stm32f746g board with display resolution of 480 x 272 . I have configured LTDC in 2 layers. One layer contains Gauge image & another with Needle image. Right now it is displaying static images of both gauge & needle. I want to move the needle. Does anyone knows how to move the needle by giving some values? I want to know without using Touchgfx ,Embedded wizard kind of IDE's can we display a static as well as dynamic images like Gauge with needle rotating at user defined speed.
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.