You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
I am working on nRF9160DK using the ncs tag v1.2.0
Zephyr version is v2.1.99
I am trying this example zephyr/samples/subsys/fs/fat_fs with nRF9160DK.
It always shows this error: ***** Booting Zephyr OS build v2.1.99-ncs1-snapshot2-2647-gd6e67554cfeb ***** [00:00:00.024,078] �[0m<inf> spi_nrfx_spim: CS control inhibited (no GPIO device)�[0m [00:00:05.039,306] �[1;31m<err> main: Storage init ERROR!�[0m Error mounting disk. [00:00:10.054,565] �[1;31m<err> fs: fs mount error (-5)�[0m
In the documentation I read that This sample can be built for an nrf52840_blip board. It requires both the nrf52840_blip.overlay and the dts_fixup.h for nrf52840_blip to work:
So is it possible to use this example on nRF9160DK as it uses zephyr rtos?
If yes, are there any changes required so that it will work on nRF9160DK?
I have added overlay file also for nRf91.
nrf9160_pca10090ns.overlay:
`&spi3 {
status = "okay";
cs-gpios = <&gpio0 16 0>;
Could it be an issue with initialization priorities? disk_access_spi_sdhc.c priority is 40, while SPI driver in drivers/spi/spi_nrrfx_spim.c priority is 70. Could you test that, and post the results, maybe we should change default priorities here.
Hello,
I am working on nRF9160DK using the ncs tag v1.2.0
Zephyr version is v2.1.99
I am trying this example zephyr/samples/subsys/fs/fat_fs with nRF9160DK.
It always shows this error:
***** Booting Zephyr OS build v2.1.99-ncs1-snapshot2-2647-gd6e67554cfeb ***** [00:00:00.024,078] �[0m<inf> spi_nrfx_spim: CS control inhibited (no GPIO device)�[0m [00:00:05.039,306] �[1;31m<err> main: Storage init ERROR!�[0m Error mounting disk. [00:00:10.054,565] �[1;31m<err> fs: fs mount error (-5)�[0m
In the documentation I read that
This sample can be built for an nrf52840_blip board. It requires both the nrf52840_blip.overlay and the dts_fixup.h for nrf52840_blip to work:
So is it possible to use this example on nRF9160DK as it uses zephyr rtos?
If yes, are there any changes required so that it will work on nRF9160DK?
I have added overlay file also for nRf91.
nrf9160_pca10090ns.overlay:
`&spi3 {
status = "okay";
cs-gpios = <&gpio0 16 0>;
};
&spi3 {
status = "okay";
sck-pin = <19>;
mosi-pin = <18>;
miso-pin = <17>;
};`
The text was updated successfully, but these errors were encountered: