Long gaps between SPI transmissions

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Long gaps between SPI transmissions

426 Views
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.

Labels (2)
0 Kudos
1 Reply

368 Views
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 Kudos