Problem with S32k142 lpspi communication

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

Problem with S32k142 lpspi communication

1,200 Views
HAHA
Contributor I

The problem i have now is i can't get the correct data with LPSPI_DRV_MasterTransferBlocking(MasterMode).But i can see the Correct Received data on logic analyzer. It means API can't receive the correct data?  I have checked some setting parameter like MSB First, Second edge, Clock Active High etc. But it still didn't solve the problem.Is there somebody canm tell me another possible reason for this problem

0 Kudos
Reply
1 Reply

1,195 Views
Robin_Shen
NXP TechSupport
NXP TechSupport

Please refer the SDK example lpspi_transfer_s32k142 

lpspi_transfer_s32k142.jpgStart_Here.jpg

The example documentation can be found in the S32 SDK documentation at Examples and Demos section. (<SDK_PATH>/doc/Start_Here.html)

You can follow and test it on S32K142EVB.

LPSPI Transfer.jpg

Best Regards,
Robin
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 Kudos
Reply