lpspi reading the Rx Data always gives 0

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

lpspi reading the Rx Data always gives 0

跳至解决方案
1,788 次查看
sbabu
Contributor III

Hi All,

I am using IMXRT1024's lpspi

If I read the FIFO count its shows 16 but when I read the Tx data register. Its always giving me 0. I have no issues in Tx from master to slave. But from slave to master I am always getting 0 data. Please suggest.

 

Thanks,

Subash

0 项奖励
回复
1 解答
1,753 次查看
Miguel04
NXP TechSupport
NXP TechSupport

Hi @sbabu 

Thank you for you answer.

I would like to know more details of how are you verifying this behaviour, I want to replicate the same steps you made, can you share with me this information and some images of your results?

If you can provide the name of the examples you are using it would be very helpfull too.

Best Regards, Miguel.

在原帖中查看解决方案

0 项奖励
回复
4 回复数
1,774 次查看
Miguel04
NXP TechSupport
NXP TechSupport

Hi @sbabu 

Can you tell me if you are using an example from MCUXpresso or is it a custom project?

Best Regards, Miguel.

0 项奖励
回复
1,761 次查看
sbabu
Contributor III

@Miguel04 We are using MCUXpresso example of slave on one board. Other board is running Linux as master and we have taken the code snippets of MCU xpresso master code and using it there. 

1,754 次查看
Miguel04
NXP TechSupport
NXP TechSupport

Hi @sbabu 

Thank you for you answer.

I would like to know more details of how are you verifying this behaviour, I want to replicate the same steps you made, can you share with me this information and some images of your results?

If you can provide the name of the examples you are using it would be very helpfull too.

Best Regards, Miguel.

0 项奖励
回复
1,695 次查看
sbabu
Contributor III

@Miguel04 We are able to get it working. Pls consider this as closed.