spi_read_write

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

spi_read_write

735 Views
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 Kudos
1 Reply

591 Views
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 Kudos