|
In SPI Slave mode, the control logic will sample the incoming signal of the SCK pin. To ensure correct sampling of the clock signal, the frequency of the SPI clock should never exceed fosc/4.
стр.158 описания ATMega162.
Мне помнится, что у Вас fosc/8 выбрано.
Возможно не точно детектируется SCK от мастера
E-mail: info@telesys.ru