circuitpython/drivers
Mateusz Kijowski 1751f5ac7b drivers/sdcard: Do not release CS during the middle of read operations.
It seems that some cards do not tolerate releasing the card (by setting CS
high) after issuing CMD17 (and 18) and raising it again before reading
data. Somehow this causes the 0xfe data start marker not being read and
SDCard.readinto() is spinning forever (or until this byte is in the data).

This seems to fix weird behviour of SDCard.readblocks() returning different
data, also solved hanging os.mount() for my case with a 16GB Infineon card.

This stackexchange answer gives more context:
https://electronics.stackexchange.com/questions/307214/sd-card-spi-interface-issue-read-operation-returns-0x3f-0xff-instead-of-0x7f-0#307268
2018-07-05 19:39:06 +10:00
..
bus drivers/bus: Pull out software SPI implementation to dedicated driver. 2018-03-10 00:59:43 +11:00
cc3000 drivers/cc3200: Update to work with new stm32 SPI API. 2018-02-05 14:32:56 +11:00
cc3100 drivers: Update CC3100 driver library to SDK release version 1.1.0. 2015-03-16 00:42:08 +01:00
dht stm32: Add support for DHT11/DHT22 sensors. 2018-01-31 18:12:53 +11:00
display drivers/display/ssd1306: Fix super() call in SSD1306 driver. 2018-01-10 17:56:10 +11:00
memory drivers/memory/spiflash: Add functions for direct erase/read/write. 2018-06-14 16:52:56 +10:00
nrf24l01 drivers/nrf24l01: Make driver and test run on pyboard, ESP8266, ESP32. 2017-11-20 11:37:47 +11:00
onewire drivers/onewire: Enable pull-up when init'ing the 1-wire pin. 2017-06-26 17:48:05 +10:00
sdcard drivers/sdcard: Do not release CS during the middle of read operations. 2018-07-05 19:39:06 +10:00
wiznet5k drivers/wiznet5k: Fix bug with MACRAW socket calculating packet size. 2018-06-01 13:44:09 +10:00
README.md Added 'drivers' directory, intended to hold code for specific hardware. 2014-09-01 22:52:37 +01:00

README.md

This directory contains drivers for specific hardware. The drivers are intended to work across multiple ports.