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,529件の閲覧回数
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,500件の閲覧回数
guoweisun
NXP TechSupport
NXP TechSupport

Hi Piros:

Yes I think so!

元の投稿で解決策を見る

0 件の賞賛
返信
4 返答(返信)
2,515件の閲覧回数
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,501件の閲覧回数
guoweisun
NXP TechSupport
NXP TechSupport

Hi Piros:

Yes I think so!

0 件の賞賛
返信
2,492件の閲覧回数
piros
Contributor I

Hi guoweisun,

I understand. Thank you.

0 件の賞賛
返信
2,520件の閲覧回数
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 件の賞賛
返信