UNI-T
UPO 3000E&UPO2000E Series Oscilloscope Programming Manual
:SBUS:SPI:MISO:SOURce
Command format:
:SBUS:SPI:MISO:SOURce { CHANnel1 |
CHANnel2 |
CHANnel3 | CHANnel4 | OFF}
:SBUS:SPI:MISO:SOURce?
Functional description:
Set host computer input and slave computer output source of SPI bus.
Return format:
Query return{ CHANnel1 |
CHANnel2 |
CHANnel3 | CHANnel4 | OFF}.
For example:
:SBUS:SPI:MISO:SOURce CHANnel1
set channel 1 as host computer input and slave computer output source of SPI bus
:SBUS:SPI:MISO:SOURce?
query return CHANnel1
:SBUS:SPI:MOSI:SOURce
Command format:
:SBUS:SPI:MOSI:SOURce { CHANnel1 |
CHANnel2 |
CHANnel3 | CHANnel4 | OFF}
:SBUS:SPI:MOSI:SOURce?
Functional description:
Set host computer output and slave computer input source of SPI bus
Return format:
Query return{ CHANnel1 |
CHANnel2 |
CHANnel3 | CHANnel4 | OFF}
。
For example:
:SBUS:SPI:MOSI:SOURce CHANnel1
set channel 1 as host computer output and slave computer input source of SPI bus
:SBUS:SPI:MOSI:SOURce?
query return CHANnel1
:SBUS:SPI:BITorder
Command format:
:SBUS:SPI:BITorder {LSBFirst | MSBFirst}
:SBUS:SPI:BITorder?
Functional description:
Set encoding byte order of SPI bus, LSBFirst(little-end mode), MSBFirst(big-end mode).
Return format:
Query return {LSBFirst | MSBFirst}.
For example:
:SBUS:SPI:BITorder LSBF
set byte order as LSB
:SBUS:SPI:BITorder?
query return LSBFirst