• English
  • Products

    Protocol Exercisers & Analyzers

    • Storage
    • PCIe Protocol Analyzer
    • UFS 4.0 Protocol Analyzer
    • UFS 3.0 Protocol Analyzer
    • SoC based UFS Tester
    • eMMC,SD,SDIO Protocol Analyzer
    • SD, eMMC AC/DC Tester
    • SoC based eMMC Tester
    • QSPI Protocol Exerciser & Analyzer
    • UHS II Protocol Exerciser & Analyzer
    • Mobile
    • I3C Protocol Exerciser & Analyzer
    • RFFE Protocol Exerciser & Analyzer
    • Automotive
    • 100Base-T1 Automotive Ethernet Protocol Analyzer

    Protocol Exercisers & Analyzers

    • Computer
    • PCIe Protocol Analyzer
    • UART Protocol Exerciser & Analyzer
    • SPMI Protocol Exerciser & Analyzer
    • Others
    • I2C/SPI Protocol Exerciser & Analyzer
    • PMBus Protocol Exerciser & Analyzer
    • JTAG Protocol Exerciser & Analyzer
    • SMBus Protocol Exerciser & Analyzer
    • MDIO Protocol Exerciser & Analyzer
    • 100G 802.3_2015 BERT & Analyzer

    Logic Analyser

    • Discovery series for Embedded Interface

    Oscilloscope Based Software

    • Memory
    • UFS 3.0
    • QSPI
    • ONFI v4
    • eMMC 5.1/5.0/4.51
    • SD
    • Automotive
    • 10BaseT1S
    • 100Base T1
    • FlexRay
    • Others
    • I2C
    • SPI
    • UART
    • I2S
    • JTAG
    • SMBus

    Oscilloscope oftware

    • Computer
    • USB-PD
    • USB 2.0
    • USB 3.0
    • USB 3.1
    • STEPg1
    • PCIe
    • SPMI
    • HDMI
    • MHL
    • ESPI
    • Mobile
    • I3C EV
    • I3C PD
    • UniPRO
    • LLI
    • RFFE
    • HSIC
    • DigRF v4
    • SSIC
  • Resources

    Datasheets

    Application Notes

    Videos

    • Protocol Analyzer
    • Logic Analyzer

    blogs

    Forum

    Prodigy Partner Central

    • Login
  • Company

    Overview

    • About Us
    • Leadership Team

    Distributors

    • I2C
    • I3C
    • Other Protocols

    News

    • News
    • Automotive

    events

    • Webinar

    Newsletters

    • Automotive
  • Career
  • Support
What can we help you find?
  • Products

    Protocol Exercisers & Analyzers

    • Storage
    • PCIe Protocol Analyzer
    • UFS 4.0 Protocol Analyzer
    • UFS 3.0 Protocol Analyzer
    • SoC based UFS Tester
    • eMMC,SD,SDIO Protocol Analyzer
    • SD, eMMC AC/DC Tester
    • SoC based eMMC Tester
    • QSPI Protocol Exerciser & Analyzer
    • UHS II Protocol Exerciser & Analyzer
    • Mobile
    • I3C Protocol Exerciser & Analyzer
    • RFFE Protocol Exerciser & Analyzer
    • Automotive
    • 100Base-T1 Automotive Ethernet Protocol Analyzer

    Protocol Exercisers & Analyzers

    • Computer
    • PCIe Protocol Analyzer
    • UART Protocol Exerciser & Analyzer
    • SPMI Protocol Exerciser & Analyzer
    • Others
    • I2C/SPI Protocol Exerciser & Analyzer
    • PMBus Protocol Exerciser & Analyzer
    • JTAG Protocol Exerciser & Analyzer
    • SMBus Protocol Exerciser & Analyzer
    • MDIO Protocol Exerciser & Analyzer
    • 100G 802.3_2015 BERT & Analyzer

    Logic Analyser

    • Discovery series for Embedded Interface

    Oscilloscope Based Software

    • Memory
    • UFS 3.0
    • QSPI
    • ONFI v4
    • eMMC 5.1/5.0/4.51
    • SD
    • Automotive
    • 10BaseT1S
    • 100Base T1
    • FlexRay
    • Others
    • I2C
    • SPI
    • UART
    • I2S
    • JTAG
    • SMBus

    Oscilloscope oftware

    • Computer
    • USB-PD
    • USB 2.0
    • USB 3.0
    • USB 3.1
    • STEPg1
    • PCIe
    • SPMI
    • HDMI
    • MHL
    • ESPI
    • Mobile
    • I3C EV
    • I3C PD
    • UniPRO
    • LLI
    • RFFE
    • HSIC
    • DigRF v4
    • SSIC
  • Resources

    Datasheets

    Application Notes

    Videos

    • Protocol Analyzer
    • Logic Analyzer

    blogs

    Forum

    Prodigy Partner Central

    • Login
  • Company

    Overview

    • About Us
    • Leadership Team

    Distributors

    • I2C
    • I3C
    • Other Protocols

    News

    • News
    • Automotive

    events

    • Webinar

    Newsletters

    • Automotive
  • Career
  • Support
  • English

