SC18IS606 I2C-SPI Bridge: How can I know SPI access has been finished by Polling?

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

SC18IS606 I2C-SPI Bridge: How can I know SPI access has been finished by Polling?

跳至解决方案
2,483 次查看
piros
Contributor I

The datasheet mentions Polling, but it doesn't seem to describe how to do polling .
How can I know when SPI access has been completed by polling rather than by using an interrupt?

Is there something like a status register for polling?
Or should I monitor a port whether it changes H or L level?

0 项奖励
回复
1 解答
2,454 次查看
guoweisun
NXP TechSupport
NXP TechSupport

Hi Piros:

Yes I think so!

在原帖中查看解决方案

0 项奖励
回复
4 回复数
2,469 次查看
piros
Contributor I

Hi guoweisun,

Thanks for your reply.

Based on your answer, is it right that I can't know completion of SPI transaction by polling even though there is an description about polling in the datasheet?

polling.pngpolling.png

0 项奖励
回复
2,455 次查看
guoweisun
NXP TechSupport
NXP TechSupport

Hi Piros:

Yes I think so!

0 项奖励
回复
2,446 次查看
piros
Contributor I

Hi guoweisun,

I understand. Thank you.

0 项奖励
回复
2,474 次查看
guoweisun
NXP TechSupport
NXP TechSupport

HI 

I checked your requirement, unfortunately the SC18IS606 does not have a dedicated status register or using a port indication  for polling SPI transaction completion.

0 项奖励
回复