2019-10-01 11:17 AM
hi
i want to have both SDMMC 1 and 2
i test my project for SDMMC1 in 4bit sdio at 44MHz and no clock Div its work good single
but when i set SDMMC2 single with that not work
i change setting reduce frequency , use clock div , software pull up pins but it wait in F_mount and not work correctly
i check pinout of micro to micro sd for several time
but i can find whats problem i confuse...
2019-10-01 11:25 AM
2019-10-01 11:38 AM
Unfortunately "not working" is an overly broad failure mode.
Does it work in 1-bit mode?
Check pin configurations and clocks.
Sorry no hardware here to evaluate such a situation.
2019-10-01 11:48 AM
Couple of pins look to conflict with the debug interface.
Suggest you configure a USART so you can output telemetry/diagnostic data without the debugger attached.
PA0:CMD
PC1:CLK
PB14:D0
PB15:D1
PB3:D2
PB4:D3
2019-10-02 07:39 AM
i use serial wire ( 2 wire ) and no conflict with sdio2
2019-10-02 07:42 AM
thanks
it work in 1 bit mode in 44 mhz no clk div. but why?!!!
i need 4 bit for fast write
what can i do?
2019-10-02 08:10 AM
1-bit mode has a much lower functionality threshold. If 4-bit mode the signalling has to be clean, so you want matched trace-lengths, pull-up, etc.
I don't have a board or schematic for this.
Getting some independent code running would take a few hours.
2019-10-02 08:21 AM
i have two board. in master just was sdio1 and i use another pcb for second micro sd.
wire between two board pin headers 20 CM. is that distance too much?
sorry i cant find any useful layout of boards to send
2019-10-02 09:30 AM
I probably wouldn't go over 6-7 cm. I haven't found a dual SDMMC board for the H7, the F779-EVAL has two.
Have you tried it off the debugger? PB3 is has potential to clash with SWO functionality.
2019-10-02 09:56 AM
yes i test without debugger but not work in 4bit
Do you think the wire length should be halved?