Communication problems of s32k148 spi based on freertos in SDK

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Communication problems of s32k148 spi based on freertos in SDK

652 Views
15736231627
Contributor II

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.

Tags (1)
0 Kudos
1 Reply

545 Views
danielmartynek
NXP TechSupport
NXP TechSupport

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.  

FreeRTOS module issue 

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

0 Kudos