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

Discussion

An SPI bus at 8 MHz transferring 512 bytes takes about

  • A.64 \( \mu \)s, one eighth of the correct figure
  • B.4.1 ms
  • C.8 \( \mu \)s
  • D.512 \( \mu \)s

Answer: D

Eight bits per byte at 8 MHz is one microsecond a byte, so 512 of them take about half a millisecond plus whatever gaps the driver leaves between bytes. Those gaps dominate on an interrupt-per-byte driver, which is the argument for DMA.

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

Post your comment

Please log in or register to post a comment.