IMX8MP - Delay between two consecutive SPI write

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

IMX8MP - Delay between two consecutive SPI write

441 次查看
Bhavin-Sharma
Contributor III

Hi there,

I am interfacing a DAC module through SPI (ECSPI-1) with MPU. The clock is setup at 30MHz and what I have observed between two immediate consecutive calls (without any delay) of spi_write (implemented within kernel device driver for DAC) I am observing a delay of 4us between the clocks of these two transfers. The data that I am writing is 24 bits long and according to my application I need to write this data continuously and more frequently for which I need to bring this delay down to some ~800-900ns. 

Below are my queries :
 1. If I am not implementing any API calls or specifically adding any delays what is the reason for this idle time of 4us?

2. How can I overcome this delay and meet my requirement?

Any help or suggestions would be greatly appreciated.

 

Best regards,

Bhavin

IMX8MPLUS 

0 项奖励
回复
0 回复数