On 05/28/2017 10:09 PM, Bertho Stultiens wrote: > I can also confirm that the SPI interface is running at 50MHz and not > 32MHz. This means I can, apparently, reproduce the problem.
This makes no sense at all. I just added a one-liner in probe_board(), reading the cookie twice after each other. int err = check_cookie(board); replaced with: check_cookie(board); int err = check_cookie(board); Test: the clock is at 32MHz in _both_ instances. Remove that line and the clock is 50MHz again. Argggh... Maybe the compiler is doing funny stuff. Could be a missing volatile. It is too late to dig into this now. I have to sleep on this one. -- Greetings Bertho (disclaimers are disclaimed) ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users