Hello, I now have a problem. When I use SPI communication in SDK under the freertos system, I find that when using blocking communication methods, such as spi_transfer_blocking, the program will die when it runs here, but the data accepted when using non-blocking mode is wrong. I don't know if there is a better way to do this application. What's going on? Or do you have any examples of spi communications under freertos, based on sdk 3.0? thank you.
Hello 15736231627@163.com,
Hard to say, the SDK / FreeRTOS issues have been discussed a few times on the community already.
For example, you may refer to S32K142: lpi2c is not working with freeRTOS integration.
We don't have such an example, unfortunately.
Can you share a test project so that we can reproduce the issue?
Do you monitor the SPI bus with a logic analyzer?
What does it mean that the program dies?
What is the return status of non-blocking function?
Thanks,
BR, Daniel