MicroAutoBox II RTI Blocks vs. MicroAutoBox III Function Blocks

Introduction

You can reuse RTI models for MiroAutoBox II by deleting the RTI blocks in the Simulink model and adding comparable function blocks in ConfigurationDesk.

When the function block are added to the signal chain, you can generate the interface to the Simulink model in ConfigurationDesk.

For adding function blocks to the signal chain, refer to Implementing I/O Functionality .

For generating the model interface, refer to Basics on Adding Model Port Blocks to the Signal Chain.

Tip

A model migration utility can support certain migration steps during the migration process. For more information, refer to www.dspace.com/go/MABXIIIMigration.


Minimum ConfigurationDesk version

ConfigurationDesk 6.4, Release 2019-B, is required to support the MicroAutoBox III.


A/D conversion

The following table shows comparable function blocks for replacing RTI blocks supporting A/D conversion.

RTI Block of the Real-Time Interface Blockset

Comparable Function Blocks of ConfigurationDesk

Notes

ADC_TYPE4_BLx

  • Single conversion: Voltage In

  • Burst conversion: Voltage Signal Capture (ADC Type 4)

  • External trigger: Trigger In

Scaling of conversion result required.

ADC1552_TYPE1_BLx

  • Single conversion: Voltage In

  • External trigger: Trigger In

ADC1552_TYPE2_BLx

Single conversion: Voltage In

AIO_TYPE1_ADC_BLx

ADC_TYPE4_START_BLx

Obsolete

‑

ADC1552_TYPE1_START_BLx


D/A conversion

The following table shows comparable function blocks for replacing RTI blocks supporting D/A conversion.

RTI Block of the Real-Time Interface Blockset

Comparable Function Blocks of ConfigurationDesk

Notes

AIO_TYPE1_DAC_BLx

Voltage Out

Scaling of voltage range required.

DAC_TYPE3_Mx_Cy

DAC1552_TYPE1_BLx


Bit I/O

The following table shows comparable function blocks for replacing RTI blocks supporting bit I/O.

RTI Block of the Real-Time Interface Blockset

Comparable Function Blocks of ConfigurationDesk

Notes

DIO_TYPE3_BIT_IN_BLx

Multi Bit In

‑

DIO_TYPE3_BIT_IN_CH_BLx

DIO_TYPE3_BIT_OUT_BLx

Multi Bit Out

‑

DIO_TYPE3_BIT_OUT_CH_BLx

DIO_TYPE4_BIT_IN_BLx

Multi Bit In

‑

DIO_TYPE4_BIT_IN_CH_BLx

DIO_TYPE4_BIT_OUT_BLx

Multi Bit Out

‑

DIO_TYPE4_BIT_OUT_CH_BLx

DIO1552_TP1_BIT_IN_BLx

Multi Bit In

‑

DIO1552_TP1_BIT_IN_CH_BLx

DIO1552_TP1_BIT_OUT_BLx

Multi Bit Out

‑

DIO1552_TP1_BIT_OUT_CH_BLx


Timing I/O

The following table shows comparable function blocks for replacing RTI blocks supporting timing I/O.

RTI Block of the Real-Time Interface Blockset

Comparable Function Blocks of ConfigurationDesk

Notes

DIO_TYPE3_PWM_BLx

PWM/PFM Out

Scaling of duty cycle required.

DIO_TYPE3_FREQ_BLx

DIO_TYPE3_PWM2D_BLx

PWM/PFM In

Scaling of duty cycle required.

DIO_TYPE3_F2D_BLx

DIO_TYPE3_PW2D_BLx

Digital Pulse In

‑

DIO_TYPE3_MC_PWM_BLx

Multi-Channel PWM Out

Scaling of duty cycle required.

Trigger pulses: Digital Pulse Out

‑

DIO_TYPE3_ENC_BLx

Digital Incremental Encoder In

‑

DIO_TYPE3_ENC_POS_SET_BLx

DIO_TYPE4_PWM_BLx

PWM/PFM Out

Scaling of duty cycle required.

DIO_TYPE4_FREQ_BLx

DIO_TYPE4_PWM2D_BLx

PWM/PFM In

Scaling of duty cycle required.

DIO_TYPE4_F2D_BLx

DIO_TYPE4_PW2D_BLx

Digital Pulse In

‑

DIO_TYPE4_MC_PWM_BLx

Multi-Channel PWM Out

Scaling of duty cycle required.

Trigger pulses: Digital Pulse Out

‑

DIO_TYPE4_ENC_BLx

Digital Incremental Encoder In

‑

DIO_TYPE4_ENC_POS_SET_BLx

DIO1552_TYPE1_PWM_BLx

PWM/PFM Out

Scaling of duty cycle required.

DIO1552_TYPE1_FREQ_BLx

DIO1552_TYPE1_PWM2D_BLx

PWM/PFM In

Scaling of duty cycle required.

DIO1552_TYPE1_F2D_BLx


Onboard sensor support

The following table shows comparable function blocks for replacing RTI blocks supporting the onboard sensors of the DS1401 Base Board.

RTI Block of the Real-Time Interface Blockset

Comparable Function Blocks of ConfigurationDesk

Notes

DS1401_PRESSURE_BLx

Atmospheric Pressure In

Scaling of pressure values required

DS1401_ACCEL_READ_BLx

Acceleration In

Scaling of acceleration values required


Ethernet communication

The following table shows comparable function blocks for replacing the RTI Ethernet (UDP) Blockset.

Real-Time Interface Blockset

Comparable Function Blocks of ConfigurationDesk

Notes

RTI Ethernet (UDP) Blockset

Ethernet Setup

‑

UDP Transmit

UDP Receive


CAN communication

