Possible Error in LPSPI Example

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

Possible Error in LPSPI Example

1,090 次查看
Lowenstein
Contributor I

I have a MIMXRT1060-EVKB board and am trying to follow the LPSPI loopback example.

The board is based on schematic SCH-47858 Rev B

In the readme it states:

"Board settings
==============
Remove the resistor R305 and weld 0Ω resistor to R346,R362.

LPSPI:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
MASTER connect to MASTER
Pin Name Board Location Pin Name Board Location
SOUT J17-4 SIN J17-5
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

"

I am concerned these instructions do not apply to my board as they do not make sense.

R305 is connected to the USB Fault pin, which does not seem relevant to the demo. Also R346 and R362 do not match up with MOSI and MISO on my schematic.  Are there any errata to the readme? The readme would be more useful it if it explained what the resistor changes purpose is,

标记 (1)
0 项奖励
回复
3 回复数

1,072 次查看
kerryzhou
NXP TechSupport
NXP TechSupport

Hi @Lowenstein ,

   Which SDK version you are using for the MIMXRT1060-EVKB?

  As I didn't find your mentioned loopback example, please check the following picture from the newest SDK:

kerryzhou_0-1682575197273.png

I checked the demo, also no related board settings like you.

So, I think, your refered code is not for the MIMXRT1060-EVKB. 

Please download the newest SDK code and try it again:

https://mcuxpresso.nxp.com/en/builder?hw=MIMXRT1060-EVKB

 

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

Best Regards,

Kerry

 

0 项奖励
回复

1,067 次查看
Lowenstein
Contributor I

I loaded SDK 2.13.1 for the MIMXRT1060-EVKB

The example is in the above SDK. The readme is also in the SDK.

The example is under Demo Apps, not the driver examples.

Sam

 

 

0 项奖励
回复

1,055 次查看
kerryzhou
NXP TechSupport
NXP TechSupport

Hi @Lowenstein ,

   

kerryzhou_0-1682660272161.png

kerryzhou_1-1682660400899.png

 

R305 is not necessary, but the R346,R362 is must.

Otherwise, you connect J17-4 and J17-5 is not working.

You need to refer to the correct schematic.

https://www.nxp.com/webapp/Download?colCode=MIMXRT1060-EVKB-DESIGNFILES

 

Wish it helps you!

Best Regards,

Kerry

 

 

0 项奖励
回复