MDO3000 Programmer Manual.pdf - 第226页

Commands Listed in A lphabetical Order Syntax BUS:B<x>:SPI{ :CLOCk|:SCLk}:SO Urce {CH1|CH 2|CH3|CH4| D0|D1|D2|D3|D 4|D5|D6|D7|D8|D9 |D10|D11|D12|D1 3|D14|D15} BUS:B<x>:SPI {:CLOCk|:SCLk }:SOUrce? Arguments CH…

100%1 / 1158
Commands Listed in Alphabetical Order
Group
Bus
Syntax
BUS:B<x>:SPI:BITOrder {LSB|MSB}
BUS:B<x>:SPI:BITOrder?
Arguments
LSB sets the bit order to least significant bit first.
MSB sets the bit order to most significant bit first.
Examples
BUS:B1:SPI:BITORDER LSB sets the bit order to least significant bit first.
BUS:B1:SPI:BITORDER? might return BUS: B1:SPI:BITORDER MSB
indicating the bit order is set to most significant bit first.
BUS:B<x>:SPI{:CLOCk|:SCLk}:POLarity
This command specifies the SCLK 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{:CLOCk|:SCLk}:POLarity {FALL|RISe}
BUS:B<x>:SPI{:CLOCk|:SCLk}:POLarity?
Arguments
FALL specifies the SCLK polarity as falling edge.
RISe specifies the SCLK polarity as rising edge.
BUS:B<x>:SPI{:CLOCk|:SCLk}:SOUrce
This command specifies the SCLK 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
MDO4000/B/C, MSO/DPO4000B and MDO3000 Series Oscilloscopes Programmer Manual 2-195
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