Announcements

Robots are revolutionizing our lives in many ways. Join our webinar to learn about Infineon’s broad portfolio of robot building blocks.
Click here to register.

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

AURIX™ Forum Discussions

DownyK
Level 4
Level 4
10 questions asked 50 replies posted 10 likes given

Hi 

I want to modify the function that is called when a trap occurs.

The trap I want to modify is to be precise, the ESR1 trap.

I'd like to ask what doc should I read to find out which functions are called when a trap occurs, or information about the trap.

I am using TC387AE.

Thanks in advance.

Dawoon kim

0 Likes
1 Solution
dw
Moderator
Moderator
Moderator
1000 replies posted 250 solutions authored 100 likes received

Hi Kim,

AURIXTC3XX_um_part1_v2.0.pdf,  Section 9.2 Trap Gerneration (TR) describes the TRAPSET TRAPCLR TRAPSTAT TRAPDIS registers which are for ESRx pins' transition to trigger a CPU trap.

Section 9.1.4 Exnternal reset sources and indications, which describes ESR pin functions: reset request trigger / wakeup trigger / reset indication output / trap request trigger

https://www.infineon.com/dgdl/Infineon-AURIX_CPU_Trap_Recognition_1_KIT_TC397_TFT-Training-v01_00-EN...

https://github.com/Infineon/AURIX_code_examples/tree/master/code_examples/CPU_Trap_Recognition_1_KIT...

 

About code,  I will reply you if I got any.

 

dw

View solution in original post

1 Reply
dw
Moderator
Moderator
Moderator
1000 replies posted 250 solutions authored 100 likes received

Hi Kim,

AURIXTC3XX_um_part1_v2.0.pdf,  Section 9.2 Trap Gerneration (TR) describes the TRAPSET TRAPCLR TRAPSTAT TRAPDIS registers which are for ESRx pins' transition to trigger a CPU trap.

Section 9.1.4 Exnternal reset sources and indications, which describes ESR pin functions: reset request trigger / wakeup trigger / reset indication output / trap request trigger

https://www.infineon.com/dgdl/Infineon-AURIX_CPU_Trap_Recognition_1_KIT_TC397_TFT-Training-v01_00-EN...

https://github.com/Infineon/AURIX_code_examples/tree/master/code_examples/CPU_Trap_Recognition_1_KIT...

 

About code,  I will reply you if I got any.

 

dw

This widget could not be displayed.