This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM335x MMC/SD/SDIO Controller initialization sequence

Other Parts Discussed in Thread: AM3352

Hi,

This is regarding the MMC/SD/SDIO Controller initialization.

Our customer will be using SD card with AM3352
and there is a little bit confusion in the initialization sequence of MMC/SD/SDIO Controller.

The AM335x TRM(SPRUH73E) page 3575, has a flow chart "MMC/SD/SDIO Controller Bus Configuration Flow"
and it says "For initialization sequence, you should have 80 clock cycles in 1ms.
It means clock frequency should be 80 kHz"
But there is no option to select the clock <=80 kHz in the MMC/SD/SDIO Controller.

I found the mmc.c code below related to OMAP35x MMC/SD/SDIO Controller..
in this code, there is part saying "/* 5: MMCHS Controller INIT Procedure Start */"
in which it is executing the above initialization sequence.
http://beagleboard-freebsd.googlecode.com/svn-history/r15/trunk/sys/arm/cortexa8/omap3/omap3_mmc.c


But in case of AM335x drivers,
we have gone through the AM335X StarterWare mmcsd drivers and there was no code related to
the above initialization sequence.

Is the initialization sequence "80 clock cycles in 1ms" required for AM335x MMC/SD/SDIO Controller?

Please let us know if there is any comments about the 80 clock cycles...

Thank you.
Regards.
paddu