Hi,
in you examplecode for SPI->DMA, spi_access() is called to start receiving data.
spi_dma_receive()
{
...
data_buffer[0] = spi_access(filler); //Start transfer by receiving the first byte manually
...
}
Can you please elaborate on the following:
1. Why is this needed
2. Shall data on the SPI bus be started after this dummy call or can data lready be flowing on the SPI bus, when this is called.
/Brian