This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

LPC2378 SPIF flag gets resetted before interrupt

Hi everyone,
Kindly help me in resolving this issue, i am facing for the first time.
I am using SPI peripheral of lpc2378 for interfacing sd card. i observed that after i put data in SPDR reg. SPIF bit and interrupt bit gets set as expected. But till the time i reach interrupt routine the SPIF flag gets resetted. I am unable to understand why. Kindly help.
regards,
ED

0