Why is the lpspi_loopback example failing?

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

Why is the lpspi_loopback example failing?

跳至解决方案
1,825 次查看
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?

标记 (2)
0 项奖励
回复
1 解答
1,712 次查看
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.
-------------------------------------------------------------------------------

在原帖中查看解决方案

3 回复数
1,712 次查看
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 项奖励
回复
1,712 次查看
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 项奖励
回复
1,713 次查看
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.
-------------------------------------------------------------------------------