Hi,
I am trying to use the SDCARD with nRF5340 and I have some problems. The first is this. The second one is the following:
I created a new workspace and a new project based on fat_fs example without any modifications. The configuration of overlay is the following
&spi2 { status = "okay"; compatible = "nordic,nrf-spim"; //sck-pin = < 44 >; //miso-pin = < 43 >; //mosi-pin = < 42 >; group1 { psels = < NRF_PSEL(SPIM_MOSI, 1, 10) >, < NRF_PSEL(SPIM_MISO, 1, 11) >, < NRF_PSEL(SPIM_SCK, 1, 12)>; }; cs-gpios = < &gpio1 9 GPIO_ACTIVE_LOW >; sdhc0: sdhc@0 { compatible = "zephyr,mmc-spi-slot"; reg = < 0x0 >; status = "okay"; label = "SDHC0"; spi-max-frequency = < 4000000 >; }; };
The project compile, but in the trace is present the following line:
CMake Warning at C:/Users/x/ncs/v2.1.2/zephyr/CMakeLists.txt:831 (message): No SOURCES given to Zephyr library: drivers__disk
And, when I programming the chip, the three SPI pins is low and no signal is present (I checked with logic analyzer)!
I don't know what is the issue, but I suppose is the line mentioned before.
I am using win, with 2.1.0 SDK.
Best
Marco