Machine-translated by Google. Questions are authored in English.
Top

Discussion

An SPI transfer is inherently

  • A.broadcast, every slave receiving every byte
  • B.full duplex, a byte going each way at once
  • C.half duplex, the direction being reversed between bytes
  • D.simplex, data flowing only from master to slave

Answer: B

Shifting a byte out of the master shifts one in from the slave on the same clocks, so a read is performed by sending a dummy byte. Devices that have nothing to send return a fixed pattern, which is worth knowing when debugging.

No comment is present. Be the first to comment.
Loading…

Post your comment

Please log in or register to post a comment.