UNI-T
UPO 3000E&UPO2000E Series Oscilloscope Programming Manual
the polarity of host computer input slave computer output source as POSitive
:SBUS:SPI:MISO:POLarity?
query return POSitive
:SBUS:SPI:MOSI:POLarity
Command format:
:SBUS:SPI:MOSI:POLarity {NEGative | POSitive}
:SBUS:SPI:MOSI:POLarity?
Functional description:
Set host computer output slave computer input polarity of SPI bus, POSitive and NEGative.
Return format:
Query return{NEGative | POSitive}.
For example:
:SBUS:SPI:MOSI:POLarity POSitive
set the polarity as POSitive
:SBUS:SPI:MOSI:POLarity?
query return POSitive
:SBUS:SPI:WIDTh
Command format:
:SBUS:SPI:WIDTh {4 | 8 | 12 | 16}
:SBUS:SPI:WIDTh?
Functional description:
Set bit wide of SPI bus data.
Return format:
Query return{4 | 8 | 12 | 16}.
For example:
:SBUS:SPI:WIDTh 4
set bit wide as 4
:SBUS:SPI:WIDTh?
query return 4
:SBUS:SPI:TRIGger:TYPE
Command format:
:SBUS:SPI:TRIGger:TYPE {MOSI | MISO | ANY}
:SBUS:SPI:TRIGger:TYPE?
Functional description:
Set trigger mode of SPI bus, MOSI
(
host computer output slave computer input
)
. MISO
(
host
computer input slave computer input
)
and ANY.
Return format: