Skip to content
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

Use of SDIO driver in real applications #716

Open
Simsys opened this issue Dec 18, 2023 · 0 comments
Open

Use of SDIO driver in real applications #716

Simsys opened this issue Dec 18, 2023 · 0 comments

Comments

@Simsys
Copy link

Simsys commented Dec 18, 2023

In entry #692 I pointed out that in my experience the SDIO interface cannot be re-initialized. Unfortunately, no one has commented, confirmed or refuted this.

I use RTIC in my application with a constant processor load of about 10% - 20%. The SDIO interface can only be used as long as RTIC is not running. As soon as the system is in the normal state and periodic interrupts are used, it is no longer possible to read out the SD card.

If you then stop the debugger, you will always end up in the loop lines 245 - 263 of sdio.rs. If I interpret the code correctly, a FIFO is read out there, which is 32 words of 4 bytes deep. If you now read a 512 byte block, you have to be quick, otherwise the FIFO will overflow.

Is that the case? Are there any workarounds?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant