Config options for enabling SDHC card support are not working with nrf SDK V1.6.0. Unable to create the project using Segger IDE.
The same options are used with nrf SDK 1.5.0 and found to be working an. iam able work on the file system.
Any changes in nrf SDK V1.6.0 wrt to SDHC card support.
Board used is both cases is our custom board.
1. Following are the options used in prj.conf file..
# GPIO
CONFIG_GPIO=y
CONFIG_SPI=y
CONFIG_SPI_3=y
CONFIG_SPI_2=y
CONFIG_DISK_ACCESS=y
CONFIG_DISK_ACCESS_SDHC=y
CONFIG_DISK_ACCESS_SPI_SDHC=y
CONFIG_DISK_SDHC_VOLUME_NAME="SD"
CONFIG_FILE_SYSTEM=y
CONFIG_FAT_FILESYSTEM_ELM=y
CONFIG_SPI_NRFX_RAM_BUFFER_SIZE=8
2. Following is my dts file entries.
&spi2 {
status = "okay";
cs-gpios = <&gpio0 26 1>;
sdhc0: sdhc@0 {
compatible = "zephyr,mmc-spi-slot";
reg = <0>;
status = "okay";
label = "SDHC0";
spi-max-frequency = <24000000>;
};
};
&spi2 {
compatible = "nordic,nrf-spim";
status = "okay";
sck-pin = <29>;
mosi-pin = <27>;
miso-pin = <30>;
};
Thank you
ns murthy