Rigol DS7034 User Programming Manual page 40

Mso7000 series; ds7000 series; digital oscilloscope
Hide thumbs Also See for DS7034:
Table of Contents

Advertisement

RIGOL
:BUS<n>:SPI:ENDian
Syntax
:BUS<n>:SPI:ENDian <endian>
:BUS<n>:SPI:ENDian?
Description
Sets or queries the endian of data transmission of SPI decoding.
Parameter
Name
<n>
<endian>
Remarks
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.
Return
The query returns MSB or LSB.
Format
Example
:BUS1:SPI:ENDian LSB
:BUS1:SPI:ENDian?
:BUS<n>:SPI:MODE
Syntax
:BUS<n>:SPI:MODE <mode>
:BUS<n>:SPI:MODE?
Description
Sets or queries the decode mode of SPI decoding.
Parameter
Name
<n>
<mode>
Remarks
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
command to set the timeout value.
Return
The query returns CS or TIM.
Format
Example
:BUS1:SPI:MODE CS
:BUS1:SPI:MODE?
2-26
Type
Range
Discrete
{1|2|3|4}
Discrete
{MSB|LSB}
/*Sets the endian of data transmission of SPI decoding
to LSB.*/
/*The query returns LSB.*/
Type
Range
Discrete
{1|2|3|4}
Discrete
{CS|TIMeout}
/*Sets the decode mode of SPI decoding to CS.*/
/*The query returns CS.*/
Chapter 2 Command System
:BUS<n>:SPI:TIMeout:TIME
MSO7000/DS7000 Programming Guide
Default
——
MSB
Default
——
TIMeout

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ds7054Ds7024Ds7014Mso7034Mso7024Mso7014 ... Show all

Table of Contents