Why is the lpspi_loopback example failing?

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

Why is the lpspi_loopback example failing?

Jump to solution
1,823 Views
alex_duh
Contributor I

I'm running the lpspi_loopback example program on an RT1060, and have wired together pins J24-4 and J24-5 (MISO & MOSI), but the masterRxData[] array is filled with zeroes and the test fails. Have I overlooked any configurations or settings?

Tags (2)
0 Kudos
Reply
1 Solution
1,710 Views
kerryzhou
NXP TechSupport
NXP TechSupport

Hi Alex Duh,

  Thanks for your information.

  Do you following this board settings?

Board settings
==============
Remove the resistor R334 and weld 0Ω resistor to R278,R280.

This is very important.

Wish it helps you!

If you still have questions about it, please kindly let me know.

Best Regards,

Kerry

 

-------------------------------------------------------------------------------
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.
-------------------------------------------------------------------------------

View solution in original post

3 Replies
1,710 Views
kerryzhou
NXP TechSupport
NXP TechSupport

Hi  Alex Duh ,

   Which RT1060 code you are running now, the SDK?

  I didn't find lpspi_loopback example in the newest SDK.

pastedImage_1.png

So, I suggest you download the newest SDK, and test the SDK lpspi code, it works OK.

The SDK can be downloaded from this link:

Welcome | MCUXpresso SDK Builder 

Wish it helps you!

If you still have questions about it, please kindly let me know.

Best Regards,

Kerry

 

-------------------------------------------------------------------------------
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
1,710 Views
alex_duh
Contributor I

Hi Kerry,

I think I am using the newest SDK. The project is is in demo_apps, the full path is /evkmimxrt1060_lpspi_loopback.

0 Kudos
Reply
1,711 Views
kerryzhou
NXP TechSupport
NXP TechSupport

Hi Alex Duh,

  Thanks for your information.

  Do you following this board settings?

Board settings
==============
Remove the resistor R334 and weld 0Ω resistor to R278,R280.

This is very important.

Wish it helps you!

If you still have questions about it, please kindly let me know.

Best Regards,

Kerry

 

-------------------------------------------------------------------------------
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.
-------------------------------------------------------------------------------