Communication problems of s32k148 spi based on freertos in SDK

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Communication problems of s32k148 spi based on freertos in SDK

736件の閲覧回数
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 返信

629件の閲覧回数
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 件の賞賛
返信