RIGOL Chapter 2 Command System
2-126 DS1000Z Programming Guide
:TRIGger:IIC:WHEN
Syntax :TRIGger:IIC:WHEN <trig_type>
Set or query the trigger condition in I2C trigger.
Parameter
<trig_type> Discrete
{STARt|RESTart|STOP|NACKnowledge|ADD
STARt
Explanation STARt: trigger when the SDA data transitions from high to low while the SCL is
high.
RESTart: trigger when another start condition occurs before a stop condition.
STOP: trigger when the SDA data transitions from low to high while the SCL is
high.
NACKnowledge: trigger when the SDA data is high during any acknowledgement
of the SCL clock position.
ADDRess: trigger on the clock (SCL) edge corresponding to the byte of data
(SDA) behind the preset address (Write, Read or R/W direction).
DATA: the trigger searches for the control byte value on the data line (SDA)
following which there is a reading bit and an acknowledgement bit and then
searches for the specified data value. When this event occurs, the oscilloscope
will trigger on the clock edge of the acknowledgement bit behind the data byte.
ADATa: trigger when the “Address” and “Data” conditions are met at the same
The query returns STAR, STOP, NACK, REST, ADDR, DATA or ADAT.
:TRIGger:IIC:WHEN RESTart
:TRIGger:IIC:AWIDth
Syntax :TRIGger:IIC:AWIDth <bits>
Description Set or query the address bits when the trigger condition is ADDRess or ADATa in I2C
Parameter
The query returns 7, 8 or 10.
Related
Commands
:TRIGger:IIC:DIRection