MDO3000 Programmer Manual.pdf - 第228页
Commands Listed in A lphabetical Order BUS:B<x>:SPI :DA T a:SIZe This command specifies the number of bits per word (data size) for the specifi ed SPI bus. Conditions This command require s a DPO4EMBD ap plication mo…

Commands Listed in Alphabetical Order
Arguments
CH1–CH4 specifi
es an analog channel as the MISO source waveform.
D0-D15 specifies a digital channel as the MISO source waveform.
(MSO/MDO4000/B models only as well as MDO3000 and MDO400C models
with option MDO3MSO or MDO4MSO installed.)
BUS:B<x>:SPI:DATa{:OUT|:MOSI}:POLarity
This command specifies the MOSI polarity for the SPI bus.
Conditions
This command requires a DPO4EMBD application module for 4000 series
models, and an MDO3EMBD application module for MDO3000 series models.
Group
Bus
Syntax
BUS:B<x>:SPI:DATa{:OUT|:MOSI}:POLarity {LOW|HIGH}
BUS:B<x>:SPI:DATa{:OUT|:MOSI}:POLarity?
Arguments
LOW specifies the active low polarity.
HIGH specifies the active high polarity.
BUS:B<x>:SPI:DATa{:OUT|:MOSI}:SOUrce
This command specifies the MOSI source for the SPI bus.
Conditions
This command requires a DPO4EMBD application module for 4000 series
models, and an MDO3EMBD application module for MDO3000 series models.
Group
Bus
Syntax
BUS:B<x>:SPI:DATa{:OUT|:MOSI}:SOUrce {CH1|CH2|CH3|CH4|
D0|D1|D2|D3|D4|D5|D6|D7|D8|D9|D10|D11|D12|D13|D14|D15}
BUS:B<x>:SPI:DATa{:OUT|:MOSI}:SOUrce?
Arguments
CH1–CH4 specifies an analog channel as the MOSI source waveform.
D0-D15 specifies a digital channel as the SPI MOSI source waveform.
(MSO/MDO4000/B models only as well as MDO3000 and MDO400C models
with option MDO3MSO or MDO4MSO installed.)
MDO4000/B/C, MSO/DPO4000B and MDO3000 Series Oscilloscopes Programmer Manual 2-197

Commands Listed in Alphabetical Order
BUS:B<x>:SPI
:DATa:SIZe
This command specifies the number of bits per word (data size) for the specified
SPI bus.
Conditions
This command requires a DPO4EMBD application module for 4000 series
models, and an MDO3EMBD application module for MDO3000 series models.
Group
Bus
Syntax
BUS:B<x>:SPI:DATa:SIZe <NR1>
BUS:B<x>:SPI:DATa:SIZe?
Arguments
NR1 is the data size of the specified bus.
Examples
BUS:B1:SPI:DATA:SIZE 8 sets the data size to 8 bits per word.
BUS:B1:SPI:DATA:SIZE? might return BUS:B1:SPI:DATA:SIZE 8
indicating the data size is 8 bits per word.
BUS:B<x>:SPI:FRAMING
This command specifies the type of framing to use for the SPI bus.
Conditions
This command requires a DPO4EMBD application module for 4000 series
models, and an MDO3EMBD application module for MDO3000 series models.
Group
Bus
Syntax
BUS:B<x>:SPI:FRAMING {SS|IDLEtime}
BUS:B<x>:SPI:FRAMING?
Arguments
SS specifies to use the SS (non 2-wire) framing type.
IDLEtime specifies to use the Idle Time (2-wire) framing type.
Examples
BUS:B1:SPI:FRAMING SS sets the framing type to SS.
BUS:B1:SPI:FRAMING IDELTIME might return BUS:B1:SPI:FRAMING
IDELTIME
indicating the framing type is set to IDLETIME.
2-198 MDO4000/B/C, MSO/DPO4000B and MDO3000 Series Oscilloscopes Programmer Manual

Commands Listed in Alphabetical Order
BUS:B<x>:SPI
:IDLETime
This command specifies the idle time, in seconds, for the SPI bus.
Conditions
This command requires a DPO4EMBD application module for 4000 series
models, and an MDO3EMBD application module for MDO3000 series models.
Group
Bus
Syntax
BUS:B<x>:SPI:IDLETime <NR3>
BUS:B<x>:SPI:IDLETime?
Arguments
NR3 is the idle time, in seconds, for the SPI bus.
Examples
BUS:B1:SPI:IDLETIME 100.0000E-9 sets the idle time to 100 ns.
BUS:B1:SPI:IDLETIME? might return BUS:B1:SPI:IDLETIME
100.0000E-9
indicating the idle time is set to 100 ns.
BUS:B<x>:SPI{:SELect|:SS}:POLarity
This command specifies the polarity for the SPI bus.
Conditions
This command requires a DPO4EMBD application module for 4000 series
models, and an MDO3EMBD application module for MDO3000 series models.
Group
Bus
Syntax
BUS:B<x>:SPI{:SELect|:SS}:POLarity {LOW|HIGH}
BUS:B<x>:SPI{:SELect|:SS}:POLarity?
Arguments
LOW specifies an active low polarity.
HIGH specifies an active high polarity.
BUS:B<x>:SPI{:SELect|:SS}:SOUrce
This command specifies the source waveform for the SPI bus.
MDO4000/B/C, MSO/DPO4000B and MDO3000 Series Oscilloscopes Programmer Manual 2-199