I found a bug in the AVR SPI driver.
When doing multiple multi-byte SPI write operations, the Write Collision Flag (WCOL) bit in SPI Status Register (SPSR) gets set.
This is caused by calling
Code: Select all
_spi_isr_code(spip);
Attached is a patch to fix this issue.
Marco