UNI-T MSO/UPO2000 Series Programming Manual page 89

Digital phosphor oscilloscope
Table of Contents

Advertisement

Programming Manual
:SBUS:SPI:CS:SOURce?
:SBUS:SPI:CLOCk:SOURce
Command format:
:SBUS:SPI:CLOCk:SOURce {CHANnel1|CHANnel2|CHANnel3|CHANnel4|<Dx>}
:SBUS:SPI:CLOCk:SOURce?
Functional description:
This command is used to set SPI bus clock source of the oscilloscope.
<Dx>: It presents the oscilloscope has LA function and it can set D0-D15 channel as the bus decoding source.
Return format:
Query returns {CHANnel1|CHANnel2|CHANnel3|CHANnel4|<Dx>}.
For example:
:SBUS:SPI:CLOCk:SOURce CHANnel1
:SBUS:SPI:CLOCk:SOURce?
:SBUS:SPI:MOSI:SOURce
Command format:
:SBUS:SPI:MOSI:SOURce {CHANnel1|CHANnel2|CHANnel3|CHANnel4|<Dx>|OFF}
:SBUS:SPI:MOSI:SOURce?
Functional description:
This command is used to set SPI bus master input slaver output source of the osciolloscope.
<Dx>: It presents the oscilloscope has LA function and it can set D0-D15 channel as the bus decoding source.
Return format:
Query returns {CHANnel1|CHANnel2|CHANnel3|CHANnel4|<Dx>|OFF}.
For example:
:SBUS:SPI:MOSI:SOURce CHANnel1
Set channel 1 as SPI bus master input slaver output source.
:SBUS:SPI:MOSI:SOURce?
:SBUS:SPI:BITorder
Command format:
:SBUS:SPI:BITorder {LSBFirst | MSBFirst}
:SBUS:SPI:BITorder?
Functional description:
This command is used to set SPI bus decoding byte order of the oscilloscope, which includes LSBFirst and
MSBFirst.
Return format:
Query returns {LSBFirst | MSBFirst}.
For example:
:SBUS:SPI:BITorder LSBF
Instruments.uni-trend.com
Query returns CHANnel1.
Set channel 1 as SPI bus clock source.
Query returns CHANnel1.
Query returns CHANnel1.
Set SPI bus decoding byte order to LSB.
MSO/UPO2000 Series
89 / 156

Advertisement

Table of Contents
loading

Table of Contents