I set my spi to max but not achieving what I was hoping for.
SPCR = (1<<MSTR)|(1<<SPR1)|(0<<SPR0)|(0<<SPR1)|(0<<DORD)|(0<<CPHA)|(0<<CPOL);
SPSR = (1<<SPI2X);//double speed
I'm seeing 15us per byte.
Doesn't the doubleR set spi to 8MHZ (F_CPU/2) when running a 16MHz clock? Was assuming I'd get closer to 1usec per byte. Maybe my math is just bad.