Discuss STM32 and TouchGFX implementations, including configuration, debugging, and optimization.
Most recent activity
Hi, I need to receive data by UART every 2 mS, thus I disable all configuration setting for FREERTOS in CubeMX. I receive data at my desired time but I have a question... Is disabling FreeRTOS cause faults while TOUCHGFX running?
Using CUBEIDE_1.11.0, TouchGFX_4.21.0,and STM32F429I-DISC0.Starting a GUI is easy using TouchGFX using an easy button and interaction program. I am having trouble understanding programming pins on the STM32MCU to correlate with the buttons on the GUI. All video instructions use MX with TouchGFX inside the CUBE IDE. Every time I generate code in TouchGFX and import to Cube IDE, the MX file does not transfer or is not created. What am I doing wrong?
Hi , may I know why when I put my code under while(1), it doesn't execute my code?
Hi,I am trying to flash a single screen Touch GFX application on my STM32F7508-DK board but I got a blank screen. Did anyone face that problem before ? What could be the solution ?My actual configuration: TouchGFX Designer 4.21.0Thanks in advance!
Receiving data by UART and display it by TOUCHGFX cause some lost data in my screen, graph is not displayed correctly.There are 2 boards one which is been receiving the signals by sensors and the second one is LCD board which has been configured by TOUCHGFX.I want to receive data by UART from the first board and show them in LCD.But some graph is not shown correctly.Here is the code:```HAL_UART_Receive_IT(&huart1,(uint8_t*)RxBuf,20);HAL_UART_RxCpltCallback(&huart1); HAL_Delay(1);```I put ```HAL_Delay(1); ``` in order to receive data correctly but it does not make sense.And the data shown by graph:``` if(i<123){dynamicGraph1.addDataPoint(RxBuf[1]+25);}elsei=0;```Note : in image, the first graph is displaying by UART and as you see suddenly a drop appears... and I don't know how to solve it, and the second graph (from above) is the correct signal.How can I solve it?Thanks again.
I'm not sure what the problem is here as I thought TouchGFX configures the board as needed.
Hi, I've came across a weird bug, where Designer displays a completely different font in the design window than is selected in the Typography . On compilation (emulator or on device) appropriate font is displayed. Example:As you can imagine, sizing and placing of text elements is extremely annoying.I'm specifically talking about the Nullshock Bold font, which you can find here: https://www.dafont.com/nulshock.fontAny hints on how to solve this would be appreciated.
I have ARGB bitmap image and I would like to blur its edges by applying A8 mask.Is it possible to do it with DMA2D Chrom-Art? I cannot figure it out.Note: it is not the same as blending masked solid color with background, e.g. to draw anti-aliased font.In another words, I want to replace (or mix) my bitmap alpha channel with A8 mask bits without changing RGB values.
can i use keyboard in a model window instead of a scren , what actually i want when i cick a button popu(shows) a model window with keyboard in it ,i done with screen(click button go to screen with keyboard), how i put keyboard in an model window, thank you for your help
I need to know X and Y position from some points in static graph widget. Is it possible to getX and getY from the vector datapoint of static graph?
Hi, may I know what cause of this warning? how can I solve it?
Hi,I'm currently working on the STM32H7532I Eval2 board. I would change the 5.7" RGB LCD Screen to a bigger LVDS screen but i'm not sure of the process.I have read that I need a RGB2LVDS converter.I would know what I need to do after that, one I've connected the screen.If anyone could help me ! Thanks
Hi,I setup a project for STM32F429 MCU by using STM32CubeMX with LTDC, DMA2D, FreeRTOS and TouchGFX enabled. It works very well with a splash screen and a main screen. However, when I added another simple screen, the UI freezes after some screen switch operations. The problem can be reproduced 100%, and always at the some place.After some investigation, I found the UI task is hung in OSWrappers:waitForVSync() -> xQueueReceive() -> prvUnlockQueue() -> xTaskRemoveFromEventList()->configASSERT(pxUnblockedTCB).The reason is: memory of vsync_q (in OSWrappers.cpp) is overwritten by unknown reason. vsync_q.xTasksWaitingToSend.uxNumberOfItems is no longer 0, which cause the assert fail.I added a memory write access breakpoint, and tried to catch the 'evil' code, but it breaks in the interrupt handler: DMA2D_IRQHandler(), and the memory has been changed already. So, I lost clue here, and it seems DMA2D did some incorrect operation towards the memory.Can anyone give me some suggest
I have a custom board with TFT connected by FSMC 16bit to the STM32F103VET6. When a new project created in CubeMX 6.7 and I try to add new software component (TougchGFX v4.21) - it told me the STM32F103VET6 does not supported. Is there a way to avoid this limitation?
Hello,In my project I need a lot of memory, like 652kB. For that I will use STM32U5 MCU. Compiler does allow to make array I need, because total amount of SRAM is 786 KB.But it crosses multiple internal SRAM banks. It looks like addresses are in line so where are no gaps. Is it legal to do that ? it would be nice if I don't need to play around with DMA to setup multiple instances to jump between regions.
Hello,I'm working in touchgfx with STM32F469I discovery, i'm trying to communicate with PC using UART function.I used this tuto : (1) TouchGFX - sending uart data to GUI on a STM32F746G-DISC0 - YouTubei'm using RealTerm TCP/IP to send data, but it doesn't work.you can find the code in Github : ISSUE WITH SENDING DATA BY UART TO VIEW · GitHubCan anyone help me please !Thanks,
Hello,I project to change the MB1063 LCD daughterboard on the STM32H753-EVAL2 by another screen and I have some issues to ensure the compatibility of my choices.The touch panel connector (CN3) on the daughterboard have 8 pins, but all screens i've found have 6 or 10 pins. How do I have to proceed to ensure the compatibility with the motherboard ?Thanks
hi.I implemented the numeric custom Keyboard through the Keyboard example.However, I can not connect the buffer used for input with the buffer used for TextArea. How can I connect?And I want to be able to input it directly to the keyboard when I touch the TextArea. Can I detect the touch of the TextArea?thank you
..
Hi, I want to receive data by UART.In MX, I have initialized it:this is the code: 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; if (HAL_UART_Init(&huart1) != HAL_OK) { Error_Handler(); }and I want to receive and transmit in special screens,here is the code: I want to send and receive in screen7.void Screen7View::handleTickEvent(){ tickcounter++; uint8_t a[] = "68";//HAL_UART_Transmit(&huart1,(uint8_t*)a,8,10);// Sending in normal mode//HAL_Delay(1000); if(HAL_UART_Transmit_IT(&huart1, (uint8_t *)a, 8) != HAL_OK) { Error_Handler(); } }for test, first of all, I want to transmit an integer assigned 6
I am new to TouchGFX and just want to get up and running with a working code example. I picked up a STM32F469I-DISCO but it did not have a working demo out of the box and it would not run any of the TouchGFX Designer Demos/Examples. I then ordered a second STM32F469I-DISCO thinking I just had a defective unit, but the replacement behaved identical. I then ordered a STM32F746G-DISCO which did have a working demo out of the box. However, when I flashed TouchGFX Designer Demos/Examples the display worked, but the touchscreen did not. I could really use some help getting a demo project working so I can start learning my way around TouchGFX. Any help would be appreciated!
For instance "void textAreaClickHandler(const TextAreaWithOneWildcard& area, const ClickEvent& event);"I would like to alter UI controls from callbacks but "const" seem to tell me that that's against some big picture idea of TGFX? What concept am I missing? I've looked at documentation and did not see anything very focused on event paradigm.
I have already use designer 4.18 and 4.19.1 for same project.The 4.18 used ram about 1000 MB . When I change to 4.19.1 , ram used to 4600 MB. sometime used to 7800 MB. Make my PC slow down.How to solve this problem?Thanks.4.19.1 picture4.18 for same project
Hi!I use a lot of rounded coloured boxes for my implementation and I was looking at writing custom classes to handle this. EG: My own circle class with a built in painter to remove the confusing use of the painter. Can I add this to TGFX Design Studio so that when I generate my files, it will generate with my own circle?#ifndef MYCIRCLE_HPP #define MYCIRCLE_HPP #include <touchgfx/widgets/canvas/Circle.hpp> #include <touchgfx/widgets/canvas/PainterRGB565.hpp> namespace mygfx { class Circle : public touchgfx::Circle { public: Circle() { setPainter(_painter); } explicit Circle(touchgfx::colortype initColour) { _painter.setColor(initColour); setPainter(_painter); } void setColor(touchgfx::colortype colour) { _painter.setColor(colour); } touchgfx::colortype getColor() const { return _painter.getColor(); } private: touchgfx::PainterRGB565 _painter; }; } #endif //MYCIRCLE_HPPThe end goal is to make a box with rounded border that im
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.