micropython-lib/micropython/drivers/storage/sdcard
Jim Mussared 6fca45f4f5 sdcard: Set MISO high before readblocks/writeblocks.
Originally by @peterhinch.
See https://github.com/micropython/micropython/pull/6007 for discussion.

The summary is that on some cards (especially older Kingston ones) if the
bus is shared with other SPI devices, then it seems to require that MISO
is high for a few cycles before the transaction is initiated.

Because CS is high, this change should otherwise be a no-op.

Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
2022-11-14 22:46:37 +11:00
..
manifest.py micropython/drivers: Move "sdcard" driver from main repo. 2022-09-06 13:21:57 +10:00
sdcard.py sdcard: Set MISO high before readblocks/writeblocks. 2022-11-14 22:46:37 +11:00
sdtest.py micropython/drivers: Move "sdcard" driver from main repo. 2022-09-06 13:21:57 +10:00