Main Content

Tasks

Map tasks in the Infineon AURIX to interrupt service routines on the hardware board

Since R2022b

Description

Add-On Required: This feature requires the Embedded Coder Support Package for Infineon AURIX TC4x Microcontrollers add-on.

View and edit the map of tasks in the interrupt service routines (ISRs) on the hardware board.

In this tool, you can map the tasks in your software model to the available event sources and interrupts:

  • Manually select the task in Browser > Tasks > TriCore# or PPU. Select the desired event or interrupt. source. Click the Apply Changes button in the toolstrip.

  • The sources of events or interrupts depend on the choice of hardware board and peripherals available in the model.

Hardware Mapping for Hardware Interrupt block

Open the Tasks

  • In the Hardware tab, click Hardware Mapping.

Parameters

expand all

TriCore0

The Infineon® AURIX™ peripheral interrupts are classified into various number of groups depending upon the peripheral causing the interrupt. Simulink® lists these interrupt groups depending on the hardware board selected in the configuration parameters.

Selecting an interrupt group changes the list of values in the Interrupt name parameter.

Specify the ISR for the Hardware Interrupt block. This parameter corresponds to the specific entry in the interrupt vector table of the Infineon AURIX hardware board.

The available ISRs depend on the Interrupt group parameter value, which depends on the peripheral causing the interrupt. For example, the event PWM_Periodinterrupt_GTMTOM_2 is available when you select period event in PWM peripheral block.

Simulink lists the events that cause the interrupts in the Interrupt name parameter.

Version History

Introduced in R2022b