I'm facing a strange problem. I'm writing some assembly code to LGR8F328P(SSOP20) as a SPI slave. The interface is working well sending some bytes, but when I'm using SPI interrupt I'm not getting a way to clear SPIF in SPSR. Have someone a working code C/Assembly to deal with SPI interrup and clear the SPIF flag?
Hi All,
I'm facing a strange problem. I'm writing some assembly code to LGR8F328P(SSOP20) as a SPI slave. The interface is working well sending some bytes, but when I'm using SPI interrupt I'm not getting a way to clear SPIF in SPSR. Have someone a working code C/Assembly to deal with SPI interrup and clear the SPIF flag?
Regards