This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

SPI, SPIM & SD card

HI

I'd like to clarify my understanding of how the three work-

  1. Does the SD card library use SPI or SPIM?
  2. Does SPIM automatically use EasyDMA, or is it configured? I see there is an option to select EDMA in sdk_config.h for the legacy SPI driver, but not in the SPIM driver section. It is possible that my sdk_config.h is malformed though as it's evolved from several of the example projects. I've attached it here.sdk_config.h
  3. Is SPIM using the same hardware (i.e. just an updated driver) or is it a seperate peripheral in the NRF52832? The docs say they use shared registers but not much else?
  4. Finally, is there a way to give my SPIM peripheral a higher IRQ priority than the SD card?

Thanks Slight smile

Parents Reply Children
Related