Communication problems of s32k148 spi based on freertos in SDK

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Communication problems of s32k148 spi based on freertos in SDK

862 次查看
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.

标记 (1)
0 项奖励
回复
1 回复

755 次查看
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 项奖励
回复