From ccbda8895aee2a96a2a9fa327bdd275816955ab7 Mon Sep 17 00:00:00 2001 From: Grigory Fadeev <10079765+c0ffee2code@users.noreply.github.com> Date: Sat, 14 Feb 2026 17:21:36 +0100 Subject: [PATCH] sdcard: Send stop bit after multi-block read/write. Signed-off-by: Grigory Fadeev <10079765+c0ffee2code@users.noreply.github.com> --- micropython/drivers/storage/sdcard/sdcard.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/micropython/drivers/storage/sdcard/sdcard.py b/micropython/drivers/storage/sdcard/sdcard.py index 3df4788a2..99d251d71 100644 --- a/micropython/drivers/storage/sdcard/sdcard.py +++ b/micropython/drivers/storage/sdcard/sdcard.py @@ -154,7 +154,7 @@ def cmd(self, cmd, arg, crc, final=0, release=True, skip1=False): buf[2] = arg >> 16 buf[3] = arg >> 8 buf[4] = arg - buf[5] = crc + buf[5] = crc | 0x01 # ensure stop bit is always set self.spi.write(buf) if skip1: