User manual
RIGOL Chapter 2 Command System
2-28 MSO5000 Programming Guide
:BUS<n>:SPI:SS:POLarity
Syntax
:BUS<n>:SPI:SS:POLarity <polarity>
:BUS<n>:SPI:SS:POLarity?
Description
Sets or queries the polarity of CS line of SPI decoding.
Parameter
Name
Type
Range
Default
<n>
Discrete
{1|2|3|4}
——
<polarity>
Discrete
{HIGH|LOW}
LOW
Remarks
HIGH: indicates that the oscilloscope samples data of the source channel of data
line on the specified edge of the clock signal when the CS signal is high level.
LOW: indicates that the oscilloscope samples data of the source channel of data
line on the specified edge of the clock signal when the CS signal is low level.
Return
Format
The query returns HIGH or LOW.
Example
:BUS1:SPI:SS:POLarity HIGH /*Sets the polarity of CS line of SPI decoding to HIGH.*/
:BUS1:SPI:SS:POLarity? /*The query returns HIGH.*/