臺灣服務中心

241新北市三重區重新路四段97號23樓之2

您的位置: 主頁 >技術文章 >Content
Use your oscilloscope to decode communication protocols
- 2017-6-23 10:00:00 -

The development of digital oscilloscopes has greatly reduced the difficulty of low-speed bus debugging, whether it is I2C/IIC, SPI or CAN, there are oscilloscopes that can directly convert the waveform into data. These oscilloscopes crack several communication protocols so let’s have a look at how this evolved:

 

1. The development of oscilloscope brings convenience to protocol decoding

Oscilloscopes have evolved from analogue oscilloscopes to digital oscilloscopes, bringing many major changes, such as signal acquisition, bandwidth, sampling rate, and display type. Similarly, this change is also reflected in "protocol decoding", this new way to decode signals frees people from full "0", "1" manual decoding, greatly improving efficiency.

Here, we look specifically at the changes of protocol decoding by the development of oscilloscopes.

2. Initial Protocol Decoding

 

2. Initial Protocol Decoding

 

The early oscilloscopes could only achieve simple waveform displays and data measurement, if we required a deep understanding of a protocol waveform, we would have to analyse it section by section.

For example: to observe the I2C/IIC protocol, (a clock signal, a data signal) we would need to follow the clock and data signal one by one to "translate" it into the form we needed, and then match this with the corresponding physical value. This is not only leads to a large workload but is inefficient and prone to error.

 

3. Current Protocol Decoding

Now direct decoding of waveform data that is presented in hexadecimal, decimal or characters is possible. This saves considerable time and greatly accelerates development efficiency.