2020-03-26 10:09 PM
I configured my NUCLEO-H745ZI-Q board with STMcube 1.3.0 very simular to the youtube video of digikey ( https://www.youtube.com/watch?v=OPrcpbKNSjU ). But I changed the TIM6 to TIM17, because on my board the TIM6 seems to be reserved for using with the DAC.
If I try to create one or two tasks in freeRTOS within the STMCube IDE, everythin is fine. But if I change the priority of the second task (default state is normal priority both) from 'normal priority' to 'below normal priority', the system is not running anymore. It ends up in the infinite loop. For me, it makes no sense. Why does this happen?
Here is my programm code of the tasks (any other stuff wasn't touched by me):
void StartMyBlinkyTask01(void *argument)
{
/* Infinite loop */
for(;;)
{
HAL_GPIO_TogglePin(GPIOE, GPIO_PIN_1);
osDelay(500);
}
}
void StartMyBlinkyTask02(void *argument)
{
/* Infinite loop */
for(;;)
{
osDelay(1);
}
}