SPI DMA Transfer Delay

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

SPI DMA Transfer Delay

498 Views
marcus-castlepeakinc
Contributor III

Hello,

Does anyone know what causes the ~200ns clock delays between words in a dma spi transfer?

Does it have to do with the latency with of wait_for_completion_timeout for rx/tx in

spi_imx_dma_transfer?

marcuscastlepeakinc_0-1650065212203.png

Thanks!

0 Kudos
1 Reply

457 Views
kef2
Senior Contributor V

This is caused by spi driver doing separate 8 bit transfers (ECSPIx_CONREG . BURST_LENGHT = instead of doing single transfer with BURST_LENGTH set to total transfer bit count. For the same reason hardware chip select is of no use, forcing nearly everyone to use software toggled CS.

0 Kudos