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

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

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

301件の閲覧回数
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 返答(返信)

239件の閲覧回数
bighero77
Contributor III

thanks;

0 件の賞賛
返信

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