Running SDIO 4BIT wide mode
In this movie setup done SDMMC 4BIT mode selected in CubeMX:

In the older versions CubeMX like video before generated code for SDMMC or SDIO 4BIT setup looks like:

That was confusing and doesn't really running SDIO/SDMMC in 4 bit wide mode.
Today Cube generate code with SDMMC_BUS_WIDE_4B parameter BUT this is NOT ENOUGHT to running SDIO/SDMMC in 4 bits wide mode. Here is need a bit magic in a few codelines.
For setup DISCOVERY F746G:

In the generated code need to add a magic few lines which was selected in the red border:

In the comparision 4bit to 1bit mode was 128ms/510KB read time for 1 bit mode versus 68ms for 4 bit mode.
A little video with 4bit SDMMC work:
For any custom board with STM32F407VET6 was setup:
The code was very simmilary to previous:

All of this was after my hot dispute with YT streamer called STM32World, where I don't bellieved him about the SDIO 4Bit mode could be really work on the STM32. And hi really proved it can be work after add this magic codelines. A big thanks to him by the way.
