Cphase

SCPI Command :

BUS<*>:CMSB:NRZ:CPHase
Commands in total: 1
Subgroups: 0
Direct child commands: 1
get(bus=Bus.Default) BusCmsbCphaMode[source]
# BUS<*>:CMSB:NRZ:CPHase
value: enums.BusCmsbCphaMode = driver.bus.cmsb.nrz.cphase.get(bus = repcap.Bus.Default)

Selects the phase of the custom serial bus clock signal for the coding standard NRZ Clocked, depending on method RsRtx.bus.cmsb.nrz.idlPolarity.set() .

Parameters:

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

Returns:

cpha_mode: FEDGe | SEDGe

  • FEDGe: Sets the clocking transaction to be on the first edge:If Clock Polarity = ‘IDLLow’, data are captured on the clock’s rising edge (low-to-high transition) and propagated on a falling edgeIf Clock Polarity = ‘IDLHigh’, data are captured on the clock’s falling edge (high-to-low transition) and propagated on a rising edge

  • SEDGe: Sets the clocking transaction to be on the second edge:If Clock Polarity = ‘IDLLow’, data are captured on the clock’s falling edge (high-to-low transition) and propagated on a rising edgeIf Clock Polarity = ‘IDLHigh’, data are captured on the clock’s rising edge (low-to-high transition) and propagated on a falling edge

set(cpha_mode: BusCmsbCphaMode, bus=Bus.Default) None[source]
# BUS<*>:CMSB:NRZ:CPHase
driver.bus.cmsb.nrz.cphase.set(cpha_mode = enums.BusCmsbCphaMode.FEDGe, bus = repcap.Bus.Default)

Selects the phase of the custom serial bus clock signal for the coding standard NRZ Clocked, depending on method RsRtx.bus.cmsb.nrz.idlPolarity.set() .

Parameters:
  • cpha_mode

    FEDGe | SEDGe

    • FEDGe: Sets the clocking transaction to be on the first edge:If Clock Polarity = ‘IDLLow’, data are captured on the clock’s rising edge (low-to-high transition) and propagated on a falling edgeIf Clock Polarity = ‘IDLHigh’, data are captured on the clock’s falling edge (high-to-low transition) and propagated on a rising edge

    • SEDGe: Sets the clocking transaction to be on the second edge:If Clock Polarity = ‘IDLLow’, data are captured on the clock’s falling edge (high-to-low transition) and propagated on a rising edgeIf Clock Polarity = ‘IDLHigh’, data are captured on the clock’s rising edge (low-to-high transition) and propagated on a falling edge

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