I just bought a Due for a stepper program so I could make the stepper run faster and have a problem with getting all the code to work together.
I posted my problem in the programming thread because I thought my problem was code related but upon further investigation I find it isn't a code problem but a hardware problem.
Each part of my code runs exactly as written if I run just 1 thing at a time but when I incorporate them together things go wrong. I have a hall sensor and the aforementioned Gecko drive(203V) and a 960oz in stepper motor(7A 1.55V) that I'm trying to turn 4 times and then stop. The hall counter works as coded when it is connected to the Due but when I connect the Gecko and stepper the hall counter begins to count even though the magnet doesn't pass over it(I watched the count go with the serial window open). The problem didn't occur when I was using a UNO, or at least I didn't think it did but never watched it with a serial window on with everything connected.
I didn't want to start another thread but I thought I would ask if anyone had a similar problem with the Due on the Due thread because it seems to be more of a Due problem than a programming problem.
Here is the other thread and sorry for starting multiple threads. http://forum.arduino.cc/index.php?topic=518445.15