Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
I've experienced this issue with two different stepper libraries, namely
Both are interrupt driven, setting the 4 GPIO outputs @ every call according to a phase look-up table.
Here is what I'm seeing occasionally on the F030 Nucleo:
All pulses should be 10ms long, but as you can see there's a glitch whereby channel 2 stays on for 65ms, followed by a short pulse on channel 3, and then the pulse train continues normally. The total length of the pulse train is about right, so it looks as though ticker interrupt was continuing normally but the GPIOs didn't change values.
There are regular such glitches on the 030, but the 411 runs forever without a hitch. The differences between the boards are
Any ideas what might be happening?