Long gaps between SPI transmissions

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

Long gaps between SPI transmissions

436 次查看
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 回复

378 次查看
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 项奖励