Merge pull request #4163 from jepler/spi-sharing-note

sdcardio:  add a note about sharing the SPI bus with SD cards and other devices
This commit is contained in:
Scott Shawcroft 2021-02-09 11:42:22 -08:00 committed by GitHub
commit cd05aa5223
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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