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,
I forgot to mention that I'm using Vybrid (M4 side), and I like know...How to I reduce the read time in SPI driver for MQX 4.0.2...
Regards,
Francsico
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