HAL_SPI_Receive returns TIMEOUT in ThreadX and touchgfx
Hello.
I have created a project with STM32H7, and in the project, I have included TouchGFX and ThreadX.
I have an external memory controlled by SPI5. Everything works correctly. However, on some occasions, the function:
status = HAL_SPI_Receive(hspiDFW25, bufferRX, bytes_to_read, 1000);
returns TIMEOUT.
If I give higher priority to the task where the HAL_SPI_Receive function is called than to the TouchGFX task, the error occurs less frequently. However, it still persists.
Any ideas?

