I’m switching from using Keil-RTX to FREERTOS on a project with a lot of peripherals.
The problem is the HAL_SPI_TxCpltCallback not called if I creating mutex osRecursiveMutexCreate(osMutex(osMutex)); or osMutexCreate(osMutex(osMutex));
Before the mutex creation the callback called and it is OK.
It looks like the creating of the mutex disabling the interrupts.
and all of that is befor calling the ‘osKernelStart()’
This is the code I used to check:
extern SPI_HandleTypeDef hspi1;
*in HAL_Init the command is exsist HAL_NVIC_SetPriorityGrouping(NVIC_PRIORITYGROUP_4);
Can you assist?