Write data to registers of an SPI slave device
Simulink Coder Support Package for BeagleBone Blue Hardware / Communication
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.
Port_1— Input port to accept data
The input port to accept data to write the data to the SPI slave register.
SPI Select— Pin connected to the SPI slave device
Select the pin number on the BeagleBone Blue board to which the SPI slave device is connected.
Mode (Clock polarity and phase)— Mode of SPI communication
Select the SPI communication mode.
Register address— Register address to write the data
Enter the slave register address to write the data.