Hello,
i am trying to use serial communication (SPI) in my project.
what i have noticed is that for some reason USIIFG i.e. interrupt flag is by default set which is causing unnecessary transfer of control to USI Interrupt routine.
I tried to clear the flag by giving the instruction
USICTL0 = ~USIIFG;
but this is not working.(eventhough USIIFGCC=1)
Any suggestions on how to clear the flag..?