I just cloned the latest zephyr from github and tried littlefs. However, the SPI pins have no traffic and CS line stays unchanged.
&spi1 {
compatible = "nordic,nrf-spim";
status = "okay";
sck-pin = <7>;
mosi-pin = <5>;
miso-pin = <6>;
cs-gpios = <&gpio0 8 GPIO_ACTIVE_LOW>,
<&gpio0 9 GPIO_ACTIVE_LOW>,
<&gpio0 15 GPIO_ACTIVE_LOW>,
<&gpio0 19 GPIO_ACTIVE_LOW>;
[... three other spi drivers... then the fourth, my SD card driver...]
sdhc3: sdhc@3 {
compatible = "zephyr,mmc-spi-slot";
reg = <3>;
status = "okay";
label = "SDHC0";
spi-max-frequency = <24000000>;
};
};
Is there something I forgot, since I can't see anything on SPI1?
If the device tree looks correct for littlefs, what else could it be?
For later reference, how do find the correct "compatible = [xxx]" in the driver source, so I can match the device tree instance with the driver/sample I want to test?