Discuss STM32 and TouchGFX implementations, including configuration, debugging, and optimization.
Most recent activity
Hello all,I have one query.Can we interface two cameras directly with an STM32 microcontroller (could be a H7 or F7 series) via DCMI lines or other interfaces? Is there any mechanism to share the common DCMI lines (similar to the SPI slaves) ?I have found some examples of STM32h7 examples where an OV camera is connected to the MCU through DCMI lines. I was just wondering whether we can use STM32 DCMI interfaces for developing a stereo camera.I thank you in advance for your suggestions.
Hi,do you know if the STM32H745I-DISCO Board will ever be supported by TouchGFX. Or is there already an easy way to use TouchGFX with this board?
When I delete a typographies ,the TouchGFXDesigner can't generate or save. And the TouchGFXDesigner.log as follows.2020-11-25 19:46:27,675 [6] INFO TouchGFXPackages.FileDownloader: Take operation was canceled. IsCancellationRequested=True 2020-11-25 19:46:27,675 [10] INFO TouchGFXPackages.FileDownloader: Take operation was canceled. IsCancellationRequested=True 2020-11-25 19:46:27,675 [7] INFO TouchGFXPackages.FileDownloader: Take operation was canceled. IsCancellationRequested=True 2020-11-25 19:46:27,676 [8] INFO TouchGFXPackages.FileDownloader: Take operation was canceled. IsCancellationRequested=True 2020-11-25 19:46:27,675 [9] INFO TouchGFXPackages.FileDownloader: Take operation was canceled. IsCancellationRequested=True 2020-11-25 19:46:27,691 [1] INFO TouchGFXDesigner.Main.MainWindow: Application closed 2020-11-25 19:46:32,608 [1] INFO TouchGFXDesigner.App: Logging configured 2020-11-25 19:46:32,774 [1] INFO TouchGFXDesigner.Main.MainWindow: Application started 2020-11-25 1
Thank you for helping.environment:Board: STM32F769I-DISCOTouchGFX: Ver4.15.0Is it possible to set the version of FreeRTOS (osCMSIS) to 1?If it is 2, other (LwIP) does not work well, so I would like to try it with 1.Thank you.
My result for use CubeIDE versions is strange. Every version have deep troubles.One my project i handle over versions and end with TouchGFX 4.13 in CubeIDE 1.3.1 and MX 5.6.1, with perfectly working code.Half year after i use second PC and install newer TouchGFX 4.15 CubeIDE 1.4.2 MX 6.0.1import project to workspace, regenerate ioc code with update fw 4xx from 1.25.0 to 1.25.2 , open TouchGFX project upgraded. Building project OK. BUT.When i load to board first code, all gui work without glitch.New code create anim, fade and other gui glitches on gui changes.Then i maybe dont found it, but when exist web page , where is writed all versions ERRATA for this complex system , i need this info.And ofcourse PLS autors dont release new versions , when isnt well tested.
When I update the LTDC Frame buffer, showing the display has problem.I use DMA2D and FBAdress located in external SDRAM.I write in pixels as follows (e.g. 1000 Pixels):__IO uint32_t* Address = (uint32_t*) 0xC0000000; __IO uint32_t Data = 255;while(1) { for (int var = 0; var < 1000; ++var) { *(__IO uint32_t*) (Address + var) = Data ; } osDelay(10); }While writing in the for loop, the display is as follows:And when the writing operation is finished, the displaying is without any problems.How can I update the Frame Buffer without such a problem?
Hello,I am evaluating TouchGFX 4.15 with STM32F769I-EVAL and MDK-ARM.I can successfully compile the code of the Animated Image Example and download it using MDK-Arm and ST-Link. However the CPU hangs in MemoryFault when it first enters TouchGFXHAL::taskEntry() and proceeds to function backPorchExited();In backPorchExited(); the swapping of the framebuffers obviously cause the MemoyFault.I didn´t change anything in the configuration auf CubeMX, I just wanted to test this simple example.Any help is very welcomeAndyAttached the CoubeMX
Good Morning,I have a project created in TouchGFX 4.13 with user images that were automatically placed into a folder named _designer. Although 4.15 can display those images in the Images tab, they are not assignable to any newly added controls. They don't even show up in the image selection UI (The original controls image bindings still work, but can't assign them to newly added controls.I found by renaming the _designer folder to Designer, and relaunching, the user image assets work fine again.Am I correct to assume that TouchGFX 4.15 internally uses some unpublished folder name/prefix information to restrict UI visibility?If so, is there a list of other hardcoded folder names, prefixes that have non-standard functionality in TouchGFX 4.15?Thanks,Heather
..
I see the office usage as follows//read the binary font from a file FILE* font = fopen("generated/fonts/bin/Font_verdana_20_4bpp.bin", "rb"); if (font) { //read data from the file fread(fontdata, 1, 10000, font); fclose(font); //initialize BinaryFont object in bf using placement new new (&bf) BinaryFont((const struct touchgfx::BinaryFontData*)fontdata); //replace application font 'DEFAULT' with the binary font TypedTextDatabase::setFont(DEFAULT, &bf); //verdana_20_4bpp }What is the DEFAULT mean?I have multiple BinaryFont, so how add multiple bin file to project?
Hi,I started to work with the STM32F7 Discovery kit and according to the instruction I set JP1 to 5V_STLINK and then I connected the USB cable from the kit to the PC to power the board. The outcomes are:LD7 is red, LD2 is red and the LD4 is green. But the screen brightness is really almost dark! and really difficult to see applications lists.Please find the attachments.Kindly help!
Hi ST Community, I have a project started in keil, configured through CubeMX via keil's "Manage Run-Time Environment" with RTOS2 RTX5 implemented, just as this guide shows: https://www.keil.com/pack/doc/STM32Cube/html/cubemx_using.html. From here I'd like to use TouchGFX designer to generate some GUI-software for a NON-touch LCD display for me to implement in my project, but even though STM claims that it's doable in several of their tutorials/guide (one of them: https://support.touchgfx.com/docs/development/development-introduction#custom-hardware-1), I find it pretty complicated to achieve success.. I've tried to follow this guide as well (p. 243 http://sw-center-st-com.s3-eu-west-1.amazonaws.com/touchgfx/doc/4.13/touchgfx-documentation-4.13.0.pdf), with no luck. Do you know some way to actually accomplish a correct implementation? Best regards, Peter
Hi to all!I'm not able to run a very basic (a black screen) TouchGFX application on my hardware. I have follow the TouchGFX documentation and the STM32L496G-DISCO application example, but i wasn't lucky..In particular I never reach the breakpoint that i put in the TouchGFXHAL::flushFrameBuffer(const touchgfx::Rect& rect) method. Also, if I suspend the debug, i see that the application stack arrive at the method touchgfx::HAL::lockFrameBuffer().I have modified only the TouchGFXHAL class, in attatched there are this class files, following the documentation and the example metioned above, but maybe i miss something.Please someone can give me some help?
Hello, I am using customized widget in my project. I get buffer index using below:*framebuffer = touchgfx::HAL::getInstance()->lockFrameBuffer(); In this customized widget, I want to set few pixels alpha value as 0 so it can be transparent and back ground can be visible. Any suggestions?Thanks
HiHow to change Alpha in "Text Area" with external button?best regardsAndrzej
Just like this link https://community.st.com/s/question/0D53W00000AYdlzSAD/basic-touchgfx-application-dont-workwhen anyone start a basic touchGFX project with stm32l496 , using Freertos & no dma mode, u will get TouchGFXHAL::flushFrameBuffer never called because of endless waiting for dma unlock.if u set lockDMAToFrontPorch(false); than it works but you will lost right refresh freq because the engin will create one frame after another and never pause, even u just called touchgfx::OSWrappers::signalVSync() one time.and no one give an anwser by far. good job.
Howto configure simulator to show real image as on RGB565 or RGB666 displays is showed? Now when i use image B simulator show it ideal, but real LCD as B64.Exist way to show it in simulator or i define IDEA for this.?
Hi, I am working on the TouchGFX project in this we have to access peripheral data like data come from SPI bus, UART and perform screen transition according to the data.Is there any demo project for this activity? OrPlease tell me the way how can I proceed further.ThanksPratik
I have called TouchGFX function in the default thread and its working fine but now i want to add other module function so is that possible and does that work?Thank You
I have a problem, to present arabic texts on the screen.At the moment I use the font Janna LT Regular.Isolated letters seems not to be a problem. But if I want to write longer texts/words, then I see on the screen many "?"Is there an other font, which supports better arabic texts?BRMargret
HiHow to change the screen or widget with the hardware button?best regardsAndrzej
Hi,I have ported the Application Template for NUCLEO-G071RB+X-NUCLEO-GFX01M1 to NUCLEO-F446RE+X-NUCLEO-GFX01M1.When i use external Flash for fonts, I do not see on the display all the text "relating to the language" (like "Use Joystick to Navigate" etc.).If I use the internal flash for fonts, i see texts that i didn't see with the previous configuration!Attached an image that I hope better explains the problem I have.
Starting from a CubeIDE project and adding TouchGFX, is it possible to integrate TouchGFX without FreeRTOS?Note: I am using STM32F746-DISCO
I am trying to setup this LCD controller to drive a custom segment display, 22 segments, two backplanes.I have the code running, I can see the COM signals and can drive segments.I don't understand how the HAL LCD library works.from the HAL manual:HAL_LCD_WriteFunction Name Function Descriptionvoid HAL_LCD_MspDeInit (LCD_HandleTypeDef * hlcd)DeInitialize the LCD MSP.• hlcd: LCD handle • None:void HAL_LCD_MspInit (LCD_HandleTypeDef * hlcd)Initialize the LCD MSP.• hlcd: LCD handle • None:HAL_StatusTypeDef HAL_LCD_Write (LCD_HandleTypeDef * hlcd, uint32_t RAMRegisterIndex, uint32_t RAMRegisterMask, uint32_t Data)Write a word in the specific LCD RAM.DOCID027704 Rev 4 439/1817 440/1817• When the display is disabled, the update is performed for all LCD_DISPLAY locations. When the display is enabled, the update is performed only for locations for which commons are active (depending on DUTY). For example if DUTY = 1/2, only the LCD_DISPLAY of COM0 and COM1 will be updated
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.