Discuss STM32 and TouchGFX implementations, including configuration, debugging, and optimization.
Most recent activity
Posted on June 13, 2018 at 14:33Hi,I found two bugs when trying to read more than two bytes using HAL_DSI_Read(). Bug 1: HAL_DSI_Read() will always return HAL_ERROR when reading more than two bytes.The root cause is simple:HAL_DSI_Read will first take the HAL lock. Then it will check if datasize > 2 and then try to write the DSI_MAX_RETURN_PKT_SIZE using HAL_DSI_ShortWrite(). This function will try to take the same lock, but it will obviously fail and always return HAL_BUSY and HAL_DSI_Read() will then return HAL_ERROR.Bug 2: assert_param in HAL_DSI_ShortWrite will fail when writing DSI_MAX_RETURN_PKT_SIZE.If bug 1 is fixed, HAL_DSI_ShortWrite() is called with third parameter (Mode) DSI_MAX_RETURN_PKT_SIZE. The assert_param() check in HAL_DSI_ShortWrite() (assert_param(IS_DSI_SHORT_WRITE_PACKET_TYPE(Mode));) will fail because IS_DSI_SHORT_WRITE_PACKET_TYPE() does not contain DSI_MAX_RETURN_PKT_SIZE:&sharpdefine IS_DSI_SHORT_WRITE_PACKET_TYPE(MODE) &n
..
Posted on July 02, 2015 at 12:21Reading the reference manual RM0385 (DocID026670 Rev 1) in the introduction to the DCMI on p. 478 I encountered this: ''[...] This interface is also able to transmit a parallel data flow, allowing it to emulate a camera module interfacing with another camera interface. It may also be used as a generic synchronous parallel inteface ensuring a high data rate transfer, in receive or in transmit mode.[...]'' However, I find no mention of the transmit mode in the remainder of the chapter. Can someone please clarify? #stm32f7 #dcmi
Hello. Here is the latest version of the tutorial with details of the procedure that is working for us after much trial & error:< permanent link on our server >https://axxonshare.s3.amazonaws.com/my_combo_tutorial.zipStep by step procedure on how to integrate the STM32CubeMX tool with TouchGFX using the IAR and SW4STM32 compilers for the STM32F429i_DISC1 target hardware. With a working (resistive) touch panel.Welcome all feedback.
when call function GUI_Init(); my mcu stm32f103vct6 frezz and stopwhy ??
hi I make a very basic project in touchGfx works fine in stm32f746 disco board when load from TouchGfX directly . After that i run stm32Cube project located on my touchgfx folder and generate code foe keil . When i start to build the code i got some errors . I am new in such grafix frameworks . can any one tell me hoe to solve the errors . I there any details tutorial how do i buila a Project using touchGfx and keil .Thanks in advance .
We are using STM32F7 with TouchGFX and considering in migrating it to STM32H7 series. May we know how much effort is needed to migrate those TouchGFX things from STM32F7 to STM32H7? Is it easy?Thanks.
I want to create GUI application using TouchGFX for STM32L4R5 Nucleo-144 boardAnd we attached LCD board for STM32L4R5 Nucleo-144 board.In TouchGFX designer tool,For Creating new application project there is no any application template for STM32L4R5 Nucleo-144 board.So how to create GUI application for STM32L4R5 Nucleo-144 board using TOuchGFX?
Hi, i'm working on my first project that i use touchGFX, i used ST tutorial to generate code for Eval Board STM32F429I-EVAL. i have an execution error : ../TouchGFX/simulator/main.cpp:30:22: fatal error: shellapi.h: No such file or directory This error is in SIMULATOR main.cpp, do you have any idea about this please ? what is role of Simulator ?
Hi. I’m trying the DMA2D example on the STM32L496G-DISCO board.Can anyone tell me where to find the software tool to convert a picture to the RGB565 Array that is used in this example?Hope you can help thanks in advance.
I also checked the package file for STM32F7. Where am I to get this library from and why is it not in any of the repositories?
When I tried USB Host standalone examples software goes to SPDIF_RX_IRQHandler. I think the problem is about queue from ISR.
It is my first time to use TGFX, so I have a lot of questions about TGFX.I want to use my own board, instead of evaluate board.My own board means that it's my own layout.So, could any one tell me is that need RTOS in my MCU?And what should I notice about my LCD choice�?layout and circuit design?By the way, I use STM32F446.And last question, aren't my MCU and LCD module independent?It's means LCD module likes C#, and uses some kind of communicate(Ex. SPI,I2C), so the GUI code only need to burn into LCD module.
Hello,regarding the documentation in Designer or on the website the two virtual functions scrollWheelUpdateItem and scrollWheelUpdateCenter (Designer doc) or scrollWheelUpdateCenterItem (Website doc) should be generated.In my project only the first function scrollWheelUpdateItem is generated and the other one is missing. I use the ScrollWheel in a custom container.How can I add this missing function and could this issue be fixed in the designer in future?Thanks a lot,Daniel Schramm
Hello,i tried to generate for STM32f429i disco a project with graphic = touchgfx.for disco the platform setings for touchGFX arechip selet = PC2WRX = PD13RDX = PD12But what should i program for SPI parameter ?SPI = ???thanksbest regards
Please ! How can i activate to generate components from STM32CubeMX, Like STM324c_9I_Eval components ?
Hi, I would like to know why I generate my code from TouchGFX is not include TrueStudio file but when I generate my code I must be open in IAR. How should I do when I would like to create file in TouchGFX generate my code for TrueStudio.Thank you.
I made with StmCubeMx the configuration for my board, and I generated the file for touch gfx.Then I implemented my gui on Touch Gfx and I needed to interface the signal that were coming from the board to the gui. I followed a lot of guides and tutorials but I wasn't been able to achieve anything.What shuold I do if I have to call a function that I have implemented in Touch Gfx in the Main that I built on CubeMx?Thanks.
@I use STM32F769I-DISCO Board. with IAR EWARM 8.3, TouchGFX 4.10.0The output for the image I attached is not working properly.I also have the STM32F746G-DISCO board and have the same symptoms.I just compiled and tested the example project of TouchGFX in IAR8.3 without any modification.IAR 8.3 compiler confirmed that STM32F746G-DISCO works fine in TouchGFX 4.9.3 and all examples in TouchGFX 4.10.0 do not work properly.What should I do?
I have a STM32F0-DISCOVERY board that I've connected a sampling capacitor and a single touch button to. I've generated code in CubeMX for this configuration and have all the coed in my TrueStudio project. I want to use STM Studio to tune my touch button settings. What are the functions I need to add to my code (assuming the only thing my code does is run this touch button) to initialize and run the button?CubeMX adds:HAL_Init()SystemClock_Config()MX_GPIO_Init()MX_TSC_Init()MX_TOUCHSENSING_Init()I have added TSL_tkey_Init() before the while(1) loop. Inside the while loop I have tsl_user_Exec() and TSL_tkey_Process().When I run the program, Ref and RefRest stay at 0, StateId stays at 0 (calibration), but the Delta is about -600 and reacts to touches. What steps am I missing?
Hello,were using B-LCD40-DSI1 daughterboard on STM32F769I-EVAL evaluation board and moving from TFBGA216 package to FQFP176 package (with DSI).Im unable to find where to connect DSI_TE and DSI_RESET pins.Thank you
I'm trying to use cubemx to setup a project to use STEMWIN on my nucleo 144 board; however, I'm having a problem with FMC setup, specifically, I get a yellow triangle on SDRAM1 and SDRAM2. I'm not exactly sure how to configure these for use with the HX8357C LCD display. I was looking in the datasheet for the display and it mentions is has 2 banks of ram, so that's what I specified in both SDRAMx sections, but I can't seem to get rid of the yellow warning triangles as it says I have a conflict, but what it is I don't know. Perhaps there's an example that I could build upon?Thanks.
Generating a cubemx project with touchgfx for STM32f429i disco board doesn't generate code ready to compilation for the simulator solution under TouchGFX\simulator\msvsmany error in compilation.(problem to find touchgfx\framework\tools\imageconvert\build\msvs\ImageConvert.exeand other .cpp files and includes path are wrong).Can we expect a solution for that ?Thanks Best regards
Hello,I'm facing a problem with the DCMI module in the STM32L4R9. It is getting stuck at the WWDG_IRQHandler soon after I call the funciton HAL_DCMI_Start_DMA(...) in my main.I'm using the STM32L4R9I-DISCO board with the DM-CAM130 camera module.As there is no example for DCMI and the STM32L4R9I-DISCO, I ported the code for the STM32L496G-DISCOVERY, making sure I was pointing to the correct BSP and disabling all references to the LCD which is not present in my board. (For now I just want to know that I can receive a frame from the camera). I also used the linker script from the DSI example for the STM32L4R9I-DISCO.- I haven't setup anything related to watchdog.- I checked all the basic IO configurations and peripherals related to the camera.- I know that the camera works (correct clock comes out of the MCU and I have frames coming back (Checked with logic analizer)).- I configured the camera to the miminum resolution (setting confirmed by LA) and I'm sure I have enough memory allocated
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.