AURIX™ TC3xx Microcontroller: TRAP Error Recognition and Reaction

This document provides an in-depth look at TRAP error recognition and reaction mechanisms within the AURIX™ TC3xx microcontroller architecture.

Understanding TRAP Errors

A TRAP occurs due to various events, including Non-Maskable Interrupts (NMIs), instruction exceptions, memory management exceptions, or illegal access. These traps are always active and cannot be disabled by software. The TriCore™ architecture defines eight general classes for traps, each with a dedicated trap handler and distinguished by a Trap Identification Number (TIN).

Traps can be categorized as synchronous or asynchronous, and as hardware or software generated. This training material explores three key combinations: synchronous and hardware generated, asynchronous and hardware generated, and synchronous and software generated.

Hardware Setup and Implementation

The provided code examples are developed for the KIT_AURIX_TC397_TFT board. The document details the implementation of trap provocation and handling, including specific functions and variables used for triggering and analyzing TRAP events.

Key registers such as DEADD, DATR, and DSTR are discussed for their role in providing additional debug information. The guide also explains how to use the debugger to observe trap behavior, including call stacks and disassembly views.

Key Resources

For further details and resources, please refer to:

For any questions regarding this document, please contact erratum@infineon.com.

PDF preview unavailable. Download the PDF instead.

Infineon-AURIX CPU Trap Recognition 1 KIT TC397 TFT-Training-v01 00-EN "; size Microsoft PowerPoint 2016 Microsoft PowerPoint 2016

Related Documents

Preview AURIX TC2xx CPU Trap Recognition: KIT_AURIX_TC297_TFT Training
Learn about TRAP error recognition and reaction on Infineon's AURIX TC2xx microcontrollers, focusing on the KIT_AURIX_TC297_TFT board. This guide covers trap types, handling, and debugging techniques for embedded systems.
Preview Infineon AURIX TC3xx Microcontroller Training: ADC Single Channel Conversion
Learn about configuring and using the Enhanced Versatile Analog-to-Digital Converter (EVADC) on Infineon's AURIX TC3xx microcontrollers for single-channel conversion. This guide covers hardware setup, software implementation, and testing procedures.
Preview AURIX TC3xx Microcontroller Training: SPI DMA Communication
This document details the SPI data communication via DMA for the AURIX TC3xx microcontroller, specifically for the KIT_AURIX_TC397_TFT board. It covers the scope of work, introduction to QSPI and DMA, hardware setup, implementation steps for QSPI master and slave initialization, interrupt service routines, and the SPI master-slave communication process.
Preview MCMCAN Acceptance Filtering for AURIX TC397 TFT
This document details the MCMCAN acceptance filtering capabilities for the AURIX TC397 TFT microcontroller, covering its introduction, implementation, and testing.
Preview DMA ADC Transfer Example for Infineon AURIX TC375 LK
This technical training document from Infineon details the DMA transfer of ADC conversion results using the AURIX TC375 LK microcontroller kit. It covers scope, introduction to DMA and EVADC, hardware setup, step-by-step implementation for ADC, DMA, and UART configuration, and a run/test procedure with debugging observations. Includes references and important notices.
Preview MCMCAN Data Transmission Training for AURIX TC397 TFT
This document provides training on MCMCAN data transmission for the AURIX TC397 TFT microcontroller, covering its introduction, hardware setup, implementation details, and testing procedures.
Preview CCU6 ADC Conversion Triggering with AURIX TC375
This document details the configuration and implementation of the CCU6 (Capture/Compare Unit 6) module for triggering Analog-to-Digital Converter (ADC) conversions on the AURIX TC375 microcontroller. It covers scope of work, introduction to CCU6 and EVADC, hardware setup, implementation steps for CCU6 and EVADC, timer frequency calculation, event timing, UART configuration, and testing procedures.
Preview Infineon AURIX TC3xx Microcontroller Safety Concept Training
This document outlines the safety concept for the Infineon AURIX TC3xx microcontroller, detailing its adherence to ISO 26262 standards, hardware safety mechanisms, safety documentation, and system integration aspects for developing safety-critical applications.