Discuss STM32 and TouchGFX implementations, including configuration, debugging, and optimization.
Most recent activity
..
Greetings People.I am trying to interface grphics lcd ST7920 with STM32L using u8g2 and spi interface. I have connected STM32L pins as below RS pin of LCD with CSRW pin of LCD with MOSIE pin of LCD with SCKThe project is written in cube ide and implemented u8g2 functions as mentioned on online articles. Still i am not able to display the string on the lcd. Any suggestions where things are going wrong. I am not using software spi instead i am using hardware spi. Later i will upload the full project and code if necessary.Link for graphics lcd is this. Data sheet says controller is KS0108B and on website it says its is ST7920 compatible.Well i have used u8g2 library of arduino for ST7920 lcd and it works. LCD is tested using arduino with ST7920 mode.Update : I have attached my cube ide project too.
When browsing the TouchGFX online documentation, pressing Ctrl-K (or clicking on "Search") displays a popup window where the search term is entered, and a partial list of hits is displayed with a link at the bottom to "See all xx results":When the "See all..." link is clicked, rather than displaying the additional hits, the following screen is displayed:This occurs on all browsers and platforms I've tested (Windows10/Chrome/Edge, MacOS/Chrome/Safari).I think the online documentation is excellent and shows considerable thought and effort. However, in such a non-linear format (and especially with material so voluminous and diverse), a good search capability is a must. And it appears that the search function does indeed work well. But if the target of one's search does not appear in the initial list, the lack of access to the additional links is a serious deficiency, rendering the search tool useless in a large number of cases.
When selecting the STM32F429I-DISC1 Board, STM32CubeMX (v6.3.0) sets the LCD clock to 25MHz which is way to high.The LCD clock for the display should be 6MHz which could be set manually in STMCubeMX configurator on Tab [Clock Configuration] as follows:PLLSAI --> *N --> X 96PLLSAI --> /R --> / 4PLLLCDCLK --> / 8
I have a page with many textboxes in a swipe container, half of which have wildcards. Occasionally the TouchGFX task will freeze (other RTOS tasks continue as normal). Unfortunately I have not yet found a way to reproduce it, however the symptoms are similar each time.The UI freezes. I click pause in STM32CubeIDE, I usually end up in a DMA Handler. I step through until the DMA handler completes, and then I land in a TouchGFX textarea draw function.The stack trace is always something like this:touchgfx::TextAreaWithOneWildcard::draw(touchgfx::Rect const&) const at 0x8057353 touchgfx::Screen::JSMOC() at 0x...... touchgfx::Screen::JSMOC() at 0x...... touchgfx::Screen::JSMOC() at 0x...... <a number of these JSMOC lines...> touchgfx::Screen::JSMOC() at 0x...... touchgfx::Screen::startSMOC() at touchgfx::draw() touchgfx::Application::draw() touchgfx::Application::cacheDrawOperations() touchgfx::HAL::tick() touchgfx::HAL::backPorchExited() at HAL.hpp:541The topmost function is alwa
Hi, I want to make screen templates so that users can choose the screen they want and add the project. Is there any possible way to do it?
So my project started to build custom hardware instead of using DISCO board. This mean needs to write my own LCD init code but I don't know where should I put it. With respect to the code skeleton generated by CubeMX for TouchGFX, which file I should insert this specific LCD init code?
if I add fatfs to touchgfx project, fatfs library doesn't seem to work. if I use fatfs individually it seems to work fine
Hello all,we have a system up and running using TouchGFX. The user interface can be switched between german and english using a system menu of my user interface while running the application on the board.Now we will show the system on an exhibition in Shanghai and would like to have chinese as an additional language. I succeeded to create another language in TouchGFX Designer (vV. 4.10.0), translated some of the menu items into chinese using google translator (e.g. "System setup" = "系统设置" ) and extended the wild cards of my typographics to have characters 0x20-0xFEFF.In the font source there are several characters beyond 0xFF created in the file, however on the system the text is not visible. It shows "??????" which is the fall back character.I use the Windows Font Calibri in different sizes and in notepad the chinese signs are visible with this font so it should be possible to used it for chinese characters. Did anyone manage to get chinese working using TouchGFX?Any hints are very mu
Cant compile code from CubeMX generated project. I get:undefined reference to `touchgfx_init'I have generated code from cubeMX and then TouchGFX and then clicked build all in the CubeIDE, but get errors I cant seem to fix. Any help appreciated...
Hi ,My team is working on a project in which each of us work on separate screens. Is there a way to merge two TouchGFX projects other than manually editing json file?
I am completely new to stm development. I installed latest version of stm32cube IDE and touch GFX 4.17.0. I have STM32f429I Dicovery board on which i wish to start on. However whenever i select the board and say create a example. The download goes till 33 & and fails ". Can anybody help me, i am completely new to stm32 ecosystem. Also i am not able to create a new blank project for the board the error says "combination of stm32f429I & Blank UI failed.
Hi Everyone,In STM32Cube_FW_F7_V1.16.0 folder --> Utilities folder -->TouchGFX_STM32F769 some example videos are available. So, how to use those videos and play them on STM32F769I 800X480 display? How to use Touch GFX to play the videos? Without using the USB Key or SD Card. Can we read and display / play the videos (.avi or .mp4) from the external NOR flash?
Hi, I want to display bootup animation in our project. I used Animated Image widget to display continues images to get the animation. since we need to use many images to get proper animation, the flash storage size is increased heavily. To overcome the size issue, is there any way to play video using touchgfx designer.Thanks and Regards,Bala
Hi all,I'm trying to use flexbutton having three layers (text, image, box with borders).Everything looks fine on the designer (4.17.0) but when i flash the target device (stm32h735disco) the images aren't shown.This happens flashing both from designer 4.17.0 or IDE 1.6.1Any advice ?Thanks!
Sample usage:I want to have different settings when working in hardware vs working on simulator
I want to experiment different fps speed in simulator of TouchGFXDesigner, where is location to modify the code?
Hello everyone,I am currently working on a project with GUI. Some time ago, I was able to launch a project from the forum:https://github.com/Scubaboy/SMT32F7LCDDisco/tree/master/STMF4DISCOCubeIDEI currently have the latest versions of CubeIDE, CubeMX and TouchGFX 4.13 installed. I'm trying to configure F469DISCO similar to the following:https://www.youtube.com/watch?v=o42r4xXOnboThe project is generated, TGFX files also. However, after uploading everything to the board, the screen is black.Can ST not provide one, ready CUBE IDE project for each Dev board? I see how many people have a configuration problem, many people do not work properly. When a team choosing a platform for a new project, most of the time loses to "fight" with IDE and configuration, they will finally choose a different solution.After that, the example of TouchGFX from CubeIDE, after importing to workspace, compiles correctly, but displays artifacts ....Of course, examples from TGFX Designer work fine, but without prop
screen option 1 : Riverdi RVT43ALBFWN00 TFT LCD Colour Display / Touch Screen, 4.3in, 1280 x 768 | RS Components (rs-online.com)screen option 2: STM32F746G-DISCO STMicroelectronics | Development Boards, Kits, Programmers | DigiKeyMicrocontroller used: STM32F072B-DISCO
I am trying to build a smart home interface using touch gfx.After some smooth jurney, i am stuck in a situation that my swipe container contains few images with clicklistener mixins.After I implement the clicklitener the slider not working I have only some space is now available for slides other portions have images.How do I solve this situation I only need to click on release the finger on the same position. Otherwise, slide the swipe container.Please someone help me.
Hi all,I would like to reduce space on my external resource file (store into an QSPI meory), using compressed pictures instead of PNG images. In my case, my microcontroller has JPEG Codec HW peripheral. Why is not possibile to load JPEG or BMP on TouchGFX?Thanks
I am trying to implement long press 3sec on an image which has touchlistener mixins enabled.I am tried the button like tickEvent approch it doesn't work.void Screen1View::handleTickEvent() { if(evaluate_long_press) { counter++; if(counter == 1000) { evaluate_long_press = false; counter = 0; static_cast<FrontendApplication*>(Application::getInstance())->gotoScreen2ScreenCoverTransitionEast(); } } }And I am also tried adding this line to the image class.Application::getInstance()->registerTimerWidget(this);I don't know how to implement this please someone help me to implement 3s long press on an image.
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.