micropython-lib/micropython
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
..
aiorepl aiorepl: Fix ordering of saving previous character. 2022-11-09 12:36:05 +11:00
bluetooth aioble/client.py: Fix default for the `response` arg to char.write(). 2022-11-08 18:57:29 +11:00
drivers sdcard: Set MISO high before readblocks/writeblocks. 2022-11-14 22:46:37 +11:00
espflash espflash: Add a minimal ESP32 bootloader protocol implementation. 2022-11-08 18:45:22 +11:00
mip mip: Set opt=3 by default. 2022-11-09 12:43:31 +11:00
mip-cmdline micropython/mip: Add command-line functionality for the Unix port. 2022-11-09 12:43:04 +11:00
net ntptime: Allow overriding default NTP timeout. 2022-10-26 00:05:19 +11:00
uaiohttpclient all: Replace metadata.txt with manifest.py. 2022-09-05 17:50:28 +10:00
ucontextlib all: Replace metadata.txt with manifest.py. 2022-09-05 17:50:28 +10:00
udnspkt all: Replace metadata.txt with manifest.py. 2022-09-05 17:50:28 +10:00
umqtt.robust umqtt.robust: Fix check_msg blocking after reconnect. 2022-10-04 12:59:09 +11:00
umqtt.simple umqtt.simple: Return op from wait_msg() as indication of reception. 2022-10-04 12:34:31 +11:00
upysh all: Replace metadata.txt with manifest.py. 2022-09-05 17:50:28 +10:00
urllib.urequest all: Replace metadata.txt with manifest.py. 2022-09-05 17:50:28 +10:00
utarfile all: Replace metadata.txt with manifest.py. 2022-09-05 17:50:28 +10:00
xmltok all: Replace metadata.txt with manifest.py. 2022-09-05 17:50:28 +10:00
README.md

README.md

MicroPython-specific libraries

These are libraries that have been written specifically for use on MicroPython.

In some cases, the libraries are inspired by or based on equivalent CPython standard libraries, but compatibility varies. The libraries are often named with a "u" prefix.

Other libraries have been written specifically for MicroPython use cases.

Future plans

  • More organised directory structure based on library purpose (e.g. drivers, network, etc).