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 ?

ソリューションへジャンプ
689件の閲覧回数
浩卢
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 解決策
604件の閲覧回数
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 返信
605件の閲覧回数
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!
-----------------------------------------------------------------------------------------------------------------------