What is the source for TRAP2 bit in TRAPSTAT register in AURIX 2G?

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

cross mob
User9635
Level 4
Level 4
50 replies posted 50 questions asked 25 replies posted
Hello Support,
Shown below is a snippet from TRAPSTAT register Bit 2 .
Can you please tell me what is the source for this TRAP2?
What configuration does set this Bit TRAP2?
Please provide some section number from the User Manual where TRAP2 is described.
4326.attach

Best Regards
0 Likes
5 Replies
Darren_Galpin
Employee
Employee
First solution authored First like received
That is set from TRAPSET.TRAP2. Writing 1 to TRAPSET.TRAP2 sets TRAPSTAT.TRAP2 to 1.
0 Likes
User9635
Level 4
Level 4
50 replies posted 50 questions asked 25 replies posted
Hello Support,

So when software triggers TRAPSET.TRAP2, then it is not a CPU Trap generation I suppose.
If not, then which SMU Alarm Signal will be activated?
If it is a CPU Core Trap, then what is Trap Vector Number and what is the expected value of D15 Register [TIN] upon entering CPU Trap Vector.
Best Regards
0 Likes
Darren_Galpin
Employee
Employee
First solution authored First like received
I believe that this causes an NMI trap (non-maskable interrupt), so TIN=0, class=7 (so CPU core trap).
0 Likes
FD_aurix
Level 5
Level 5
100 sign-ins 100 replies posted 5 solutions authored

Hi all

so this is only activable via SW. Or it might be related to some HW pins as ESR0/ESR1?

 

0 Likes
MoD
Employee
Employee
50 likes received 500 replies posted 100 solutions authored

It is only activatable via SW.

0 Likes