I notice that with continuous reading (SPI) I get a delay of about 18us between each read, I am not sure why, anyone else see this?
Regards,
Samuel
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
I notice that with continuous reading (SPI) I get a delay of about 18us between each read, I am not sure why, anyone else see this?
Regards,
Samuel
Hi Biser, Thanks for your reply. I am using the following
Beaglebone Black with ubuntu
regards,
Samuel
I nailed it down to the following code
while(1)
ioctl (fd, SPI_IOC_MESSAGE(1), &tr);
tr is the buffer so if the buffer is 1000 it will just clock the date in for 1000 bytes. Than 20us delay before the next 1000 bytes.
samuel