I configured my SAM3X to receive data via SPI in Slave mode. The SPI Master sends me 24 bits when CS is activated. But in the SAM3X the maximum is 16 bits in SPI_CSR0. So in the SPI0_Handler interrupt unction, I'm not able to get more than 16 bits, even if I call spi_read() several times, and next time the SPI0_Handler is called again, I get the first 16 bits of the next message. So I loose the last 8 bits of each message.
I can't believe that we cannot read more than 16 bits when CS is activated, so I probably do something wrong in my code. Could someone give me some advice on this issue?