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.
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.