2026-03-09 3:46 AM - last edited on 2026-03-12 4:44 AM by Andrew Neil
Hello community,
I have this problem. I have a project with the STM32U575RGTx microcontroller.
It includes also FreeRTOS (Version 1.3.1) and a TouchGFX project (Version 4.26.0).
With this system configuration: Timebase Source TIM17
The TouchGFX project has screens that require more or less CPU, the problem that I have is that when one or other screen is selected the execution frequency of the FreeRTOS tasks and the HAL_TIM_PeriodElapsedCallback change their execution frequency, so I can not have a valid time reference to do other things in my firmware application.
Has anyone faced the same problem?
Much thanks in advance!
2026-03-16 9:01 AM
Hello @Refused_HC
Could you send me your ioc file? (You can send me via private message if you prefer)
2026-03-17 12:01 AM
Here it is @Osman SOYKURT and thanks in advance!
2026-03-26 7:55 AM
Hello @Refused_HC ,
I think your configuration is wrong, first of all I see 15 as priority for your TIM17 which is the lowest priority, I think his needs to be higher like 4 (the lowest you set it, the highest is the priority).
I also invite you to look again at your TouchGFX thread config in your FreeRTOS config. We have a guide explaining how to set FreeRTOS properly, I strongly recommend you to check it if you've not already. If it still doesn't work after that, we'll check it together again :)
2026-04-07 4:58 AM
Hello @Refused_HC ,
Did you manage to resolve your issue?