5.8 SPI Data Packet

The SPI Data Packet configures an SPI write, read, or exchange operation.

FieldDescriptionsNotes
OperationThe SPI operation typeWrite, Read or Exchange
LengthThe number of bytes

Auto-calculated for Write/Exchange; manually entered for Read.

Error: “Please enter a positive integer value less than 65,535.

Data SourceWhere the write data comes fromEnter here (manual entry) or Import file
Write DataComma-separated byte values (0–255)

Decimal or hexadecimal values

Error: “Please enter values separated by commas. Each value must be a decimal or hexadecimal number from 0 to 255.

Read DataThe data received from the deviceRead-only; populated after a successful read. After a successful read, a Save to file button appears next to the Read Data field to export the received data.
All fields with validation (Length and Write Data) display a validation icon:
Icon StateTooltipNotes
EditingClick to validate [field].Shown while the user is editing the field
ErrorField-specific error message (e.g., “Please enter values separated by commas. Each value must be a decimal or hexadecimal number from 0 to 255.”)Shown after validation finds errors
Fastpath:
  • Pressing <Enter> in a field or clicking anywhere outside the field triggers validation
  • A Reset field button appears on the Write Data input, allowing the user to reset the data source selection and re-enter data if needed
  • The Write Data and Read Data fields each have a HEX/DEC toggle button that switches the display and input format between hexadecimal and decimal. The currently active format is highlighted, and a hint label (HEX or DEC) is shown next to the field when it is not in focus. The format is auto-detected from the first byte entered (values starting with 0x are treated as hexadecimal).