IMX8MM ECSPI

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

IMX8MM ECSPI

773件の閲覧回数
hanchungtseng
Contributor I

Hi,

I have an ECSPI problem on the IMX8MM.
I try to send data with a length of 1024Byte, but the CS status changes at 512Byte.
I know ECSPI has a maximum length of 512 Byte per transmission, is there a way to make the CS not change state during transmission?

I must ensure that the slave receives the full data being sent in each CS cycle.

IMX8MM_ECSPI.jpg

Thanks for your help and best regards,

Benny Tseng

ラベル(2)
タグ(3)
0 件の賞賛
2 返答(返信)

646件の閲覧回数
Yuri
NXP Employee
NXP Employee

Hello,

  512 bytes is the maximum length. You can use a GPIO pin instead of ECSPI CS (SS)

to transfer more data.

Regards,

Yuri.

0 件の賞賛

646件の閲覧回数
hanchungtseng
Contributor I

Hi Yuri,

Thank you for your response.

I know this solution, but using it will make the data transfer time longer because the manual control of CS-GPIO will have a delay.

I have a functional requirement to send 8MB of data, so I have to cut multiple packets to send because the slave receives up to 16KB of data in a single transaction, which makes the transfer time even longer.

I would like to know other solutions to reduce the delay time caused by manual control by setting spi dma or register.

Regards,

Benny

0 件の賞賛