I am working with am335x. The writing speed of my SD is only 1.2M/s. The clock is 24MHz .It does not work when I change the clock to 48MHz
How to improve the speed? Does the High-Speed mode help? And how to config it?
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.
Changing the frequency to 48MHz may cause timing violations for AM335x or SD card.
You may be possible to improve timing by putting the interface into high speed mode. For more information related to high speed mode, please read section 18.3.12 of the AM335x Technical Reference Manual. This section describes how setting the HSPE bit high will cause the AM335x output data to the SD card to change on the rising edge of clock rather than the falling edge of clock.
This may help resolve your issue where it doesn't work at 48MHz, but as Biser mention the actual throughput depends on many other parameters like SD card speed, operating system overhead, etc.
Regards,
Paul