Rigol DS7034 User Programming Manual page 38

Mso7000 series; ds7000 series; digital oscilloscope
Hide thumbs Also See for DS7034:
Table of Contents

Advertisement

RIGOL
:BUS<n>:SPI:SCLK:SLOPe
Syntax
:BUS<n>:SPI:SCLK:SLOPe <slope>
:BUS<n>:SPI:SCLK:SLOPe?
Description
Sets or queries the clock edge type of SPI decoding.
Parameter
Name
<n>
<slope>
Return
The query returns POS or NEG.
Format
Example
:BUS1:SPI:SCLK:SLOPe NEGative /*Sets the clock edge type of SPI decoding to
:BUS1:SPI:SCLK:SLOPe?
:BUS<n>:SPI:MISO:SOURce
Syntax
:BUS<n>:SPI:MISO:SOURce <source>
:BUS<n>:SPI:MISO:SOURce?
Description
Sets or queries the MISO data source of SPI decoding.
Parameter
Name
<n>
<source>
Return
The query returns D0, D1, D2, D3, D4, D5, D6, D7, D8, D9, D10, D11, D12, D13, D14,
Format
D15, CHAN1, CHAN2, CHAN3, CHAN4, or OFF.
Example
:BUS1:SPI:MISO:SOURce D0
:BUS1:SPI:MISO:SOURce?
:BUS<n>:SPI:MISO:POLarity
Syntax
:BUS<n>:SPI:MISO:POLarity <polarity>
:BUS<n>:SPI:MISO:POLarity?
Description
Sets or queries the polarity of MISO data line of SPI decoding.
Parameter
Name
<n>
<polarity>
Remarks
High: indicates that low level is 1, and high level is 0.
Low: indicates that high level is 1, and low level is 0.
Return
The query returns HIGH or LOW.
Format
Example
:BUS1:SPI:MISO:POLarity HIGH
:BUS1:SPI:MISO:POLarity?
2-24
Type
Range
Discrete
{1|2|3|4}
Discrete
{POSitive|NEGative}
/*The query returns NEG.*/
Type
Range
Discrete
{1|2|3|4}
{D0|D1|D2|D3|D4|D5|D6|D7|D8|D9|D10|D11|D
Discrete
12|D13|D14|D15|CHANnel1|CHANnel2|CHANnel
3|CHANnel4|OFF}
/*Sets the MISO data source of SPI decoding to D0.*/
/*The query returns D0.*/
Type
Range
Discrete
{1|2|3|4}
Discrete
{HIGH|LOW}
NEGative.*/
/*Sets the polarity of MISO data line to HIGH.*/
/*The query returns HIGH.*/
MSO7000/DS7000 Programming Guide
Chapter 2 Command System
Default
——
POSitive
Default
——
OFF
Default
——
LOW

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ds7054Ds7024Ds7014Mso7034Mso7024Mso7014 ... Show all

Table of Contents