SPI communication with Core M7 of the IMX8MP not sending out data

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

SPI communication with Core M7 of the IMX8MP not sending out data

跳至解决方案
1,132 次查看
ababatola
Contributor III

Hi,

I am working on bringing up the cortex M7 core of the IMX8MP processor.  I want to perfome some specific operations on the cortext M7.  As reference I am using the SDK SDK_2_13_0_MIMX8ML8xxxLZ of the IMX8MP.

I am using a custom board and the board is been used as a spi master while I have another device as the spi slave.  

After modifying the device tree and this example SDK_2_13_0_MIMX8ML8xxxLZ\boards\evkmimx8mp\driver_examples\ecspi\interrupt_b2b_transfer\master. I loaded my code on my custom board.  The code runs well and the isTransferCompleted flag is set to true to signify completion of data transfer but I did not get any output signal on my oscilloscope or on the SPI slave device.  However, I get output on the terminal, which shows that the core is working.

Pls what can the problem be?  I have checked the device tree and the ecspi2 node is disabled.  Am I to do more initialization of the peripheral or must I do some more configuration of the device tree.

Thanks

Babatola Abayomi

标签 (1)
0 项奖励
回复
1 解答
1,085 次查看
ababatola
Contributor III

This as been resolved as I connected the SPI pins to the wrong pins

在原帖中查看解决方案

0 项奖励
回复
1 回复
1,086 次查看
ababatola
Contributor III

This as been resolved as I connected the SPI pins to the wrong pins

0 项奖励
回复