How do you read the I2C bus on an oscilloscope?

How do you read the I2C bus on an oscilloscope?

  1. Press “Bus B1” and use Multipurpose a to select “I2C” (tell the oscilloscope which type of data to expect)
  2. Select “Define Inputs” Use Multipurpose a to select “SCL” on Channel 2 (assign CLK channel to be SCL) Use Multipurpose b to select “SDA” on Channel 1 (assign DATA channel to be SDA)

How do you read I2C signals?

A basic Master to slave read or write sequence for I2C follows the following order:

  1. Send the START bit (S).
  2. Send the slave address (ADDR).
  3. Send the Read(R)-1 / Write(W)-0 bit.
  4. Wait for/Send an acknowledge bit (A).
  5. Send/Receive the data byte (8 bits) (DATA).
  6. Expect/Send acknowledge bit (A).
  7. Send the STOP bit (P).

How does I2C sensor work?

How the Temperature Sensor Works. I2C devices exchange bits of data whenever the shared clock signal changes. Controller and peripheral devices both send bits of data when the clock changes from low to high (called the rising edge of the clock). Unlike with SPI, they cannot send data at the same time.

What is I2C in circuit?

I2C stands for Inter-Integrated Circuit. It is a bus interface connection protocol incorporated into devices for serial communication. It was originally designed by Philips Semiconductor in 1982. Recently, it is a widely used protocol for short-distance communication. It is also known as Two Wired Interface(TWI).

How to read the I2C bus on an oscilloscope?

Part 2 of Mastering the Oscilloscope will introduce decoding for I²C circuits. Oscilloscopes offer a variety of tools to help diagnose troublesome circuits. In this tutorial, we will use the oscilloscope to read an I²C serial bus.

How do you set up an oscilloscope?

Next, you’ll need to set up your oscilloscope. To do that, follow these steps: Turn on the oscilloscope and wait until it completes its self-tests. Plug probes into Channel 1 and Channel 2. Connect the probe’s ground clip to a ground point in the circuit (use a jumper wire if necessary).

How long does it take to decode an I2C bus?

In under 15 minutes, we decoded an I²C bus and, from across the room, saved the data to a computer for analysis. And now that the shared folder is established, future work can be accomplished in just a few minutes. This automatic decoding process is much more effective than simply probing the signals and trying to manually interpret logic levels.

Where is decoded data stored on an oscilloscope?

Decoded data is stored in an event table. You can save it to a USB drive or to your computer. Since plugging in a USB drive is a trivial example, we’ll do it the hard way by remotely controlling the scope. The steps below are specific to Microsoft Windows and the Tektronix MDO3000 and MDO4000 series of scopes.