Discuss STM32 and TouchGFX implementations, including configuration, debugging, and optimization.
Most recent activity
Hi,Reference the Official Code from CubeMX in STM32Cube_FW_H7_V1.6.0 -> JPEG_MJPEG_VideoDecoding.And I have built the code for my own board test, but I got some error on it.When I debug the code, it always get in HardFault at StreamSize like the image below.But if I change the size format from uint32_t to uint16_t, it will pass through ,even I know it is not correct.Is there anyone can help to solve this?Or how can I ask ST employee for help?Thanks a lot!
I have a thermistor attached to the nucleo-l432kc board and a C program that obtains the temperature and prints it on a terminal display, an LCD display, and lights up a corresponding colour of an RGB LED. I initially had my LCD set up to 3.3V (because that is what our thermistor is supposed to be powered by), and didn't have any issues with the output of temperature values in terms of printing, LCD display, or the LED that turns on. But now that I have changed the LCD input voltage to 5V to increase the contrast (using a potentiometer from the 5V), there are issues with the output of temperature that I am unsure of how to fix. I've attached a photo of the LCD and nucleo-l432kc schematic setup. Also worth noting, I've tried to change it back to the 3.3V I initially used and it just displays the wrong temp for the entire duration, not just the first loop, still being about 2-3 degrees lower.NOTE* I've deleted the commented sections that stm32cube ide creates automatically just to make i
@Martin KJELDSEN I previously succeeded in Touch Screen Calibration with the help of martin KJELDSEN.I think there is a problem while configuring the Touch Screen Calibration routine for product launch. My symptoms are as follows.1. If TouchCalibration :: setCalibrationMatrix is executed before the first TouchGFX Task is operated, the correct value is entered.2. If TouchCalibration :: setCalibrationMatrix is executed for Touch Screen Calibration during TouchGFX Task operation, a problem occurs in the coordinate values. For example, if you touch 400,240 points, an offset of about 60 pixels occurs in the y-axis or x-axis.Question 1. When performing TouchCalibration :: setCalibrationMatrix, shouldn't the TouchGFX Task work ???Question 2. What is the essential procedure when performing TouchCalibration :: setCalibrationMatrix ???
Hi experts,We have a requirement of capturing the image from image sensor using DCMI interface and encoding it to JPEG.DCMI interface we will be using is 8 bits. for encoding it to jpeg we can use libJPEG library. But I have 1 doubt like, when I will receive the image using DCIM interface, Do I need to store it in flash memory or I can pass the RAM buffer where image data is stored to the libJPEG library ?And after encoding is complete, does libJPEG stores it in flash or ram ?
Hi everyone,I am developing an application based on TouchGFX 4.10.0. This application has a status bar containning some info I want to show on all the screens. I have read that there is the posbility of creating a base view containing just this status bar and have all the rest of screens dependant of it. This way I wil not lose the status info when navigating.I am new on C++ and I do not know how to implement this solution. Could anyone provide me an example of something similar???Thank you in advance.
I'm interested in using the Nucleo StmH7 with the L6474 X-NUCLEO-IHM01A1 board. However I'd like to run STSW-SPIN002 to communicate with it, but that expects to talk to the NUCLEO-F401RE... so I need the protocol that's implemented in order to port to the NUCLEO-H743ZI.Is it possible to get the source code for Guifw-STM32F4xx-Nucleo.bin?
My application does NOT include a touchsreen. User input is via external hw buttons.I have a ScollableContainer I wish to scroll via buttons.So far I have been scrolling the containers contents with the method ScrollableContainer::moveChildrenRelative(int16_t deltaX, int16_t deltaY) , but this does not allow for animations/ easing.Can the containers children be moved with:startMoveAnimation(int16_t endX, int16_t endY, uint16_t duration, EasingEquation xProgressionEquation = &EasingEquations::linearEaseNone, EasingEquation yProgressionEquation = &EasingEquations::linearEaseNone)If so then how?Thanx for any assistance
Hi, I ran the demo QRCode of on PC simulator (24bit color depth), but it doesn't work, is there anybody can help me? Any hints will be appreciated !!!https://github.com/touchgfx/touchgfx-open-repository/tree/master/widgets/QRCode
After compilation, it generates errors:
Hello,i installed TouchGFX Designer V4.13.0 and the other ST Tool under C:\Software\ST\...If i start GFX Designer and select the STM32H7B3I-DK Board an a template UI i can tun it under the simulator but i can't program it to the Board.The STM32CubeProgrammer was not found.If i edit the makefile with the right part to the programmer the template will be prgrammed to the board but the screen is black.My 2 Questions:What must i do that GFX Designer recognize the right installation path of the other tools?What must i do to see the UI Templates on my Eval Board?Thanks!
HelloI use TouchGFX 4.13.0 and STM32F769I-DISCODesigner's How do I change W and H in Config-Display-Dimensions?Thank you.
I have built a custom container (TextInput) where the user can enter a string of fixed length. It is relatively similar in structure to the existing Keyboard ContainerWhen the maximum string length is reached, a second custom container(TextValidation) becomes visible and shows the entire string, divided into several text boxes. If the user now clicks on a textbox, the TextValidation container should become invisible again and the substring should be available for modification in the TextInput window.Currently I have a public method setText in the TextInput class, which calls setWildecard.In the TextValidation container, after a button click, the getParent method is called, the drawable object is casted to a TextInput and from this the setText method is called.I am relatively new to c++ and probably there are much better ways to solve this problem.What is the recommend way to resolve this problem?
On the website, I click "API reference" on the TouchGFX website and I get the version for 4.10.0, which is nearly a year an a half old. Where's the new reference documentation? Searching the ST website was also useless.
We do not have the maker/model information about the touchscreen, we would like to order an ohter one bigger from the same company. Thanks !
I can already play full screen video using hardware jpeg decoder without touchgfx. Now touchgfx only works as a management UI, how can i suspend touchgfx when playing video in fullscreen mode, to prevent it from access frame buffer and DMA2D, LTDC etc.Another question, if playing video in window mode with hardware jpeg decoder, can my software and touchgfx live peacefully together? Any suggestions are appreciated.
Is there function to get absolute position of Drawable? getX() returns relative position within container.So if I have 3 nested containers, I must do:container1->getX() + container2->getX() + container3->getX() + drawable1->getX()Is this the intended way, or am I missing something?
Hell Guys.....I am working on STM32L4R9AI-EVAL board I have generated the project from Touchgfx Designer and it generating the STM32CUBEMX code also......if i open the designer and if i will burn on to the kit it is working fine....But once i will open STM32CUBEMX of the project and i will generate the code and again i will burn on to the kit this time i can able to download on to the board successfully but the dispaly seems to be off..I can't able to get anything...like previously...why?Thank you
..
i use cubeMX 5.4 integer emwin graphical middle-ware to test the button widget with touchscreen for the stm32f746g-disco hardware platform, the graph display fine, but the widget does not response the touchscreen. I using the cubeMX 5.4 with FW 1.15 without freeRTOS, compile in keil mdk5.28a.does anyone have ideal to resolve this problem? the attached file is the complete project.
Posted on November 29, 2017 at 09:01Hello,I'm working on a custom board : stm32l073 + LCD screen ( matrix 4 x 25 ).I can't understand how to use HAL_LCD_Write function.As far as I understand I just need 3 parameters in order to write LCD : COM: 0-3 SEG : 0 - 24 DATA : 0 - 1 ( yes/no )Or can someone explain the function note :* @note For LCD glass COM*SEG as 8*40 for example, the LCD common terminals COM[0,7]* are mapped on 32bits LCD_RAM_REGISTER[0,14] according to rules: COM(n) spread* on LCD_RAM_REGISTER(2*n) and LCD_RAM_REGISTER(2*n+1).The segment terminals * SEG[0,39] of COM(n) correspond to LSB bits of related LCD_RAM_REGISTER(2*n)[0,31]* and LCD_RAM_REGISTER(2*n+1)[0,7]Please adviseMoran.#lcd #stm32l073 #hal
Hi everyone,I'm using STM32cubeMX + TouchGFX on the STMF746-DISCO.And with a basic project generate by the STM32cubeMX, I have this error :"Error: expected '=', ',', ';', 'asm' ....Without FreeRTOS in a project, the error disappear !I suppose there's something missing.Thanks a lot.
I installed the latest STM32CubeIDE 1.3.0 and TouchGFX 4.13.0 (X-CUBE-TOUCHGFX).The TouchGFX Generator shows an error symbol.Dependencies is displayed in red. Why?
Hello, demo project is prepared for SW4ST32. After importing I can build all files without any problem.Then trying download (by Debug option from menu) I have achived some problems - but it seems that is flasded. On DISCO there is nothing until reset button is pressed. I can see very distorion pitures from those demo example , there is some interaction with touch . I think BSP works fine, but there is some problem during downloads. Does SW4ST32 using STLINK rcognizes that part of code is for internal flash and other for QSPI? O rather should user declare segments for two hex files and use external programming tool?Piotr
I have several (>30) user configurable settings in my application. They are broken into a few groups. Boolean, Multiple Choice (2 to maybe 10 or 12 possible items), Numeric (Could be integer or float, depends on setting) and text entry.These user settings will expand with the life of the product, so something that is easily expanded is a plus.I first thought that the Custom Container was a good choice, but from what I can tell, all instances of a Custom Container are basically the same. I come from a Visual Studio background so I was looking at the Custom Container like a User Control, but I think it’s a bit different.Using Touch GFX, what would be the best way to handle have many settings? I’m looking both at the GUI and code implementation side of things. I’d like to present all these settings on a screen and have them broken into related areas using a swipe container with a Scrollable Container in each page. This should allow me good flexibility in grouping the settings and allow
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.