Hey Darrel, ok I understand "ASM" better.
I have everything as high priority interrupt and deleted all my little tweaking attempt. I got it to work nicely now, even with SPWM_FREQ 200. I however don't understand why at first it was not working as is, must have done something wrong
Anyway thanks for your help! this is a great routine!
Bookmarks