User manual

Chapter 2 Command System RIGOL
DS4000E Programming Guide 2-31
Remarks
MSB: Most Significant Bit. The transmission sequence shall be is in descending order.
LSB: Least Significant Bit. The transmission sequence shall be is in ascending order.
Return Format
The query returns MSB or LSB.
:BUS<n>:SPI:MISO:POLarity
Syntax
:BUS<n>:SPI:MISO:POLarity <pol>
:BUS<n>:SPI:MISO:POLarity?
Description
Sets or queries the polarity of MISO data line of SPI decoding on the specified bus.
Parameter
Name Type Range Default
<n> Discrete {1|2}
--
<pol> Discrete {HIGH|LOW} HIGH
Remarks
If the source channel of MISO data line of SPI decoding on the specified bus is not set (refer to
the :BUS<n>:SPI:MISO:SOURce command), the :BUS<n>:SPI:MISO:POLarity <pol>command is
invalid.
LOW: indicates that low level is 1 and high level is 0.
HIGH: indicates that high level is 1 and low level is 0.
Return Format
The query returns HIGH or LOW.
:BUS<n>:SPI:MISO:SOURce
Syntax
:BUS<n>:SPI:MISO:SOURce <source>
:BUS<n>:SPI:MISO:SOURce?
Description
Sets or queries the source channel of MISO data line of SPI decoding on the specified bus.
Parameter
Name
Type
Range
Default
<n> Discrete {1|2} --
<source> Discrete {CHANnel1|CHANnel2|CHANnel3|CHANnel4|OFF} CHANnel2
Remarks
When <source> is set to "OFF", it indicates that the source channel of MISO data line is not set.
If <source> is set to "CHANnel1", "CHANnel2", "CHANnel3", or "CHANnel4", you can use
the :BUS<n>:SPI:MISO:THReshold command to set the threshold of the source channel of MISO data
line.
The source channels of MISO data line and MOSI data line (refer to the :BUS<n>:SPI:MOSI:SOURce
command) cannot be both set to "OFF".