hello sir ,
I am trying to run fat_fs example code , but i got mount error ,
my connections spi1,
SCK = 31,
MOSI = 30
MISO = 28
CS = 17,
hello sir ,
I am trying to run fat_fs example code , but i got mount error ,
my connections spi1,
SCK = 31,
MOSI = 30
MISO = 28
CS = 17,
Hi
What kind of hardware are you using?
Have you ensured that the SD card is correctly connected to the nRF52 device?
Best regards
Torbjørn
yes it connect properly , i m using nrf52840dk and my in house module of SD card . N i run nrf sdk example with same hardware and its run properly , but i want to run in zephyr . so help me
Zephyr version 2.4.0
nrf connect SDK 1.4.0
"I have a SD card laying around and will try to reproduce your issue tomorrow. " - Ok sir
hello sir , any updates on this i had try but still cant get any result i created overlay n conf file and made new project .
Hi
Sorry for the slow response.
So far I have also been unable to get the example in Zephyr running, I can't see any communication on the SPI bus.
Are you able to share your overlay file?
I will do some checking internally to see if anyone else have had success running this example on the nRF52840DK.
Best regards
Torbjørn
Its OK sir no worry , So now I sent you my entire project zip file , so you can easily see all files .
I want to run this program for my company project so it is important for me .... thank you
Hi
I got the project working on my end with some input from a colleague, and I have attached it here:
The critical aspect was to add the following lines to the prj.conf file:
# SPI CONFIG_DISK_ACCESS_SDHC=y CONFIG_DISK_ACCESS_SPI_SDHC=y CONFIG_SPI=y CONFIG_SPI_3=y CONFIG_SPI_NRFX_RAM_BUFFER_SIZE=8
Can you give this a go and see if it works for you also?
Best regards
Torbjørn
Hi
I got the project working on my end with some input from a colleague, and I have attached it here:
The critical aspect was to add the following lines to the prj.conf file:
# SPI CONFIG_DISK_ACCESS_SDHC=y CONFIG_DISK_ACCESS_SPI_SDHC=y CONFIG_SPI=y CONFIG_SPI_3=y CONFIG_SPI_NRFX_RAM_BUFFER_SIZE=8
Can you give this a go and see if it works for you also?
Best regards
Torbjørn
thanks a lot sir its working...............