Hi All,
I have a question about the SPI pin number on nrf51 Dk.
I don't understand when i look into the pca10028.h file, i see this mapping:
#define SPIM0_SCK_PIN 4
#define SPIM0_MOSI_PIN 1
#define SPIM0_MISO_PIN 3
#define SPIM0_SS_PIN 2
But when i look into the nrf_drv_config.h file , i see this:
#if (SPI0_ENABLED == 1) #define SPI0_USE_EASY_DMA 0
#define SPI0_CONFIG_SCK_PIN 2 #define SPI0_CONFIG_MOSI_PIN 3 #define SPI0_CONFIG_MISO_PIN 4 #define SPI0_CONFIG_IRQ_PRIORITY APP_IRQ_PRIORITY_LOW
I don't understand what is SPI0_CONFIG_SCK_PIN, SPI0_CONFIG_MOSI_PIN and SPI0_CONFIG_MISO_PIN and why the pin mapping is not the same to pca10028.h ??
Thanks for your clarification.