Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs
This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

SPI DMA with SDK15

Hello,

after migrating to SDK15 we noticed, that our spi master seems to clock out single bytes instead of a continous clock for the whole transfer.

The Migration guide mentions the following:

combined drivers for peripherals with EasyDMA and without were split into two separate parts for respective peripherals:

  • nrf_drv_twi to nrfx_twi and nrfx_twim
  • nrf_drv_spi to nrfx_spi and nrfx_spim
  • nrf_drv_uart to nrfx_uart and nrfx_uarte

But it is not specified which is the one with easyDMA. We currently use the nrfx_spi.

I also tried using the nrfx_spim, but there are lots of compiler problems with the macros used there and the only example is for pca10056 while we are using pca 10040.

The other spi examples seem to still use the legacy driver.

The pictures show the transfer with SDK15 and SDK14

Best regards,

Niclas

Parents Reply Children
No Data
Related