Hi, I am a beginner and trying to understand the SD card example for nrf52 DK. When I change the pins from the given configuration
#define SDC_CS_PIN ARDUINO_10_PIN
#define SDC_MOSI_PIN ARDUINO_11_PIN
#define SDC_SCK_PIN ARDUINO_13_PIN
#define SDC_MISO_PIN ARDUINO_12_PIN
to the following:
#define SDC_CS_PIN 19 #define SDC_MOSI_PIN 17 #define SDC_SCK_PIN 10 #define SDC_MISO_PIN 9
The example doesn't work and get stuck in for loop of disk_initialize(0) in fatfs_example() function. I have also tried to update the pin values in pca10040.h but it still doesn't work. Please help. Thanks!