adafruit / Adafruit_CircuitPython_SD

SD card drivers for Adafruit CircuitPython
MIT License
37 stars 17 forks source link

adafruit_sdcard.py : group related cmds in a single transaction #26

Closed Anton-2 closed 4 years ago

Anton-2 commented 4 years ago

Most cards tested wants to have CS low during a group of read-multiple / write-multiple commands. Also, some can insert 0x7F return bytes after CMD12 (response type R1b)

These changes make reading and writing big chunks of data at once possible, on all cards tested, where previously all but the oldest one would fail when reading/writng more than a block.