SDIO fail to run over freq > 2MHz
Hello Everyone !
I am using 4bit SDIO over STM32 F4 Nucleo board (STM32F412ZG).
I am facing issue when running higher SDIO_CK clock.
When I use smaller 'Div' value (higher freq), it does not produce correct clock and in stead produces very small clock in hertz/Kilohertz and also does not send any signal over D[0-3].
Because of this I end up in getting 'Data underrun' problems while writing.
But when I use smaller clock than 2MHz, SDIO works just fine.
Anyone faced similar kind of issue?
Attaching the clock configuration here
This is same behaviour even when I use SDIOCK (marked in image) <=24MHz.
Additional details -
- Hardware flow control disabled
- 4 bit bus
- Clock power save disabled
- Clock edge falling (also checked with rising)
- Clock bypass disabled