The following table shows comparable function blocks for replacing the RTI CAN blocksets.

Real-Time Interface Blockset

Comparable Function Blocks of ConfigurationDesk

Notes

RTI CAN Blockset

CAN

The CAN function block is one part of implementing CAN communication in real-time applications. The CAN communication itself must be modeled with the Bus Manager in ConfigurationDesk. Refer to Information for Former Users of the RTI CAN MultiMessage Blockset and RTI LIN MultiMessage Blockset.

RTI CAN MultiMessage Blockset


LIN communication

The following table shows a comparable function block for replacing the RTI LIN MultiMessage Blockset.

Real-Time Interface Blockset

Comparable Function Blocks of ConfigurationDesk

Notes

RTI LIN MultiMessage Blockset

LIN

The LIN function block is one part of implementing LIN communication in real-time applications. The LIN communication itself must be modeled with the Bus Manager in ConfigurationDesk. Refer to Information for Former Users of the RTI CAN MultiMessage Blockset and RTI LIN MultiMessage Blockset.


FlexRay communication

The following table shows a comparable function block to implement FlexRay communication.

Real-Time Interface Blockset

Comparable Function Blocks of ConfigurationDesk

Notes

RTI FlexRay Configuration Blockset

FlexRay

The FlexRay function block type is one part of implementing FlexRay communication in real-time applications. It lets you specify the hardware access for FlexRay communication and control the communication of the FlexRay network separately for each FlexRay controller and FlexRay channel (A and/or B). The FlexRay communication itself must be modeled and supplied via the dSPACE FlexRay Configuration Package. For a detailed overview, refer to Basics on Implementing FlexRay Communication.


Serial communication

The following table shows comparable function blocks for replacing RTI blocks supporting serial communication.

RTI Block of the Real-Time Interface Blockset

Comparable Function Blocks of ConfigurationDesk

Notes

CAN_TYPE1_SER_STAT_Mx_Cy

UART

‑

CAN_TYPE1_SER_TX_Mx_Cy

CAN_TYPE1_SER_RX_Mx_Cy

CAN_TYPE1_SER_SETUP_Mx_Cy

Obsolete

‑


SENT communication

The following table shows comparable function blocks for replacing RTI blocks supporting SENT communication.

RTI Block of the Real-Time Interface Blockset

Comparable Function Block of ConfigurationDesk

Notes

DIO_TYPE3_SENT_RX_BLx

SENT In

‑

DIO_TYPE4_SENT_RX_BLx


SPI communication

The following table shows comparable function blocks for replacing RTI blocks supporting SPI communication.

RTI Block of the Real-Time Interface Blockset

Comparable Function Blocks of ConfigurationDesk

Notes

DIO_TYPE3_SPI_RX_BLx

SPI Master

‑

DIO_TYPE3_SPI_TX_BLx

DIO_TYPE4_SPI_RX_BLx

DIO_TYPE4_SPI_TX_BLx

DIO_TYPE3_SPI_SETUP_BLx

DIO_TYPE3_SPI_CYCLE_SETUP_BLx

DIO_TYPE4_SPI_SETUP_BLx

DIO_TYPE4_SPI_CYCLE_SETUP_BLx


Interrupt handling

The following table shows how interrupts are replaced with I/O events in ConfigurationDesk.

Blocks of the Real-Time Interface Blockset

Comparable Function Blocks of ConfigurationDesk

Notes

DS1401BASE_HWINT

In ConfigurationDesk, the function blocks can generate I/O events that can be used to trigger asynchronous tasks, for example, the Voltage In function block. For more information, refer to Modeling Asynchronous Tasks.

‑

ADC_TYPE4_HWINT

ADC1552_TP1_HWINT_BLx

CAN_TYPE1_SER_INT_Mx_Cy_Iz

CAN_TYPE1_SER_INT_REC_LEV_Mx_Cy

DIO_TYPE3_HWINT

DIO_TYPE4_HWINT

DIO1552_TP1_HWINT_BLx


Power hold control

The following table shows comparable function blocks for replacing RTI blocks supporting the power hold functionality.

RTI Block of the Real-Time Interface Blockset

Comparable Function Blocks of ConfigurationDesk

Notes

DS1401_POWER_DOWN

System Shutdown

‑

DS1401_REMOTE_IN

Shutdown Request


ECU interfacing

The ECU Interface Configuration function block is one part of implementing ECU interfacing in real-time applications. The ECU interface itself must be modeled with the ECU Interface Manager. Refer to Implementing the Real-Time Application with ConfigurationDesk.


Nonvolatile data handling

The following table shows comparable function blocks for replacing RTI blocks supporting nonvolatile data handling.

RTI Block of the Real-Time Interface Blockset

Comparable Function Blocks of ConfigurationDesk

Notes

DS1401_RAM_WRITE

Not supported

Replaced by Non-Volatile Memory Access function block.

DS1401_RAM_READ

Not supported

DS1401_NV_RAM_WRITE_BLx

Non-Volatile Memory Access

‑

DS1401_NV_RAM_READ_BLx

FLASH_SETUP

Not supported

Replaced by Non-Volatile Memory Access function block.

STORE_TO_FLASH_BLx

Not supported

RESTORE_FROM_FLASH_BLx

Not supported

FLIGHT_REC_BLx

Not supported

Replaced by ControlDesk Data Logging. Refer to Introduction to Data Logging.


TRC exclusion

Instead of the RTI TRC Exclusion block, which excludes all blocks in a subsystem from the generated variable description file (TRC file), you must use subsystem omission tags (DsVdOmit). These tags let you reduce the content of the generated TRC file even more specifically, for example, by excluding variables. Refer to Adapting the Generation of the Variable Description File.


Redaction