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

NRFX_SPI2_ENABLED or NRFX_SPIM2_ENABLED from SDK Config File

Hello,

I'd like to enable an instance of  SPIM2 master (base address: 40023000) in SDK 17.0.2  for SPI operations. In sdk_config.h, there are two options, NRFX_SPIM2_ENABLED and NRFX_SPI2_ENABLED. Which one do I use? Also, to further complicate things, there's a NRFX_SPIS2_ENABLED flag, which is what I don't what. 

This is for the NRF52840 chip.

Related