patacongo commented on issue #3711:
URL: 
https://github.com/apache/incubator-nuttx/issues/3711#issuecomment-840820749


   On 5/13/2021 2:29 PM, Gregory Nutt wrote:
   >
   >> Also, how are you wiring the module? I noticed it is running at 
   >> relative high frequency for SPI (20MHz) :
   >>
   >> |mmcsd_decodecsd: Maximum: 25000000 Hz mmcsd_decodecsd: Actual: 
   >> 20833333 Hz |
   >>
   >> Maybe using short wires could help!
   >>
   > Hmm.. I think that the maximum frequency for a standard SD card in SPI 
   > mode is 20MHz, is it not?  20.8MHz is slightly over-clocked (but might 
   > be fine for some higher speed cards).
   >
   > The SD card initialization is done in ID mode which is 400KHz. After 
   > that, the operational mode uses a max of 20MHz.  So when you mount the 
   > SD card, this will be first transaction in 20MHz operational mode.  So 
   > a frequency issue could well be the problem.
   >
   No... I checked.  I was confused.  25MHz is the correct maximum 
   frequency from both 4-bit and SPI modes.
   
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to