SPI DMA Transfer Delay

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

SPI DMA Transfer Delay

1,282件の閲覧回数
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 件の賞賛
返信
1 返信

1,241件の閲覧回数
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 件の賞賛
返信