SPI Set CS Logic Level

This Command Is Obsolete. This Value Should Be Specified As An Input To SPI Write / Read VI.

Set the chip select logic level (active high or active low) for the specified SPI Channel.

LabVIEW

Developer Note

Command Packet

  • SPI Set CS Logic Level Command
  • SPI Set CS Logic Level Response
  • SPI Set CS Logic Level Command
    Description Set the chip select logic level (active high or active low) for the specified SPI Channel.
    Size 9 Bytes
    Format
    -
    -
    -
    0
    7
    6
    5
    4
    3
    2
    1
    0
    7
    6
    5
    4
    3
    2
    1
    0
    7
    6
    5
    4
    3
    2
    1
    0
    7
    6
    5
    4
    3
    2
    1
    0
    N/A
    SoF : 0xFF
    1
    2
    3
    4
    7
    6
    5
    4
    3
    2
    1
    0
    7
    6
    5
    4
    3
    2
    1
    0
    7
    6
    5
    4
    3
    2
    1
    0
    7
    6
    5
    4
    3
    2
    1
    0
    PACKET SIZE
    PACKET NUM
    CMD : 0x0105
    5
    6
    7
    8
    7
    6
    5
    4
    3
    2
    1
    0
    7
    6
    5
    4
    3
    2
    1
    0
    7
    6
    5
    4
    3
    2
    1
    0
    7
    6
    5
    4
    3
    2
    1
    0
    CMD : 0x0105
    CHANNEL
    LOGIC LEVEL
    CHECKSUM
    SoF Start of Frame. Always 0xFF.
    PACKET SIZE Packet Size In Bytes
    PACKET NUM The Current Packet Number. This value increments with each new packet.
    CMD SPI Set CS Logic Level Command.
    CHANNEL SPI channel.
    LOGIC LEVEL 0 = Active Low, 1 = Active High.
    CHECKSUM Checksum. Computed by adding all of the bytes in the packet in U8 form ignoring rollover.

    LINX Target

    Developer Note

    Response Packet

    SPI Set CS Logic Level Response
    Description LINX device's response to SPI Set CS Logic Level command
    Size 6 Bytes
    Format
    -
    -
    0
    1
    7
    6
    5
    4
    3
    2
    1
    0
    7
    6
    5
    4
    3
    2
    1
    0
    7
    6
    5
    4
    3
    2
    1
    0
    7
    6
    5
    4
    3
    2
    1
    0
    N/A
    SoF : 0xFF
    PACKET SIZE
    2
    3
    4
    5
    7
    6
    5
    4
    3
    2
    1
    0
    7
    6
    5
    4
    3
    2
    1
    0
    7
    6
    5
    4
    3
    2
    1
    0
    7
    6
    5
    4
    3
    2
    1
    0
    PACKET NUM
    STATUS
    CHECKSUM
    SoF Start of Frame. Always 0xFF.
    PACKET SIZE Total packet size in bytes.
    PACKET NUM The packet number of the packet that generated the response.
    STATUS See Return Status section below.
    CHECKSUM Checksum. Computed by adding all of the bytes in the packet in U8 form ignoring rollover.

    Return Status

    No function specific statuses. See return_status for universal return statuses.