STM32 MCUs TouchGFX and GUI

Discuss STM32 and TouchGFX implementations, including configuration, debugging, and optimization.

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

TouchGFX documentation feedback

We wish to always improve our documentation. The best reviews and critics always come from the people that read it, so we would like to use this post to collect your thoughts and feedbacks. Please share what you like, dislike, what you think is missi...

Share your Custom Widgets!

When creating a UI project, you may need widgets that are not part of the TouchGFX library. To create your own graphical element, the TouchGFX team suggests using the Custom Container approach. Since TouchGFX 4.20 it is possible to export and import ...

Resolved! Stop getting two gesture events from one gesture

On a screen, I use the function handleGestureEvent. Inside this function, I have an if-else to differentiate between horizontal and vertical swipes:void handleGestureEvent(const GestureEvent& event) { if (event.getType() == GestureEvent::SWIPE_HO...

Pirol by Associate III
  • 1277 Views
  • 6 replies
  • 0 kudos

Adding canvas "containers" at run-time

For a job commissioned by a client, do I need to add a widget on a page to Run-time.If I don't find a solution, I'm forced to abandon TouchGFX (which I find very versatile), and migrate to another platformIs there an example?Is there any documentatio...

DDi S.1 by Associate III
  • 906 Views
  • 3 replies
  • 0 kudos

Hello, I have initialized 2 layers on my stm32f429. I want to make the second layer which is an image with resolution 274*184 to be written line by line: here is my code ...Can you help me to do it? when I compile the code, it loads immediately.Thanks

LTDC_InitTypeDef LTDC_InitStruct; LTDC_Layer_InitTypeDef LTDC_Layer_InitStruct; Delay_us(2000000); LTDC_LayerCmd(LTDC_Layer2, ENABLE); LTDC_ReloadConfig(LTDC_IMReload); for(int i=0;i<=184;i++){ Delay_us(1000000); LTDC_Layer_InitStruct.LTDC_CFBLineN...

nsabo.1 by Associate II
  • 514 Views
  • 1 replies
  • 0 kudos

Why does a FMC Memory swap for LCD on a F746 cause SPI pins to toggle when writing to 8 bit parallel LCD?

I was double checking SPI speeds and functionality and noticed SPI pins switching state when they shouldn't be. I narrowed it down and discovered this only happens when the memory swap for the FMC LCD is enabled. There are some other posts from me ...

0693W00000SvjRrQAJ.png
SWood.4 by Associate III
  • 1307 Views
  • 8 replies
  • 0 kudos

interaction in button in touchgfx not work

I have setting a button with it's interactionWhen I touch the button is detected (the picture of it changes) but the interaction of the button (calling function) not worksI tested in keil and stm32cubeide but the problem doesn't solvedcan everybody h...

jhasa.2 by Associate III
  • 809 Views
  • 3 replies
  • 0 kudos

TouchGFX - reducing flash consumption

Hi,I am trying to implement simple GUI with TouchGFX 4.20 on STM32F303 MCU. I have limited amount of memory for GUI. Even few kBytes important. When I look memory consumption of TouchGFX I see weird functions that I don't call or not to use some widg...

0693W00000SvmQmQAJ.png
SSone.1 by Associate III
  • 860 Views
  • 1 replies
  • 1 kudos

When I enabled DWT (STM32F407), for getting microsecond delays, everything works fine but suddenly all activity comes to a stop for about 2 minutes and then everything starts working as usual. Interrupts seem to be occurring but everything else freezes.

This happens at randomly. Spent more than a month trying to figure out the issue and never suspected DWT. When I commented out DWT everything works fine now. Can someone educate me on why this is happening and how to avoid it? Thank you for your time...