How can I reduce the time between byte to byte when use spi tx ?

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

How can I reduce the time between byte to byte when use spi tx ?

Jump to solution
877 Views
浩卢
Contributor III

How can I reduce the time between byte to byte when use spi tx ?

I'm now using kernel version linux-4.1.15.The hardware is I.MX6UL-EVK board.

Labels (2)
0 Kudos
Reply
1 Solution
792 Views
igorpadykov
NXP Employee
NXP Employee

Hi

please try to use bursts, please check description register  ECSPIx_CONREG field

BURST_LENGTH in sect.20.7.3 Control Register (ECSPIx_CONREG)

i.MX6UL Reference Manual

http://cache.freescale.com/files/32bit/doc/ref_manual/IMX6ULRM.pdf

If possible increase clock frequency, max. is defined in sect.4.12.2 ECSPI timing parameters i.MX6UL Datasheet

http://cache.freescale.com/files/32bit/doc/data_sheet/IMX6ULCEC.pdf

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

View solution in original post

1 Reply
793 Views
igorpadykov
NXP Employee
NXP Employee

Hi

please try to use bursts, please check description register  ECSPIx_CONREG field

BURST_LENGTH in sect.20.7.3 Control Register (ECSPIx_CONREG)

i.MX6UL Reference Manual

http://cache.freescale.com/files/32bit/doc/ref_manual/IMX6ULRM.pdf

If possible increase clock frequency, max. is defined in sect.4.12.2 ECSPI timing parameters i.MX6UL Datasheet

http://cache.freescale.com/files/32bit/doc/data_sheet/IMX6ULCEC.pdf

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