1Aug/1420

I2C Bus

Read carefully the subject before answering. The document given in here describes the I2C bus.

Question1 (1point) Is this standard issued from an official standardization agency (ISO,ITU,…) or from the scientific/industrial community (IEEE,IETF,…)?

Question2 (1point) How many wires are necessary to transport data? What is the purpose of the clock signal?

Question3 (1point) With a bus running at 100Mbit/s, give the modulation rate of the SCL line?

Question4 (1point) Why only one address is needed on the frame?

Question5 (1point) Can the Ack bit be used to detect transmission errors?

Question6 (1point) Does the standard define a method to allocate slave addresses dynamically?

We plan to build a device composed of an Arduin omicro-controller, a LED screen and a keyboard. The goal is to display on the screen messages written on the keyboard.

Question7 (1point) Which element will be the master?

Question8 (1point) Is the master informed when a character is typed on the keyboard?

Question9 (1point) Can text be sent directly from the keyboard to the screen?

Question10 (2points) Give a time diagram describing how a character will be sent from the keyboard to the screen

Question11 (2points) We suppose the bus speed is 100 Mbit/s. The keyboard has to send 10bytes of data, what will be the real throughput for that transfer?(several answers are possible so explain well what are your hypothesis to compute that throughput)

Question12 (1point) What is the benefit of the repeated Start(Sr)?

Question13 (2points) Explain when Clock stretching is needed

Question14 (1point) Can the master broadcast frames to all slaves?

Question15 (3points) Can the master dynamically discovers newly connected devices to the bus? Propose a protocol to do so.

This content is published under the Attribution-Noncommercial-No Derivative Works 3.0 Unported license.

Tags: , , ,

20 Responses to “I2C Bus”

  1. admin says:

    Question1 (1point) Is this standard issued from an official
    standardization agency (ISO,ITU,…) or from the scientific/industrial
    community (IEEE,IETF,…)?

  2. admin says:

    Question2 (1point) How many wires are necessary to transport data? What is the purpose of the clock signal?

    • Armando Segnini says:

      Only 2 bus lines (wires) are required. A serial data line (SDA) and serial clock line (SCL). The clock signal synchronizes the slaves and permit the data transfer

  3. admin says:

    Question3 (1point) With a bus running at 100Mbit/s, give the modulation rate of the SCL line?

  4. admin says:

    Question4 (1point) Why only one address is needed on the frame?

    • Armando Segnini says:

      The I2C bus is a multi-master bus and each device is recognized by a unique address. If A(Master) wants to send information to B (Slave), then A addresses B. If A(Master) wants to receive information to B (Slave), then A addresses B too.

  5. admin says:

    Question5 (1point) Can the Ack bit be used to detect transmission errors?

    • Sally Lora says:

      No, because the ACK bit allows the receiver to signal the transmitter that the byte was successfully received and another byte may be sent, that is means that ACK only tells that the message was received. 

  6. admin says:

    Question6 (1point) Does the standard define a method to allocate slave addresses dynamically?

  7. admin says:

    Question7 (1point) Which element will be the master?

  8. admin says:

    Question8 (1point) Is the master informed when a character is typed on the keyboard?

  9. admin says:

    Question9 (1point) Can text be sent directly from the keyboard to the screen?

  10. admin says:

    Question10 (2points) Give a time diagram describing how a character will be sent from the keyboard to the screen

  11. admin says:

    Question11 (2points) We suppose the bus speed is 100 Mbit/s. The
    keyboard has to send 10bytes of data, what will be the real throughput
    for that transfer?(several answers are possible so explain well what are
    your hypothesis to compute that throughput)

  12. admin says:

    Question12 (1point) What is the benefit of the repeated Start(Sr)?

  13. admin says:

    Question13 (2points) Explain when Clock stretching is needed

  14. admin says:

    Question14 (1point) Can the master broadcast frames to all slaves?

  15. admin says:

    Question15 (3points) Can the master dynamically discovers newly connected devices to the bus? Propose a protocol to do so.

Leave a Reply

Your email address will not be published. Required fields are marked *