spi_read_write

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

spi_read_write

914件の閲覧回数
intern_praveena
Contributor II

Hi,     

i want to write data using SPI and i have to read the same.I m using S32K144_64 LQP .I attached my code below,please check that code whether it is correct or have to change ??

0 件の賞賛
返信
1 返信

770件の閲覧回数
danielmartynek
NXP TechSupport
NXP TechSupport

Hi,

Please refer to the SDK documentation 

pastedImage_1.png

and use these functions instead:

pastedImage_2.png

If the non-blocking functions are used, you need to check whether the transfer is finished or still in progress before launching another transfer. 

This function can be used:

pastedImage_4.png

Also, I have noticed that you are using the oldest SDK 0.8.6 version. 

I would recommend using the new RTM 3.0.0, if possible.

BR, Daniel

0 件の賞賛
返信