Why is the lpspi_loopback example failing?

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Why is the lpspi_loopback example failing?

ソリューションへジャンプ
1,916件の閲覧回数
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,803件の閲覧回数
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,803件の閲覧回数
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,803件の閲覧回数
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,804件の閲覧回数
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.
-------------------------------------------------------------------------------