Discuss STM32 and TouchGFX implementations, including configuration, debugging, and optimization.
Most recent activity
d the main MCU may use NXP RT1062.
I installed the STM32Cube related programs in the following order.And all programs are up to date.(1) STM32CubeMX(2) TrueStudio(3) STM32CubeProg(4) STMCubeL4(5) STM32CubeIDE(6) TouchGFX designerWhen I created a sample to test TouchGFX designer, but I just got "Error during code generation" after the sample was created.I don't know why and how to..Please help me about this matter. Thanks in advance.
I am trying to define a new Typography with this ttf font (already installed in Windows), but It doesn't show up. I restarted Designer and re-installed font many times. What am I doing wrong ?.....
Converting imagesZip end of central directory signature not foundan error occurred in converting texts:Zip end of central directory signature not foundsimulator/gcc/Makefile:247: recipe for target 'generated/texts/include/texts/TextKeysAndLanguages.hpp' failedmake[1]: *** [generated/texts/include/texts/TextKeysAndLanguages.hpp] Error 1simulator/gcc/Makefile:37: recipe for target 'assets' failedmake: *** [assets] Error 2
hi everyone i use stm32f407vg, camera ov7725(equal with ov7670) and spi flash ic w25q128.now program working with HAl DCMI DMA for get data RGB565 of ov7725 and stored in sram and show in tft lcd but need to large memory.add spi flash ic for stored.Problem:how get data of DCMI and stored in other memory (flash ic & sd card & etc.) without stored full data in internal sram?
Hello,We have developed a custom STM32 board using STM32F746G controller, with the hardware design based on STM32F746G-DISCO EVAL board.We are using TouchGFX for developing graphics.The debug interface we are using is JTAG, and the debugger we are using is STLINK-V3SETWe are using ST-LINK Utility for flashing the hex file.The device gets programmed but the graphics displayed are incomplete.The texts with colour variation are seen but widgets such as buttons and image are not seen. Also, wildcard text changes are visible.Our pin mapping are exactly same as per EVAL board for QSPI, SDRAM, LCD TFT, etcPlease refer below images, the image needs to be displayed but the screen shows blank.I understand graphical assets get normally stored in QSPI memory and based on the log of ST Link Utility the program is not getting written at QSPI memory locations at all due to which we are able to produce text content but not able to show graphics as programmed in TouchGFX.We expect your expert advice to
..
does TouchGFX now support show png file at runtime?
I have implemented a TextArea without wildcards to display fixed Chinese content. I have now created a TextArea with wildcards and want to dynamically display any Chinese content in the TextArea buffer. But so far all that has shown is "??? ". How to operate, thank you
hi all.I use touchGFX with FreeRTOS.My other Task is working fine. However, A few minutes after the system starts, the touchGFX task is blocked and will not run. This phenomenon occurs more quickly when the 16-bit control is performed than when the external RAM data line is 32-bit.I'm not sure what I'm going to review. What should I check?
Hello,I have a display issue when I using the wildcard buffer.I already used wildcard buffer by the past on a previous version of touch GFX.I created a new project for a custom board and the problem is that I can't modify a text with the wildcard buffer. See my function below : void Screen1View::Button1clicked() { Unicode::snprintf(textArea1Buffer, TEXTAREA1_SIZE, "Bonjour"); textArea1.resizeToCurrentText(); textArea1.invalidate(); }On the screen the letters (B,o,n,j,o,u and r) seems to be all on the top of the others, all at the same position.I made some tests and in another one, I obtained only few letters of the complete word "njo" for exemple. I think I use touch GFX function as needed because as I said I already complete an application on a previous custom board. The only one difference is that on the previous project I used IAR and for this new one I use Atollic.I also tried to complete the buffer, char by char : textArea1Buffer[0] = 'B'; textArea
Hi,My company has develloped a working prototype based on 32F469IDISCOVERY using TouchGFX.We now want to move on our custom boards but we want to keep full compatibility with our prototype. The ideal solution would be to copy le 32F469IDISCOVERY and remove what we don't use.We manage to make the schematic but we now need to find the reference of the onboard screen which seems to be the same as on the 32F769IDISCOVERY or the B-LCD40-DSI1.I know that the specs are 4-inch TFT 480*800 pixels MIPI/DSI. But I am not able to find the exact same screen reference or a compatible alternative.Thanks in advance
The topics discussed for TouchGFX are completely orthogonal to the STM32 related issues.I'd also suggest to separate CubeMX/CubeIDE to separate subforum as issues tagged so are also in the vast majority of cases completely unrelated to STM32.JW
Hi everyone, I try to make a custom container from TouchGFX Designer and I would like one of button in the container to call a function in view class. After generating code, I saw that the button call back is already generated and call the function name that I config with blank execution. However, I don't know how to implement or over ride the function in view class. I want use a Custom container with button to change textarea , I have two Custom container with button in my screen1 , If I Click button1 then the textarea will show "button1 ", If I Click button2 then the textarea will show "button2 " .button1 and button2 is custom container.I read the Knowledge Base before,but I only need a button not like the example is a model window with two button.https://touchgfx.zendesk.com/hc/en-us/articles/205575842-Creating-custom-containersMy English is not very will ,If there's anything you haven't understood, please tell me.Thanks you and have a good day. : )
Hello, I am trying to zoom/pan back and forward continuosly a logo, using ZoomAnimationImage. I need to trigger a callback at the end of the animation in order to reverse/reload animation. I managed to create my callback but it never gets called.Here are my WelcomeScreenView.hpp/cpp:#include <touchgfx/containers/ZoomAnimationImage.hpp> class WelcomeScreenView : public WelcomeScreenViewBase .... protected: virtual void ZoomMoveLogo(); /* * Interaction Handlers */ void liveLogoAnimationEndedCallbackHandler(const touchgfx::ZoomAnimationImage& i); //void liveLogoAnimationEndedCallbackHandler(const touchgfx::GenericCallback<touchgfx::ZoomAnimationImage>& i); /* * Callback Handler Declarations */ /* * Interaction Callback Declarations */ Callback < WelcomeScreenView, const touchgfx::ZoomAnimationImage&> liveLogoAnimationEndedCallback; /* * Member Declarations */ touchgfx::ZoomAnimationImage liveLogo;My WelcomeScreenV
Hi i try to configure my STM32L4R7VI with cubeMx to use touch gfx with a tft screen 800x480.I see that cube propose to use stemwin but not touch gfx so how configure a STM32L4R7VIto use touch gfx with cubemx ?
Hi, i am using STM32F407 in which i create a website using ssi and cgi handlers now i want to display image on my website but image is not displayed it shows only image icon instead of image......image path is right and image keep in the folder where the file fsdata.c is present.......could you please help me to find the solution on this.......thanks in advance
I can't no longer import TouchGFX GUI, every time i try i get :" Import failed, UI is not compatible, but it is, same display size, even same board keep saying that. also ruin my project because when he try to import the GUI, he delete some elements (mostly images).then if i try again to import same GUI, he gives me Unexpected error has happened italian part says :" process can't access to (path) because it's in use by another process... but nothing is using that, i have no other programs running.i also attached the log file, hope someone can help me figure this outThanksStefano
HelloI want to know the MCU Load, so I found this function McuLoad = touchgfx::HAL::getInstance()->getMCULoadPct();I call it in void Model::tick()But I always get 0, whatever I do it alwsys returns zero, so I don't think it's working well,so, how could I resolve the problem? maybe I should call it from another place?Thank you Anton
I have a bunch of toggle buttons wich are on the leftmost area of the screen, but i need them to be selectable through the whole screen width. Is there any alternative of setWidth() function? because that sets width only from starting position to the right, but i need to the left (and if i put togglebutton to the left, the image will be draw in incorrect place)
I am trying to implement the Graph widget ( http://sw-center.st.com/touchgfx/TouchGFX/Community/GraphApplication.zip) in touchGFX but i am getting the following error,The imported project ".\touchgfx\4.8.0\touchgfx\config\msvs\touchgfx_sdl2.props" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk. I am using VS 2017 and touchGFX 4.10
Hello,I've created a scroll list that contains clickable items (the idea is to be able to edit them by keeping a given item selected for a certain period of time). The items received click events through a clickListener. However, it's now almost impossible to scroll the list as the click events are processed in place of the scroll function. How can I differenciate a slide action from a press action on the screen?Thanks in advance for your help.
Is it possible to use .gif format files in TouchGFX?
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.