Documentation search search close
CONTENTS
https://www.speedgoat.com/help/slrt/page/icon_documentation.jpg
v10.0.1.x for R2026a
View other versions

IO623 - Setup

IO623 - Setup — Configure the IO623 I/O module

Library

Simulink Real-Time - Speedgoat

Description

Your model can contain only one Setup block for each I/O module in your target machine.

All the supported I/O types for this module can be configured in the Setup block dialog box. This block will therefore have an impact on other driver blocks (Send, Receive).

Ports

This driver block has no input or output ports.

Parameters

Module ID

The Module ID has two functions:

  • It defines the logical connection between the Setup block and its I/O blocks

  • It also informs the auto-search feature of the PCI Slot parameter. If only one I/O module of this type is installed, the Module ID must be set to 1. If n modules are installed, it must be in the range 1:n. Not all the I/O modules installed in the target machine need to be used. To see how each I/O module maps to a Module ID, use this Speedgoat API:

    speedgoat.getIoInterfaces("TargetName", "mySpeedgoat")
PCI Slot (-1: auto-search)

There are two approaches for mapping this block to a specific I/O module installed in your target machine. All modules of the same type must be configured using the same method.

  • Auto-Search: with the default value -1 the I/O module will be automatically located in the target machine. If you have multiple modules of the same kind, the Module ID defines which module is associated with this block. To see how each I/O module maps to a Module ID, use this Speedgoat API:

    speedgoat.getIoInterfaces("TargetName", "mySpeedgoat")

  • Explicit Addressing: to explicitly define the logical address of the I/O module in the target machine, you can provide the PCI bus and slot numbers as a vector: [bus, slot]. To determine these numbers, run the following command in the MATLAB command window:

    speedgoat.getIoInterfaces("TargetName", "mySpeedgoat", "Advanced", true)

    Note that the PCI address can change whenever an I/O module is added or removed – usually, auto-search is the best option.

IO623 Variant

The IO623 I/O module is available in three variants which differ in terms of the number of available bus interfaces. Select the variant that has been installed in your target machine.

CHI File

The CHI file contains the configuration for a specific communication controller (CC). There is one CC for each installed bus interface available. The number of installed bus interfaces depends on the IO623 variant in your target machine.

You can download a tool from the Speedgoat Customer Portal which imports a FIBEX file with your bus configuration and exports the necessary CHI files for the I/O module.

Click on the Browse button to select the CHI file.

Enable

This setting enables the corresponding CC.

You cannot use the CC in the Send and Receive blocks until it has been enabled in the Setup block.

CC1 does not have this checkbox because it must always be enabled and connected to the FlexRay bus to generate the interrupts which trigger the IO623 driver blocks (see Usage Notes).

Bus Termination

Adds a bus termination resistor of 90 Ohm to both channels A and B.