Skip to content

Commit

Permalink
Merge pull request #44 from adafruit/spi-sharing-note
Browse files Browse the repository at this point in the history
add a note about sharing the SPI bus with SD cards and other devices
  • Loading branch information
dhalbert committed Feb 9, 2021
2 parents 8f606ee + 1393707 commit 980e7b2
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,16 @@ select (cs) connections.
with open("/sd/test.txt", "w") as f:
f.write("Hello world\n")
Sharing the SPI bus with other devices
======================================

.. 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.


Contributing
============

Expand Down

0 comments on commit 980e7b2

Please sign in to comment.