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

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

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

跳至解决方案
874 次查看
浩卢
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.

标签 (2)
0 项奖励
回复
1 解答
789 次查看
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!
-----------------------------------------------------------------------------------------------------------------------

在原帖中查看解决方案

1 回复
790 次查看
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!
-----------------------------------------------------------------------------------------------------------------------