Overview

In the realm of embedded systems, I2C (Inter-Integrated Circuit) is a widely used communication protocol that enables devices to communicate with each other over a short distance. One critical aspect of I2C communication is clock stretching, which allows slower devices to control the pace of communication by holding the clock line low. One of the challenge for design engineer to monitor the infrequent clock stretching event while multiple I2C connected in the bus. Which device is stretching the clock and how it is affecting the performance of the embedded system.

The PGY-LA-EMBD, a high-performance logic analyzer, offers advanced features for analyzing I2C signals, including pulse width triggering of clock stretching. This document provides an overview of how pulse width triggering on clock stretching can be achieved using the PGY-LA-EMBD logic analyzer.

Clock Stretching in I2C

Clock stretching is a mechanism used in I2C communication where a slave device can hold the SCL (clock line) low to signal the master to wait before continuing communication (as illustrated in Figure1). This ensures data integrity when the slave needs more time to process information. The master device must wait until the slave releases the SCL line before resuming communication. This feature is particularly useful when the slave requires extra time for processing, buffering, or synchronization, but it does require the master to support clock stretching for the communication to proceed correctly.

Figure 1: I2C Clock Stretching

Pulse Width Triggering

Pulse width triggering is a powerful feature in logic analysers that allows users to capture events based on the duration of a pulse. In the context of I2C clock stretching, this feature is particularly useful for detecting and analysing instances where the clock line (SCL) is held low for clock stretching to by the device in a i2C since this device needs more time to respond. In an I2C bus, not all devices will equal response time. Though I2C bus may work 10Kbps speed, to capture infrequent event of clock stretching in an logic analyser or I2C analyser is difficult. The pulse width triggering enables the capturing of this event by setting pulse width trigger by setting pulse width more than 100Kbps data rate. This capability helps engineers identify timing issues, performance bottlenecks, and other anomalies in I2C communication.

The PGY-LA-EMBD offers various triggering options, including pattern triggers, protocol-aware triggers, and timing parameter triggers. The timing parameter trigger, a form of pulse width triggering, allows users to set the pulse width on the negative edge. This means the PGY-LA-EMBD will trigger on the negative edge if the clock line stays low longer than the specified pulse width.

igure 2: Pulse width trigger setting on PGY-LA-EMBD

Figure 2: Pulse width trigger setting on PGY-LA-EMBD

For example, in Figure 2, the pulse width triggering is configured with a pulse width greater than 10,000 ns on the negative edge. In this example, the I2C signal is captured with a frequency of 100 kHz and a period of 10,000 ns. At some instances, clock stretching occurs, and the pulse width triggering feature in the PGY-LA-EMBD is used to capture these events accurately.

Figure 3: waveform captured for I2C Clock stretching

