Hi,
My customer reported timeout error in software reset sequence in MMC/SD/SDIO module in AM335x.
The reset is applied by writing ‘1’ to SD_SYSCTRL.SRD bit
The code sequence in TI SDK Linux is like this. This is exact sequence explained in TRM Table 18-32
(a) Set to 1 to start reset
(b) Poll for 1 to identify start of reset (1usec interval)
(c) Poll for 0 to identify reset is complete (1usec interval)
It seems 1usec interval is too long and the code overlooked when the bit changes to ‘1’.
Please clarify how long does it take the bit changes to 1 and back to 0.
Please see attached ppt for details.
hsmmc_reset.pptx
Thanks and regards,
KoT