Hello.
I'm studying mega162 chip and trying to implement SPI slave capability. I wanna send 8 bytes to master side and after reaching last byte get back and send again, ie continuosly.
Later I'd like to implement receiving.
So, I made the following simple code:
#include #include #include
char *data = "12345678"+0x00; char *t;
void SPI_SlaveInit(void) { DDRB = (1