Embedded Systems & Firmware

Which set of four signals is generally used by SPI?

  1. ASDA and SCL, plus power and ground
  2. BSCLK (clock), MOSI (master out), MISO (master in) and CS (chip select)
  3. CTX and RX, plus RTS and CTS
Show answer and explanation

Answer: B. SCLK (clock), MOSI (master out), MISO (master in) and CS (chip select)

In SPI, the master drives the clock on SCLK, sends data on MOSI (master out, slave in) and simultaneously receives data on MISO (master in, slave out). CS selects which slave to talk to, so three slaves normally need three CS lines. MOSI and MISO also go by other names, such as COPI and CIPO or SDO and SDI.

  • A. Those are I2C signals.
  • B. Correct. Names such as COPI and CIPO are also used.
  • C. Those are UART signals with flow-control lines.

Related calculators

Books on Embedded Systems & Firmware Ad

Learn hands-on: parts and kits

Building real circuits is a good way to check what you learned in the questions.

As an Amazon Associate I earn from qualifying purchases.

More Embedded Systems & Firmware questions

  1. When an SPI part is connected but correct data cannot be read, which setting is most worth checking?
  2. What is a characteristic of I2C communication?
  3. In I2C, how does the receiver of a data byte acknowledge it?
  4. You want to connect two identical I2C temperature sensors to the same I2C bus, but both have the same address. Which is a correct solution?
  5. Which comparison of UART, SPI and I2C is correct?

Comparisons in this topic