Mode

SCPI Command :

SBUS<*>:OSPI:MODE
Commands in total: 1
Subgroups: 0
Direct child commands: 1
get(serialBus=SerialBus.Default) SbusOspiMode[source]
# SBUS<*>:OSPI:MODE
value: enums.SbusOspiMode = driver.sbus.ospi.mode.get(serialBus = repcap.SerialBus.Default)

Selects the instruction mode that defines how many lanes are used to transmit data.

Parameters:

serialBus – optional repeated capability selector. Default value: Nr1 (settable in the interface ‘Sbus’)

Returns:

instruction_md: WR1S | WR2S | WR4S | WR8S | WR1D | WR2D | WR4D | WR8D

  • WR1S | WR2S | WR4S | WR8S: Number of lanes in single data rate mode

  • WR1D | WR2D | WR4D | WR8D: Number of lanes in dual data rate mode

set(instruction_md: SbusOspiMode, serialBus=SerialBus.Default) None[source]
# SBUS<*>:OSPI:MODE
driver.sbus.ospi.mode.set(instruction_md = enums.SbusOspiMode.WR1D, serialBus = repcap.SerialBus.Default)

Selects the instruction mode that defines how many lanes are used to transmit data.

Parameters:
  • instruction_md

    WR1S | WR2S | WR4S | WR8S | WR1D | WR2D | WR4D | WR8D

    • WR1S | WR2S | WR4S | WR8S: Number of lanes in single data rate mode

    • WR1D | WR2D | WR4D | WR8D: Number of lanes in dual data rate mode

  • serialBus – optional repeated capability selector. Default value: Nr1 (settable in the interface ‘Sbus’)