CAN interrupt configuration for TC397 StepB MCU

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

cross mob
User17770
Level 1
Level 1
I have a question regarding how to select the interrupt address/vector for a specific CAN Node in the MCU

Example i am using CAN00 and CAN01 because of my hardware configuration.

Each CAN node has 16 interrupt lines:-
SRC_CANzINT0
SRC_CANzINT1
....
....
...
SRC_CANzINT15

z=0,1 and 2

which one do i select for my CAN nodes?
0 Likes
3 Replies
User17770
Level 1
Level 1
I found it.

It depends on which CAN module and CAN node you are using.

If you are using CAN module "x" and CAN node "y"
then you need to use SRC_CANxINTy

So, if you use CAN module 0 Node 0, you need to use SRC_CAN0INT0 address in your config tool.
0 Likes
User17270
Level 1
Level 1
First like received
Actually there are 16 interrupt lines per module - not per node. I made the same assumption until my debugger proved otherwise. See my post from Aug 6.

-rob

Hello,

I read your previous post as well.

My current setup.

CAN 0, node0 and node 3 are being used,

I want to setup rx interrupts from node0 and node3.

whihc interrupt_line should be configured for node3 Rx

0 Likes