INTCON = %11000000 ' Set the interrupts, i.e. enable GIE and PEIE
SSPIE = 1 ' Enable SSPIE interrupt
Is there any mistake I have overlooked in my interrupts setting?
NO! You don't want to do that.
You just use the flag to tell when the SSP is finished.
If you enable interrupts without any interrupt Handlers, it goes off into never never land, overflows Stacks and generally just doesn't work.
<br>
Bookmarks