SDMMC impssible to get working
Hello,
I'm using a custom board and have gone through 3 iterations one with stm made EMI filter for SD, one with F2 chip with SDIO and now I'm using stm32l496zg with 4.7k pullups on D0-D3 and CMD lines. When running the completely unchanged code generated by cubemx I keep getting sdmmc_error_cmd_rsp_timeout on initialization. With oscilloscope I have observed 2 of same/similar messages and for some reason there is no clock on the CLK line. I have triple-checked my schematics and tried the following
1. 1B and 4B modes
2. Different clock sources (HSI48, PLL)
3. Different clock divider factors from 0-254
4. More things I can't recall
All this happens with sd card either in or out.
Ask for additional info if needed and any help appreciated been stuck on this problem for over 50 hours now.
