sdcardio: add a note about sharing the SPI bus with SD cards and other devices

Similar to https://github.com/adafruit/Adafruit_CircuitPython_SD/pull/44
This commit is contained in:
Jeff Epler 2021-02-09 10:07:12 -06:00
parent 5ba28e9861
commit ba2b65586f
1 changed files with 6 additions and 0 deletions

View File

@ -55,6 +55,12 @@
//| Data transfers use the specified baurate (rounded down to one that is supported by
//| the microcontroller)
//|
//| .. important::
//| If the same SPI bus is shared with other peripherals, it is important that
//| the SD card be initialized before accessing any other peripheral on the bus.
//| Failure to do so can prevent the SD card from being recognized until it is
//| powered off or re-inserted.
//|
//| Example usage:
//|
//| .. code-block:: python