The "why's" of timer allocation

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.
User avatar
marfis
Posts: 215
Joined: Fri Oct 31, 2014 10:29 am
Location: Zurich / Switzerland

Re: The "why's" of timer allocation

Post by marfis » Fri Dec 18, 2015 11:16 pm

I've placed another pull request that only incorporates the timer / callback and leaving out the ring buffer as it had some issues. The code change is also much less:
https://github.com/micropython/micropython/pull/1713

it seems that by using SOF Irqs (start of frame) together with a txComplete callback a drastic speed improvement of up to 30x in VCP mode is achieved (see pull request for some numbers). Especially rshell is profiting, possibly also other applications like Slip.

Post Reply