AnsweredAssumed Answered

CSPI iMX53 had 20us delay between reads

Question asked by Samuel Raj on May 5, 2013
Latest reply on Jun 13, 2013 by Yixing Kong
Branched to a new discussion



I am using IOCTL to write and store into the buffer using CSPI @ 20MHz, it seems to work in the sense the values read are coming out OK., but using the scope I notice a 20us delay between each read. I dont know how to get rid of it. The program is just running in an infinite loop with the spi read.


while(1) ioctl(fd,SPI_MESSAGE(1)....);


I am not sure if its to be with the ioctl function or related to the SPI dev. The SPI dev is 3.0. Any help will be appreciated.