IIC / SPI

To answer these study questions and to prepare for the in-class quiz, please search the web to find answers to the questions listed below.

I2C

  1. How many wires does the I2C require? What are they named?
  2. (T or F) Standard mode clock speed is 100 kbits per second.
  3. (T or F) I2C only supports a single master.
  4. How is a data transfer initiated (describe how the I2C wires behave in detail)?
  5. When data is transitioning, what must the logical value of the clock be? Is it a ‘1’ or a ‘0’?
  6. How is a stop bit signaled? Who signals it?
  7. How does the I2C master select a slave?
  8. (T or F) The master must transmit an address for every byte written to a slave.
  9. How does the master indicate whether it is reading or writing to/from the slave?
  10. How are transactions acknowledged?
  11. How does a master tell if arbitration is necessary?
  12. When is arbitration necessary?

SPI

  1. What is the minimum number of wires required by SPI. What are their names?
  2. How does the master select a slave for a transaction?
  3. (T or F) SPI communication between slave and master is full duplex. How does this work in practice?
  4. Be able to explain CPOL and CPHA.