Hello,
The informationwe have is that the __sync_synchronize() are important for
ensuring that the peripheral memory transfers happen correctly. I suspect what
you are seeing is interaction between the __sync_synchronize and the linux
scheduler.
I think its fair to say that it is risky to try to do real-time control like
steppers with non-real-time linux. Have you taken steps to lock the process to
prevent scheduling/swapping?
Cheers.
--
Mike McCauley VK4AMM
mi...@airspayce.com
Airspayce Pty Ltd 9 Bulbul Place Currumbin Waters QLD 4223 Australia
http://www.airspayce.com 5R3MRFM2+X6
Phone
+61 7 5598-7474