cancel
Showing results for 
Search instead for 
Did you mean: 

Understanding uSD and MCU changing

GauravK
Senior

Hi, I was trying to have microSD logging with F439 Nucleo. I can't see example with mentioned board. Please let me know:

1. example for mentioned board to log data in microSD

2. I tried configuring SD-4 bit, but couldn't identify the pins intialized in generated code (in MX pins used were visible)

3. Tried importing F413 Nucleo e.g., but couldn't identify pins configured and wasn't able to change MCU to F439.

Please guide.

13 REPLIES 13
GauravK
Senior

I have tried by adding pull-ups (1.2K ohm) on CMD and D0 to D3 lines, clk = 24 MHz. But code getting erorr at below in ff.c:

stat = disk_initialize(pdrv);

if (stat & STA_NOINIT) return FR_NOT_READY

Don't see CMD lines changing.

Does the simple combined sample code look ok? 

Also the CMD line varies from 1.5 to 3.3 not 0 to 3.3V.

Is SD detect required?

The microSD is 32GB HC

Please check

Hi, @SofLit 

does the project look ok?

GauravK
Senior

Closing post...not getting any replies