Discuss STM32 and TouchGFX implementations, including configuration, debugging, and optimization.
Most recent activity
Hi Team,Am working with STM32L4F9 Discovery boardGenerated code for sample UI with emWin and added to GUI code...trying to explore the GUI apis and using it,but i could not use them properly.........I found a PDF STemWin532 and it was pointing to some source, can you pls share me that source code to work around.
I am using ..\Applications\LibJPEG\LibJPEG_Decoding example and it opens a single jpg-file as it should, but how to modify the code to show several files (one after another). All I get is the first picture.Repository\STM32Cube_FW_F7_V1.15.0\Projects\STM32746G-Discovery\Applications\LibJPEG\LibJPEG_Decoding\MDK-ARMAs a last hope I tried this test code. Both files work when I try them separately but not in the same code like this./* Includes ------------------------------------------------------------------*/ #include "main.h" //480x272 /* Private typedef -----------------------------------------------------------*/ /* Private define ------------------------------------------------------------*/ /* Private macro -------------------------------------------------------------*/ /* Private variables ---------------------------------------------------------*/ FATFS SDFatFs; /* File system object for SD card logical drive */ FIL MyFile; /* File object */ char SDPath[4]; /* SD card logical driv
..
Hello,I want to display the current time in TouchGFX project.I am using TGFX 4.9.3 (using Keil IDE) and I want to use the Internal RTC to update set time.The issue is that the clock settings are already defined when the project is created.So I tried adding the required Clock Config (added in BoardConfiguration.cpp). But it is not working.Thanks,Ameya
2 question:STMCube can help to design graphical interface for STM32F746G-DISCO ?It is possible eliminate the strange effect at the boot time on STM32F746G-DISCO ?
I'm working on a custom board, where I'm introducing new features and testing each individually.Example:LTDC with the cubemx interface. Tested the operation. OK.FMC with the cubemx interface. Tested the operation. OK.DMA2D with the cubemx interface. Tested the operation. OK.In short, I have to create each configuration separately, and the worst individually for each pin, because many pins appear set by default in CubeMX.And there is a detail that I do not understand!Why can not I copy all libraries when I'm in TrueSTUDIO, but when in MKD can I?Since TrueSTUDIO is from ST, can not I manually configure my projects?As I have an Eastern origin, I will patiently wait for software developers, contractors and CubeMX managers, "to graduate in the Faculty of Software Engineering, to explain this lesson I lost, I apologize for being an absent and inattentive student. "Ivan Braga
The knowledge base text in widget->Circle shows 4 widgets (Box, Box with Border, Line and Circle) on the SHAPES, and the text indicates: "The Circle is located under Shapes in the TouchGFX Designer."Sorry, but, where is Shapes on the TouchGFX Designer?
To implement something like iconview in emwin,I created a Custom container,consist of a image and textarea. name as a icon.Then,create 2 screen .The screen1 use SwipeContainer ,whitch add 12 icon.Q1:How do I determine which icon is pressed?Q2:How do I switch to screen2 by clicking the icon?
Hi everyone,i enable touchgfx in my project starting with cubeMX.But it doen't run touchgfx.I use MDK-ARM5 with uKeil.In debug i see that after this instruction (inside gui_generated/common/FrontendApplicationBase.cpp)transitionCallback = touchgfx::Callback<FrontendApplicationBase>(this, &FrontendApplication::gotoScreen1ScreenNoTransitionImpl);it doesn't go in gotoScreen1ScreenNoTransitionImplvoid FrontendApplicationBase::gotoScreen1ScreenNoTransition() { transitionCallback = touchgfx::Callback<FrontendApplicationBase>(this, &FrontendApplication::gotoScreen1ScreenNoTransitionImpl); pendingScreenTransitionCallback = &transitionCallback; } void FrontendApplicationBase::gotoScreen1ScreenNoTransitionImpl() { makeTransition<Screen1View, Screen1Presenter, touchgfx::NoTransition, Model >(&currentScreen, &currentPresenter, frontendHeap, &currentTransition, &model); }What is it the problem?
2019-03-22 10:44:08,257 [1] INFO TouchGFXDesigner.App: Logging configured2019-03-22 10:44:08,270 [1] INFO TouchGFXDesigner.MainView: Application started2019-03-22 10:44:08,271 [1] INFO TouchGFXDesigner.MainView: Username: ss2019-03-22 10:44:08,271 [1] INFO TouchGFXDesigner.MainView: Designer version: 4.10.02019-03-22 10:44:08,271 [1] INFO TouchGFXDesigner.MainView: Designer installation path: F:\TouchGFX\4.10.0\designer2019-03-22 10:44:08,271 [1] INFO TouchGFXDesigner.MainView: Windows version: Microsoft Windows NT 6.1.7601 Service Pack 12019-03-22 10:44:08,271 [1] INFO TouchGFXDesigner.MainView: Current culture: zh-CN2019-03-22 10:44:08,291 [1] INFO TouchGFXDesigner.MainView: Current culture time seperator: :2019-03-22 10:44:08,291 [1] INFO TouchGFXDesigner.MainView: Current culture date seperator: /2019-03-22 10:44:08,292 [1] INFO TouchGFXDesigner.MainView: Installed .NET version(s): v2.0.50727 2.0.50727.5420 SP2v3.0 3.0.30729.5420 SP
I'm trying to place a json file from my computer in qspi memory, to then read it. I'm not quite sure how to save the file on the board and then access it. Doing it on the simulator is easy but once I run the code on my stm32f769i-disc it crashes because it cant access the file
Hi, I'm trying to start a project using a STM32F7 and TouchGFX in STMCube - however it won't let me enable TouchGFX libraries without first enabling FMC External RAM. In my case the Microcontroller has enough internal RAM for 1 or even 2 framebuffers, so I don't want to enable FMC. How can I start this project?
If at the very start of creating a project I place a "Box" shape and give it a color, and afterwards place an image everything works fine and I can see the image.However, if I first place images and then place a "Box" shape with a certain color, then I won't be able to see the image anymore.How to push either the "Box" shape to the back or push the image to the front?
Hi,with my recent download of CubeMX I have got emWin version 5.44. Are there newer versions for the STM32F7 family? I would be interested in version 5.48 or higher because of the changed MENU widget function.RegardsJan
Hello,i have generated an IAR cubeMX project with touchGFX for STM32F767.Do i have just to modify the parameters in the cubeMX Multimedia->LTDCD according to my screen (synchro for width, for height...) ?Or are there other initializations to do to make my screen work with touchGFX ?(in a demo project there is a stm32746g_discovery_lcd.c file that have initialization and configuration functions)Thanks for any supportbest regards
We want to use AnimationTextureMapper to animate an image and it works fine when we use doubble framebuffers but with a single framebuffer we get flickering. Because we have limited RAM I wonder if anyone has any ideas/tricks how to get flickerfree animation with a single framebuffer?
Hello all,I need to write a Callback for Drag event, same as ClickListener for Click event.I found Snapper functions for the same. But, I cant find how to include a Snapper as a mixin in Touchgfx designer. Do we need to include Snapper as a mixin explicitly in designer? How?If not, then how to include it in project?
Is it possible to draw the gauge tickmarks without using an image? I have to use some widgets (gauge, circular progress) layered one above the other and one image hides the image from beyond.What's the best approach to do this (canvas, shapes, ...)? Is there any example how to do this?
Hello ,when adding new typographies it is displayed correctly just for the first time when I set it up.After that whenever I close the TouchGFX designer .. and come back the next day .. The designer produces a bug with typography created before .. and texts are rendered with default font insteadwhen I check the list I see the followingThe font here is supposed to be Consolas .. but after I close and reopen the designer now it shows weird characters in the name of the font .. and the font is not rendered anymorewhat is the problem here ?
Hello,To avoid context switches between the painting thead and DMA2D_IRQHandler interrupt I switched the code code to start the next DMA2D operation directly in the interrupt handler.However, after doing this, the painted frame buffer has sproradic pixel errors. While the DMA2D engine executes operations the painting thread contiues to paint to different but neighbouring pixels than the pixels set by DMA2D engine.DId anyone see the same behaviour?Thanks for any answers.
Hello Community,I am working with a custom PCB powered by an STM32F769 that has Ethernet and LCD (no touch) hardware. The graphic requirements are quite low (320 x 240, RGB565, 150K framebuffer size), so there is no external ram on this board.CubeMX (version 5.1.0) will not let me enable STemWin without having an SDRAM enabled in the FMC. All of the pins on the STM32F7 that can be mapped to SDCKE0, SDCKE1, SDNE0, and SDNE1 are already utilized by the ETH, LTDC, and SPI interfaces. So, I cannot simply turn on the SDRAM and point it to empty pins.Is there a way that I can override this prerequisite to allow me to import STemWin into the project using CubeMX? If not, I assume I will need to load the STemWin files into my TrueSTUDIO project manually. It would be nice to utilize CubeMX if possible.Thank you,Andrew
Hello,I am trying to get a single image the NUCLEO-L496ZG board with a OV7670 CMOS camera sensor using the DCMI HAL library.I am trying to read a single image and write to a USB flash drive connected to the NUCLEO board.I have been trying to use multiple sensors (MT9V024, which was outputting data, but I saw the OV7670 was supported, so I am )I am not using an LCD screen, but I am trying to get data from the OV7670 sensor without success so far.I added 15kohm pullup resistors on the I2C datalines.I am using an oscilloscope to probe the I2C lines and data is going across (I2C clk line is moving , so there is a start condition happening).I have tried using the stm32L496 Discovery board example, after compiling for my NUCLEO board without success.I assumed there was a conflict with the BSP and the HAL libraries, so I Googled the following Github post:https://github.com/take-iwiw/DigitalCamera_STM32/tree/e3ca40f0f960ba3888c8a9f4fec03ff328093363I did find the DCMI main library file and I am
Hardware :STM32L496 DVI interface is used to connect Camera sensor OV5640. We have configured the software to receive JPG format through serial interface .Problem :We are trying to get the jpeg data from camera sensor(OV5640). we are receiving some data from the sensor but unable to view. Find the attachment for the sensor data .Can you help us is this the wright data from sensor ? Note:1) From the sensor we are receiving start of image(0xFF,0xD8) and end of image(0xFF,0xD9)2)We are not receiving start of frame, is this could be the reason why we are not able to view the image.3)Is the start of frame is mandatory.kindly comment on this
Hi!I want to use a function of the model in a my class out of MVP, is it possible?void Model::proofPrint() { modelListener->printLabel(); }printLabel() is a function inside a screen.I have a class MainApp.cpp that it use how class wrapper for the file DebugConsole.c.MainApp isn't a screen.How can i use model.proofPrint in MainApp?Obviously i call proofPrint when i am in the correct screen.
Hello. Created a new TouchGFX Designer (4.10.0 version) project with stmf469 disco application template and started it in simulator - the result was ok, but if I start it on target, using "Run Target" or ST-Link utility the output represents shifted segments and when i touch the screen segments are shifted again differently
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.