Interesting, with the only xgate interrupt running(Metronome) set at a static 40.00ms the USB LA reads a bit extra. Thoughts???
I don't think it's my code, the longer the tock from the metro the more it skews. My interrupt only flips the LED and clears the interrupt. The down counter value is left alone.
xgateMetronome: ; PIT 2 ISR, called by PIT2 interrupt. Decrement out delayCounter.
;CIF
LDL R2, #PIT2_CFLAG_MASK
LDD R3, #PITTF
STB R2, R3, #ZERO_OFFSET
LDD R5, xgatePORTPFlip
JAL R5; jump to xgatePORTPFlip
RTS