STM32h745 sdmmc f_mount returns FR_NOT_READY
Hi everyone,
I know this question has many topics related on the forum but I can't find the solution to my problem. I'm working with a NUCLEO-H745ZI-Q:
I am using sdmmc in 1bit mode for now (the module I have only supports 1bit mode):
I installed 10k pull-up resistors on DI and D0.
when I use f_mount() it returns FR_NOT_READY. the card detect pin is plugged and configured in FATFS in cubeMX.
Since I have a 32GB card I wanted to enable _FS_EXFAT and _USE_LFN but this returns 2 errors on compilation:
sd_nucleo_CM7\sd_nucleo_CM7.axf: Error: L6218E: Undefined symbol ff_convert (referred from ff.o).
sd_nucleo_CM7\sd_nucleo_CM7.axf: Error: L6218E: Undefined symbol ff_wtoupper (referred from ff.o).
can't find these functions in fatfs library
another problem, my sdmmc clock it set up to work at 10MHz (20MHz in clock config, with a divider set up at 1). if I measure this clock with a scope I can see it runs at 40kHz.
I believe this may be the root of all my problems
I am completely lost, I don't know anymore what I should do, any help would be appreciated =)
Have a nice day
