Skip to content

Commit ca88d2b

Browse files
committed
Do not use SDIO hardware flow control.
It is broken and causes SDIO clock glitches resulting in CRC errors.
1 parent bb41956 commit ca88d2b

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/sdio.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,8 +245,11 @@ impl<P: SdioPeripheral> Sdio<P> {
245245
.disabled()
246246
.negedge()
247247
.rising()
248+
// Do not use hardware flow control.
249+
// Using it causes clock glitches and CRC errors.
250+
// See chip errata SDIO section.
248251
.hwfc_en()
249-
.enabled()
252+
.disabled()
250253
});
251254

252255
let mut host = Self {

0 commit comments

Comments
 (0)