The ultimate I2C Master and Slave Test Device
The most common use of an I2C interface is to send and receive data in compliance with the I2C specification. This implies that the device we are talking to is known to conform to the I2C standard, as well. However, there are situations in which this particular aspect of a device is to be tested, i.e. where the goal is to determine whether or not a device is fully compliant with the I2C specification and how this device behaves in case of ill-formed signals. Our negative tester is designed to fulfil all requirements introduced by this kind of application. It is capable of acting as master or as slave. In both roles it allows to control all relevant low-level aspects of bus communication, in particular it provides functionality to define the timing for each and every bit. It is even possible to send out patterns which violate the standard, e.g. make a "byte" six bits long. In slave mode the negative tester permits to stretch the clock at any time. The user has full control over arbitration handling in master mode. Further more, independent configurable output signals can be used to trigger external events or to flag certain states in real time.
A graphical user interface enables you to create complex test scenarios from existing elementary test steps without any programming. These test cases can be stored for later use and test reproduction.
Key Features
Key Features
- USB 2.0 host interface
- Solid stainless steal housing
- No extra power supply required (powered through USB bus)
- Comprehensive scripting facility to define test cases. C# (C Sharp) is used as scripting language to allow for common constructs like loops and branches.
- Low level functions allow exact control of timing
- High level functions are used to generate standard I2C patterns
- Scripts are executed on-target, i.e. there is no USB latency to be considered when running the test scripts
- Control over arbitration behaviour in master mode
- Repeat functionality for stress tests
- Software-adjustable bus termination
- Set of sample scripts to get started
- Ability to generate independent output signals
- Seamlessly integrates with the I2C Studio and the I2C Framework
- TWI bus support
Test Cases
Test Cases
I2C Studio offers the following predefined test cases:
- The "master clock diversifying" test transfers I2C messages to the I2C bus, which contain longer pauses between some of the bits. Using this test it is possible to check whether a slave works correctly with an asynchronous clock.
- The "master data" test transfers I2C messages with different lengths to the I2C bus.
- The "master speed" test transfers an I2C message with different bitrates. The purpose of this test is to verify that an I2C slave supports the specified bitrates.
- The "master stop" test transfers I2C messages to the I2C bus, which contain STOP conditions at illegal positions. E.g. a message like "Start, Addr, 5 Data Bits, Stop" gets created. The purpose of this test is to verify that an I2C slave reset its internal state machine correctly after receiving a STOP condition.
- The "master stress" test transfers an I2C message again and again for a specified time period. The purpose of this test is to verify that an I2C slave can process all I2C messages even on a fully loaded I2C bus.
- The "master timing" test transfers an I2C message to the I2C bus with different timings. Several combinations of t_HD;DAT, t_SU;DAT, and t_HIGH are tested. The tested minimum and maximum values conform to the values specified for standard- and fast-mode devices in The I2C-Bus Specification Version 2.1", section 15.1.
- The "slave" test emulates an I2C slave. The user can specify a frequency to which the slave stretches the clock. If the master e.g. sends with 400 kHz a value of 20 kHz will slow down the transfer to 20 kHz. The slave can send a NACK after receiving a specified number of bytes.
Hardware
Hardware
This device is based on the telos Tracii XL 2.0 platform. This let's you work with the negative tester in the same hardware and software environment as for other I2C tasks such as tracing and bus control. The physical and electrical aspects of the negative tester device are identical to the Tracii XL 2.0. If you are used to work with the telos I2C Framework, you will appriciate that working with the negative tester follows the known concepts.
Note that it is not possible to use the negative tester as I2C master or I2C tracer.
What You Need
What You Need
For testing your I2C bus you need the following tools
- telos I2C Negative Tester
- telos Tracii XL 2.0
- Tracii XL 2.0 Tracer Option
- 2 Mini Din Testprobes
Ask for this I2C Negative Tester Bundle, we have a special bundle price for, check our shop.
In case you already own a telos Tracii XL 2.0 with Tracer Option you simply order the telos I2C Negative Tester plus cables, only.







