Skip to main content

Anybus® ONE™ Developer Portal

Configure SPI

Go to Host interfaces > SPI

Parameters
  1. Go to Parameters tab.

  2. Click button Add parameter Host -> Anybus.

    ao-hi-spi-para-add.png
  3. Enter the following values:

    Data Type

    Name

    Default

    UINT16

    Status

    -

    UINT16

    Actual Speed

    -

  4. Click button Add parameter Host <- Anybus.

    ao-hi-spi-para-add-2_1.png
  5. Enter the following values:

    Data Type

    Name

    Default

    UINT16

    Control

    0x1111

    UINT16

    Reference Speed

    0x0000

  6. Click button Apply .

    ao-hi-spi-para-add-3_1.png

    SPI Parameters example

Data sets
  1. Go to Data sets tab.

  2. To create a data set for the InputData, click button New Data Set.

    ao-hi-spi-data-new.png
  3. Enter the following values:

    • Data set name: StatusDataSet

    • Direction for cyclic transfer: Input

  4. Add/edit parameters: Status, Actual Speed

  5. To save the data set, click button Apply data set.

    ao-hi-spi-data-apply.png
  6. To create a data set for the OutputData, click button New Data Set.

  7. Enter the following values:

    • Data set name: ControlDataSet

    • Direction for cyclic transfer: Output

    • Offline action for cyclic transfer: Use default values

  8. Add parameters: Control, Reference Speed

  9. To save the data set, click button Apply data set.

    ao-hi-spi-data-apply-2.png
Settings
  1. Go to Settings tab.

  2. Configure the bus configuration:

    • SPI mode: 0

    • Expected cycle time: 50

    • Bit order: Most significant bit first

    • Host-loss: 8

    • Byte endian: Little endian

    • Acknowledgment wait: 1

  3. Frame options:

    • Cyclic redundancy check: Enabled

  4. Click button Apply .

    ao-hi-spi-sett.png
To do next

Configure PROFINET for SPI, see Configure PROFINET - SPI.