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.
解決済! 解決策の投稿を見る。
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!
-----------------------------------------------------------------------------------------------------------------------
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!
-----------------------------------------------------------------------------------------------------------------------