RIGOL Chapter 2 Command System
2-26 MSO7000/DS7000 Programming Guide
:BUS<n>:SPI:ENDian
:BUS<n>:SPI:ENDian <endian>
:BUS<n>:SPI:ENDian?
Sets or queries the endian of data transmission of SPI decoding.
 MSB: indicates Most Significant Bit transmission sequence, i.g. the highest bit of
the data is transmitted first.
 LSB: indicates Least Significant Bit transmission sequence, i.g. the lowest bit of
the data is transmitted first.
The query returns MSB or LSB.
:BUS1:SPI:ENDian LSB /*Sets the endian of data transmission of SPI decoding
to LSB.*/
:BUS1:SPI:ENDian? /*The query returns LSB.*/
:BUS<n>:SPI:MODE
:BUS<n>:SPI:MODE <mode>
:BUS<n>:SPI:MODE?
Sets or queries the decode mode of SPI decoding.
 CS: indicates chip select. CS: contains a chip select line (CS). You can perform
frame synchronization according to CS.
 TIMeout: indicates timed out. You can perform frame synchronization according to
the timeout. At this time, you can send the :BUS<n>:SPI:TIMeout:TIME
command to set the timeout value.
The query returns CS or TIM.
:BUS1:SPI:MODE CS /*Sets the decode mode of SPI decoding to CS.*/
:BUS1:SPI:MODE? /*The query returns CS.*/