STM32F7 SPI interrupts stop firing with FreeRTOS

Hi, I’m using stm33F7 reading sensor via SPI communication, it’s working in slave only receive mode, I can read data in interrupt mode perfectly without os, but as I enable FreeRTOS (using STM32CUBE) after a random time interrupt stops firing. I’m also reading data from another sensor via UART communication with and without os, and in both modes it works fine, Is there any problem with using SPI Interrupt and FreeRTOS?

It”s rather a problem with your/Cube driver implementation. FreeRTOS itself is not aware of any SPI or UART etc.