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
Hi
Have you tried to scope the SPI lines to see if there is any communication happening between the nRF52 and the SD card?
Best regards
Torbjørn
ok will try
Hello Sir ,
I tried to check all the pin signal on logic analyzer , signals are there but still got mount error .
Hi
Which Zephyr version are you using?
Is it a tagged release, or the master branch?
I have a SD card laying around and will try to reproduce your issue tomorrow.
Best regards
Torbjørn
Hi
Which Zephyr version are you using?
Is it a tagged release, or the master branch?
I have a SD card laying around and will try to reproduce your issue tomorrow.
Best regards
Torbjørn
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