It's called "USB_ASM_Service" for a reason.
It's ASM compatible, even though it uses some PBP syntax.
Those PBP statements don't use any of PBP's system registers.
When you made it ASM, was it also Low Priority?
It's called "USB_ASM_Service" for a reason.
It's ASM compatible, even though it uses some PBP syntax.
Those PBP statements don't use any of PBP's system registers.
When you made it ASM, was it also Low Priority?
DT
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