Long gaps between SPI transmissions

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Long gaps between SPI transmissions

1,288件の閲覧回数
marcingrzelak
Contributor I

Hi,

in my program I would like to read an external time counter by SPI and I would like to receive a fairly accurate time. But when I starts transmissions one after another,  the difference between successive readings is ~70 us. A few us for SPI transmissions and remaining time is the gap between transmissions. How can I minimize this gap? 

I'm using SPI by ioctl.

Thanks for help.

ラベル(2)
0 件の賞賛
返信
1 返信

1,230件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

Hi marcingrzelak

gaps may be caused by delays intoduced by bus arbiters NIC-301 and

I am afraid there is no way to avoid it. If possible one can try to use bursts

configured by ECSPIx_CONREG register.

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛
返信