Jump to content


  • Content Count

  • Joined

  • Last visited

Reputation Activity

  1. Like
    aimepinto reacted to roadrunner84 in [Energia Library] Petit FatFS SD Card Library   
    Contrary to UART, SPI does not have such an ambiguity.
    In UART there is a Tx and an Rx pin, which mean one pin is receiving and one pin is transmitting. To have two devices chatting to eachothter, one should have the transmitting pin from party A connected to the receiving pin of party B and vice versa.
    In SPI on the other hand, the pins are explicitly described by their role. The Master In, Slave Out (MISO) pin is the receiving pin on the master, but the transmitting pin on the slave. In the same fashion the Master Out, Slave In (MOSI) is the transmitting pin on the master but the receiving pin on the slave. The only thing to figure out now is which party is the slave and which the master. This is (in my view) obvious; the controller is the master, the card is the slave.
  • Create New...