Figure 3: waveform captured for I2C Clock stretching

Figure 3 illustrates an I2C waveform during a write-read transmission. After the read transmission, the clock is stretched during the write message, resulting in a clock stretching event lasting 30,000 ns. Vertical cursors are used to measure the duration of this clock stretching. Clock stretching occurs when the I2C slave device holds the clock line (SCL) low, temporarily pausing communication to process data. In this example, the PGY-LA-EMBD logic analyzer is configured to trigger on clock stretches longer than 10,000 ns to capture this infrequent event. When this threshold is exceeded, logic analyzer with I2C decoding capability will notify the trigger point is marked with a “T” on the bus view, making it easy to identify and analyse the delay. This setup helps diagnose timing and performance issues in I2C communication, ensuring reliable operation.

Conclusion

Pulse width triggering of clock stretching on I2C using the PGY-LA-EMBD logic analyzer with I2C decoding capability provides a robust method for analysing and troubleshooting I2C communication. By leveraging the advanced triggering capabilities of the PGY-LA-EMBD, engineers can gain deeper insights into the timing behaviour of their I2C systems, ensuring reliable and efficient communication in their embedded applications.

Tags: Clock StretchingI2CLogic Analyzer
  • Previous Simplify I3C Devices Testing In Production Environment
  • Next Prodigy Technovations Introduces Powerful PCIe Gen5 Protocol Analyzer

Leave a Reply Cancel reply

You must be logged in to post a comment.

Recent Posts

  • Sideband Signal Analysis for PCIe Interfaces Using PGY-PCIeLP-SBA
  • PCIe Sideband signal operation during lower Power entry and exit
  • PCIe Side Band Signals functionalities at power on state of PCIe interface
  • UFS 4.0 in Automotive: Powering Next-Generation Vehicles
  • Understanding Clock Stretching in I²C Communication and How PGY-I2C-EX-PD Simplifies Debugging

Recent Comments

No comments to show.

Archives

  • May 2025
  • April 2025
  • March 2025
  • October 2024
  • August 2024
  • July 2024
  • February 2024
  • December 2023
  • June 2023
  • May 2023
  • January 2021
  • November 2020
  • April 2020
  • September 2019

Categories

  • All products
  • Automotive
  • Datasheet
  • Device
  • Differences
  • eMMC
  • I2C
  • I3C
  • Logic Analyzer
  • Memory
  • news
  • PCIe
  • Protocols
  • SPI
  • UFS
  • Uncategorized
  • XSPI Protocol Analyzer

Search

Categories

  • All products
  • Automotive
  • Datasheet
  • Device
  • Differences
  • eMMC
  • I2C
  • I3C
  • Logic Analyzer
  • Memory
  • news
  • PCIe
  • Protocols
  • SPI
  • UFS
  • Uncategorized
  • XSPI Protocol Analyzer

Tags

Clock Stretching DDR5 I2C I3C I3C Protocol Logic Analyzer Passed PCIe UFS UFS 4.0 Webinar

Our team represents a talented, experienced, and highly specialized group of development engineers, sales and marketing specialists. Through many years of direct engineering involvement with our customers, our personnel have developed expertise in wide range of technologies in serial data.

Follow us on

Linkedin Twitter Facebook Youtube

Quick links

  • Products
  • Resources
  • Company
  • Career
  • Support

Contact info

Prodigy Technovations Pvt Ltd

#294, 3rd Floor, 7th Cross, 7th Main, BTM II Stage,Bangalore – 560 076 | India

+91 80 4212 6100

contact@prodigytechno.com

© 2023 Prodigy Technovations. All Rights Reserved

Request Quote
Request Demo

UFS 4.0

 

PGY-UFS4.0-PA, UFS Protocol Analyzer is the industry-first working and tested UFS4.0 Protocol Analyzer. It offers protocol data capture and debugging of data across MPHY, UniPro, and UFS protocol layers…

 

X
  • English