MDO3000 Programmer Manual.pdf - 第227页
Commands Listed in Alphabetical Order Arguments CH1–CH4 specifi es an analog channe l as the MISO source waveform. D0-D15 specifies a digital channel as the MISO source waveform. (MSO/MDO4000/B models only as well as MDO30…

Commands Listed in Alphabetical Order
Syntax
BUS:B<x>:SPI{
:CLOCk|:SCLk}: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
{:CLOCk|:SCLk}:SOUrce?
Arguments
CH1–CH4 specifies an analog channel as the SCLK source waveform.
D0-D15 specifies a digital channel as the SCLK 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{:IN|:MISO}:POLarity
This command specifies the MISO 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{:IN|:MISO}:POLarity {LOW|HIGH}
BUS:B<x>:SPI:DATa{:IN|:MISO}:POLarity?
Arguments
LOW specifies an active low polarity.
HIGH specifies an active high polarity.
BUS:B<x>:SPI:DATa{:IN|:MISO}:SOUrce
This command specifies the MISO source waveform 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{:IN|:MISO}: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{:IN|:MISO}:SOUrce?
2-196 MDO4000/B/C, MSO/DPO4000B and MDO3000 Series Oscilloscopes Programmer Manual

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