Thanks for the input Bert, I changed the interrupt to ASM...
and modified my ISR...Code:ASM INT_LIST macro ; IntSource, Label, Type, ResetFlag? INT_Handler CMP2_INT, _CMP2_Interrupt, ASM, YES endm INT_CREATE ; Creates the interrupt processor ENDASM
but I still can't my audio input above 900Hz, without the ISR toggle pin scoping wrong :-(Code:CMP2_Interrupt: ' COMPARATOR2 INTERRUPT. BSR=0 toggle portc.7 TMR1=0 @ INT_RETURN
Bookmarks