EasyManua.ls Logo

Rigol DS1000Z Series

Rigol DS1000Z Series
172 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
RIGOL Chapter 2 Command System
2-126 DS1000Z Programming Guide
:TRIGger:IIC:WHEN
Syntax :TRIGger:IIC:WHEN <trig_type>
:TRIGger:IIC:WHEN?
Description
Set or query the trigger condition in I2C trigger.
Parameter
Name
Type
Range
Default
<trig_type> Discrete
{STARt|RESTart|STOP|NACKnowledge|ADD
Ress|DATA|ADATa}
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
time.
Return Format
The query returns STAR, STOP, NACK, REST, ADDR, DATA or ADAT.
Example
:TRIGger:IIC:WHEN RESTart
:TRIGger:IIC:AWIDth
Syntax :TRIGger:IIC:AWIDth <bits>
:TRIGger:IIC:AWIDth?
Description Set or query the address bits when the trigger condition is ADDRess or ADATa in I2C
trigger.
Parameter
Name
Type
Range
Default
<bits>
Discrete
{7|8|10}
7
Return Format
The query returns 7, 8 or 10.
Example
:TRIGger:IIC:AWIDth 10
Related
Commands
:TRIGger:IIC:DIRection
:TRIGger:IIC:ADDRess

Table of Contents

Other manuals for Rigol DS1000Z Series

Related product manuals