‎2022-03-01 05:44 AM
Hello,
I have tried this (How to create a Thread using AzureRTOS and STM32CubeIDE?) example with a Nucleo-F446RE board. Of course I have chosen the AZRTOS-F4 instead of the AZRTOS-H7 in the example. So line
HAL_GPIO_TogglePin(LD2_GPIO_Port, LD2_Pin);
is called once, and afterwards the the tx_therad_sleep(20) is called, but the Toggle function is never called again. If I pause the debugger, it is still in the part "__tx_ts_wait:" inside the tx_thread_schedule.S. Any idea, what I could to so that the example is working?
Thanks and best regards!
‎2022-03-01 06:30 AM
Hello, tried the same on a H7 board (on the M7 core) and it worked without any problems. But I would like to have it running on the F4. Any ideas?
‎2022-03-12 02:22 PM
I have the same problem on the F4 board. :crying_face:
‎2022-03-12 11:10 PM
Hi,
I think I found the answer: in my project the Priority Group in "System Core"->"NVIC" was set to "0 bits", so I changed his to "4 bits". and afterwards set the "Preemption Priotity" for the "Time base: TIM6 global interrupt..." from "0" to "15".
Hope this helps you
‎2022-03-12 11:23 PM
Thank you so much, now it's working properly!😎
‎2022-03-12 11:57 PM
Great to hear this! I had another H7 board here so I made a project for this board and it was running. Afterwards I compared each setting of both projects and found the difference. Hopefully that’s all