-
Notifications
You must be signed in to change notification settings - Fork 51
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Clock Speed Requirements #73
Comments
For SPI, you can set the SPI baud rate in the hardware configuration. This library uses the SDK call For SDIO, it's on my list of things to do to make the SDIO clock rate configurable in the H/W config. It is currently hard coded in
so you would have to modify that directly. When I get around to making it configurable in the H/W config., I should use a scheme like that used in There isn't a lot of computation going on, but it's possible that a slower system clock will slow down something to the point that you might see problems. The only thing that comes to mind is the verification of the CRCs. (For example, see |
Thanks for the info! I will look into this. Modifying it is certainly not an issue. |
I have verified that it works reliably at system clock frequency is 48MHz and SDIO baud rate 5 MHz. |
Awesome, thank you! Does 10MHz work? I see you noted it can't be greater than 1/4 of the system clock. Either should work for my purposes, though. |
Setting the system clock to 10000 kHz is "not possible" according to
48 MHz system clock with 10 MHz baud rate works fine:
|
Really, you might as well got to 12 MHz baud rate:
|
Sorry, should have been more specific--I meant 10MHz baud rate. It sounds like 12 works just fine, and the faster the better, so that will work for me! |
Closing as you've answered my question and implemented a convenient solution. Thanks! |
Apologies if I missed anything in the README, I sometimes skim things a little too vigorously.
I'm looking to use this in an application where the system clock frequency is 48MHz. Are there any issues with either SPI or SDIO at this frequency? I can use either of the above in this application, with SDIO's speed being preferable (the application involves high-speed data acquisition). Will the SDIO version work with a 48MHz system clock?
The text was updated successfully, but these errors were encountered: