Hardware Implementation Pane

Hardware Implementation Pane Overview
Configure the parameters for properties of the physical hardware, such as peripherals.
Build options

Specify how the build process takes place during code generation.
- Build action
Specify if you want only build or build, load and run actions during code generation.
Build– Select this option if you want to build the code during the build process.Build, load and run– Select this option to build, load, and to run the generated code during the build process.
- Set host drive
Select an option to copy the generated output bin file automatically or manually to a drive.
- Drive
Specify the drive letter on which you want to copy the generated output bin file.
Clocking

Use the clocking option to achieve the specified CPU Clock rate.
- CPU Clock (MHz)
The CPU clock rate.
I2C

To set I2C communication parameters, use the I2C options.
- Bus speed (in Hz)
Use the I2C option to set the bus speed parameter. The bus speed determines the rate of data communication between the peripherals that are connected together by the I2C bus.
SPI

To set SPI parameters, use the SPI options.
- Bus speed (in Hz)
The serial port used for SPI communication.
- Master output slave input (MOSI) pin
Specify the pin that connects the master output to the slave input.
- Master input slave input (MISO) pin
Specify the pin that connects the slave output to the master input.
- Clock (SCK) pin
Specify the clock pin for SPI communication.
PIL

To set PIL (Processor-in-the-Loop) communication parameters, use the PIL options.
- PIL communication interface
The serial port for PIL communication.
- Serial port
Enter the serial port for PIL communication.
External mode

- Communication interface
To run your model in the External mode with serial communication, use the ‘serial’ option.
- Serial port
Enter the serial port used by the target hardware.
- Verbose
Select this check box to view the External mode execution progress and updates in the Diagnostic Viewer or in the MATLAB® Command Window.