I need to reduce the time of date transfer by SPI drive. The time to write/read data is:
ioctl (spiFD, IO_IOCTL_SPI_READ_WRITE, &rw) -> 18 us
ioctl (spiFD, IO_IOCTL_SPI_FLUSH_DEASSERT_CS, NULL) -> 8us
sum = 26 us
I need 4us in FULL_DUPLEX mode. is possible? help me..
Att,
Francisco
Hi Francsico,
You must provide more information, especially:
- your spi settings
- your rw data structure content
Do you need call IO_IOCTL_SPI_FLUSH_DEASSERT_CS after each read write operation?
Regards,
Jozef