i.MX RT1060 SPI example

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

i.MX RT1060 SPI example

跳至解决方案
2,572 次查看
nick_j
Contributor III

I am having issues with using the SPI examples from the SDK (lpspi_polling_b2b_transfer_master) using a 1060 EVK. The example didn't work as expected and upon probing the various lines from the master board there were no signals active.

Is there something that I'm not doing correctly or something extra I need to do other than load up the examples?

Thanks,

Nick

标签 (1)
0 项奖励
回复
1 解答
2,532 次查看
victorjimenez
NXP TechSupport
NXP TechSupport

Hi Nick, 

Please keep in mind that in order to run these two examples you need to make some hardware changes to your board. You need to weld resistors  R278, R279, R280 and R281. We mention this in the readme file of the examples. 

Have a great day,

Victor

-------------------------------------------------------------------------------

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 项奖励
回复
4 回复数
2,055 次查看
jinu_mohan
Contributor I

Hi Victorjimenez,

is there any refernce code for SPI communication.

i need a example for Connecting NXP RT1060_EVK with sensor to read data supporting SPI 

0 项奖励
回复
2,563 次查看
javier_chavezq
NXP Employee
NXP Employee

Hi Nick,

For this demo 2 boards are required, one with the "lpspi_polling_b2b_transfer_master" project  and the other with the "lpspi_polling_b2b_transfer_slave" project.

As the SPI transactions are in polling mode, both of the boards are waiting for send/receive data successfully, since there's no other board that sends/receives the data, the master will not show any information in the console until data is received from the other board.

I hope it helps.

Best regards,
Javier

 

0 项奖励
回复
2,551 次查看
nick_j
Contributor III

Hi Javier,

I have got two boards running the correct projects and the lines are all connected correctly. However I am still getting the "Error occurred in LPSPI transfer !" message. So I probed the clock and chip select lines with an oscilloscope and neither showed any sign of doing anything. I configured them both to be active low and even then when probing there was nothing, when it should have been at least idling high.

I feel like maybe I'm missing something in the pin configuration?

Thanks,

Nick

0 项奖励
回复
2,533 次查看
victorjimenez
NXP TechSupport
NXP TechSupport

Hi Nick, 

Please keep in mind that in order to run these two examples you need to make some hardware changes to your board. You need to weld resistors  R278, R279, R280 and R281. We mention this in the readme file of the examples. 

Have a great day,

Victor

-------------------------------------------------------------------------------

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 项奖励
回复