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.
Thanks for your help and best regards,
Benny Tseng
Hello,
512 bytes is the maximum length. You can use a GPIO pin instead of ECSPI CS (SS)
to transfer more data.
Regards,
Yuri.
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