spi_read_write

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

spi_read_write

770 次查看
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 回复

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