This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

SPI Register Write

Write data to registers of an SPI slave device

  • Library:
  • Simulink Coder Support Package for BeagleBone Blue Hardware / Communication

Description

The SPI Register Write block writes the block input data to specified register address. To open the pin map of the BeagleBone®Blue board, click the View pin map button.

Ports

Input

expand all

The input port to accept data to write the data to the SPI slave register.

Data Types: single | double | int8 | int16 | int32 | uint8 | uint16 | uint32 | Boolean

Parameters

expand all

Select the pin number on the BeagleBone Blue board to which the SPI slave device is connected.

Select the SPI communication mode.

Enter the slave register address to write the data.

Introduced in R2018b