SPI Write Collision
Posted: Mon Oct 17, 2016 11:33 am
Hi,
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 while the transmission is still in progress.
Attached is a patch to fix this issue.
Marco
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