can imx6ull ecspi start transfer a burst at a specific time?

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

can imx6ull ecspi start transfer a burst at a specific time?

293 次查看
bighero77
Contributor III

my board: imx6ull ecspi. (linux4.1).

usually, we send out spi burst by this:

struct spi_transfer t = {
.tx_buf = tx_buf,
.rx_buf = rx_buf,
.len = len,
};
struct spi_message m;

spi_message_init(&m);
spi_message_add_tail(&t, &m);
spi_sync(spi, &m);

but, we cannot set the starttime to transfer within 1 ms.(I mean start the tx at specific time accuratly.)

How can we do this?    mission immpossible?

thanks.

0 项奖励
回复
2 回复数

231 次查看
bighero77
Contributor III

thanks;

0 项奖励
回复

240 次查看
JorgeCas
NXP TechSupport
NXP TechSupport

Hello,

If timing is critical for your application, use a Real-Time Linux Kernel could help you to get your 1 ms timing requirement but will not be too precise as use a real time domain co-processor such as Cortex-M or similar.

Real-Time Edge Software | NXP Semiconductors

Best regards.

0 项奖励
回复