Skip to main content

SPI

SPI (Serial Peripheral Interface) panel provides users with SPI serial communication testing. You can set the SPI mode and transmission rate to perform full-duplex communication with peripheral devices.

SPI Test Panel

Supported Products and Ports

This function supports devices equipped with SPI interface. Please confirm the corresponding Port number according to your device model:

Product NamePort
USB-DAQ-F1-AD2
USB-DAQ-F1-CD2
USB-DAQ-F1-D1~2
USB-DAQ-F1-RD2
USB-DAQ-F1-TD2

Parameter Settings

SPI Mode

Supports four standard SPI modes, determined by Clock Polarity (CPOL) and Clock Phase (CPHA):

ModeClock Polarity (CPOL)Clock Phase (CPHA)
00 (Idle Low)0 (Leading Edge)
10 (Idle Low)1 (Trailing Edge)
21 (Idle High)0 (Leading Edge)
31 (Idle High)1 (Trailing Edge)

Operation Instructions

Button/ParameterDescription
SPI RateSet SPI clock rate (Max 1 MHz).
CS PinSelect Chip Select pin, specific definition depends on product specifications.
Bytes to ReadSet the length of data to read (Byte).
WriteSend data to SPI device (Write only).
ReadReceive data from SPI device (Read only).
Write+ReadFull-duplex operation: Read returned data while writing data.