Nucleo-F722ZE USB MSC and SDMMC interface to uSD card (SOLVED)
I tried to create a combination of USB MSC Device and uSD card with SDMMCx interface. The clock for USB was config at 48MHz and also for SDMMC.
In the examples that I saw online, one indicate the SDMMC clock need to be configured at 12MHz so it will match with USB 12Mbits/s for the Full Speed. Some other examples was use slower speed for the SDMMC interface.
If I am playing around with SDMMCCLK clock divide factor, like 2, 3, 4, (2 would be idea because 48Mhz/(2+2) = 12MHz, my eval board only show USB mass storage once I plugged in the USB to the PC, but there is no action like asking for format the device, and time out in couple minutes later.
Playing with this divide factor can made thing worst like the eval couldn't enumerate at all.
Please let me know if there is any correct clock setting for SDMMCx clock and the divide factor?
Another question is if USB Full Speed is only do 12Mbits/s (12MHz), where is the clock divider for USB, can someone point it out for me on the user manual. I am looking for that piece that information as well.
Thank you so much for your times.
