IMX8MM ECSPI

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

IMX8MM ECSPI

1,037 次查看
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

标记 (3)
0 项奖励
回复
2 回复数

910 次查看
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 项奖励
回复

910 次查看
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 项奖励
回复