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

cross mob
che
Level 1
Level 1
Distributor
First like given 5 replies posted 10 sign-ins

Hi,

I have a question for i51 interrupt.

Environment: build triboard_TC39X example code with BIFACES and use keil toolchain to compile i51.

1. In i51_main.c: It's enabled RTC and NMI interrupt, but I can't find how to install interrupt and how to define the interrupt number with keil compile as below pics.

I know the interrupt vector value in SCR datasheet and install the interrupt by assembly with Tasking toolchain. But where can i find the reference or info for keil i51 interrupt define?

 

che_1-1693808625895.png

che_0-1693808610457.png

 

Thanks

#AURIX #Tricore #SCR #i51 #BIFACES

0 Likes
1 Solution
che
Level 1
Level 1
Distributor
First like given 5 replies posted 10 sign-ins

Hi dw,

Thank for reply.

Right, I can find SCR interrupt vector on SCR session. But actually I don't know how to map the keil 8051 interrupt vector.

Finded the keil ap_note 103 and explained the interrupt number and vector at this link:https://www.keil.com/appnotes/files/apnt_103.pdf 

che_0-1694052078158.png

 

View solution in original post

0 Likes
2 Replies
Di_W
Moderator
Moderator
Moderator
1000 replies posted 250 solutions authored 100 likes received

You can find information on SCR interrupts on page 3279, in section 49.9.1.1, Interrupt Source and Vector, in the user manual for TC39x at this link: https://www.infineon.com/dgdl/Infineon-AURIX_TC3xx_Part2-UserManual-v02_00-EN.pdf?fileId=5546d462712...

0 Likes
che
Level 1
Level 1
Distributor
First like given 5 replies posted 10 sign-ins

Hi dw,

Thank for reply.

Right, I can find SCR interrupt vector on SCR session. But actually I don't know how to map the keil 8051 interrupt vector.

Finded the keil ap_note 103 and explained the interrupt number and vector at this link:https://www.keil.com/appnotes/files/apnt_103.pdf 

che_0-1694052078158.png

 

0 Likes