Dialog Semiconductor customer support - SPI DMA https://support.dialog-semiconductor.com/resource-keywords/spi-dma en spi_access to start dma rx https://support.dialog-semiconductor.com/forums/post/dialog-smartbond-bluetooth-low-energy-%E2%80%93-software/spiaccess-start-dma-rx

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

Keywords: 
Device: 
Tue, 18 Jun 2019 05:52:10 +0000 kidmose 310731 at https://support.dialog-semiconductor.com https://support.dialog-semiconductor.com/forums/post/dialog-smartbond-bluetooth-low-energy-%E2%80%93-software/spiaccess-start-dma-rx#comments