SPI DMA Transfer Delay

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

SPI DMA Transfer Delay

658 次查看
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 回复

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