Instructions

RIGOL Chapter 2 Command System
2-44 DS1000Z-E Programming Guide
:DECoder<n>:SPI
The :DECoder<n>:SPI commands are used to set the SPI decoding parameters.
Command List:
:DECoder<n>:SPI:CLK
:DECoder<n>:SPI:MISO
:DECoder<n>:SPI:MOSI
:DECoder<n>:SPI:CS
:DECoder<n>:SPI:SELect
:DECoder<n>:SPI:MODE
:DECoder<n>:SPI:TIMeout
:DECoder<n>:SPI:POLarity
:DECoder<n>:SPI:EDGE
:DECoder<n>:SPI:ENDian
:DECoder<n>:SPI:WIDTh
:DECoder<n>:SPI:CLK
Syntax :DECoder<n>:SPI:CLK <clk>
:DECoder<n>:SPI:CLK?
Description Set or query the signal source of the clock channel in SPI decoding.
Parameter
Name
Type
Range
Default
<n> Discrete {1|2} --
<clk> Discrete {CHANnel1|CHANnel2} CHANnel1
Return
Format
The query returns CHAN1 or CHAN2.
Example
:DECoder1:SPI:CLK CHANnel1 /*Set the signal source of the clock channel in SPI
decoding to CH1*/
:DECoder1:SPI:CLK? /*The query returns CHAN1*/
:DECoder<n>:SPI:MISO
Syntax :DECoder<n>:SPI:MISO <miso>
:DECoder<n>:SPI:MISO?
Description Set or query the MISO channel source in SPI decoding.
Parameter
Name
Type
Range
Default
<n> Discrete {1|2} --
<miso> Discrete {CHANnel1|CHANnel2|OFF} OFF