Reliable pulse output delays after interrupts?

The official pyboard running MicroPython.
This is the reference design and main target board for MicroPython.
You can buy one at the store.
Target audience: Users with a pyboard.
BMcC
Posts: 9
Joined: Thu Mar 26, 2015 9:35 pm

Re: Reliable pulse output delays after interrupts?

Post by BMcC » Mon Apr 20, 2015 4:48 pm

What I did for a bandaid: disabled garbage collection, then ran manual collects after each generated pulse. My pulse lengths are normally of varied timing, but at regular intervals. In order to leave about 2 ms for GC, I no longer can do 100% duty cycle; however, the variation due to pyboard housekeeping is now way less.

[edited for clarity]

Post Reply