EasyManua.ls Logo

Rigol MSO7000 Series

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

Table of Contents

Other manuals for Rigol MSO7000 Series

Related product manuals