Aug 12, 2019
07:55 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Aug 12, 2019
07:55 PM
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?
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?
3 Replies
Aug 13, 2019
09:49 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Aug 13, 2019
09:49 PM
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.
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.
Aug 20, 2019
01:59 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Aug 20, 2019
01:59 PM
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
-rob
Mar 09, 2022
04:48 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Mar 09, 2022
04:48 AM
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
This widget could not be displayed.