Main Content

External Mode

Allows you to do external mode settings for your model.

Communication interface

Select the type of communication interface to run your model in external mode.

Default: Serial

  • Serial

  • XCP on Serial

  • CAN

  • XCP on CAN

SCI module

Select the serial communication interface module.

By default SCI_A module is selected for Controlcard and Launchpads. For custom boards, select other serial modules to connect to FTDI.

Serial port in MATLAB preferences

Lists the COM port entries available in the device manager and saved COM port in MATLAB preferences of the target hardware. You can select the required COM port from the drop-down.

The COM port value will be saved as MATLAB preference for a given target instead of model. For example, if you choose a same target for a new model, the serial port saved in MATLAB preferences will be selected automatically.

Click refresh to see the latest value serial port value stored in MATLAB preference for the given hardware board and updated list of serial ports available from device manager.

You can also set the serial port in MATLAB preferences for the given hardware board using the MATLAB command:

codertarget.tic2000.setSerialPortPreferences(Hardware board, CPU value, Serial port)
Here CPU value is optional argument.

To know the COM port used by the target hardware on your computer, see Monitor and Tune over Serial Communication.

Host interface

Select the interface through which the host computer communicates to target hardware for signal monitoring and parameter tuning. This parameter supports only Third party calibration tools as host interface.

CAN module

Select the CAN module to be used with external mode.

CAN ID type

Select the CAN ID type to be used with external mode. The supported CAN ID types are Standard (11-bit) and Extended (29-bit).

CAN Master ID

Enter the CAN Master ID for the CAN module.

CAN Slave ID

Enter the CAN Slave ID for the CAN module.

Rx mailbox number (0-31)

Enter the Rx mailbox number for the CAN module. This parameter supports integers from 0 to 31.

Tx mailbox number (0-31)

Enter the Tx mailbox number for the CAN module. This parameter supports integers from 0 to 31.

Refresh

Lists the new COM port entries available in your device manager.

Click refresh to see the latest value serial port value stored in MATLAB preference for the given hardware board and updated list of serial ports available from device manager.

Verbose

Select this to view the external mode execution progress and updates in the Diagnostic Viewer or in the MATLAB command window.

Related Topics