Delay between two bytes in SPI data transfer in iMX6UL

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

Delay between two bytes in SPI data transfer in iMX6UL

3,119 Views
krunalk
Contributor II

Hello,

While transferring data from iMX6UL to slave device using  SPI, we are getting unnecessary pause between two bytes.

We have used ecspi3 in DMA mode and clock speed is 10MHz.

If transfer time for one byte is 800ns then pause between two bytes is half of this time i.e 400ns. If we increase/decrease clock speed then pause time is changing accordingly but half of the single byte transfer time.

Please see attached image.

How to reduce/remove this unnecessary delay between two bytes, please guide.

Thanks.

Labels (1)
Tags (5)
0 Kudos
1 Reply

1,608 Views
igorpadykov
NXP Employee
NXP Employee

Hi Krunal

please check similar problem on

Obtaining advertised ECSPI timing on SS_B 

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