MultiCAN RxFIFOwith multiple acceptance Filters

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

cross mob
mrcollins
Level 1
Level 1
First question asked First reply posted Welcome!
Is is possible to use an RxFIFO and have multiple acceptance filters? This is possible on offerings from NxP and I am trying to replicate this on the XMC4500. Also,

Is there a single MO entry to read for the RxFIFO? Seems like I have to walk each MO that is being used for the FIFO but this seems odd to do and I am probably doing it wrong.

Thanks
0 Likes
1 Solution
Vasanth
Moderator
Moderator
Moderator
250 sign-ins 500 solutions authored First question asked
Hi,

The acceptance filtering for RxFIFO based design is dependent on the base object. So the base object defines the acceptance filtering for a single RxFIFO. Also understand that we can can multiple RxFIFO is in XMC Multican.
There is a CUR object in the base object which points to the slave object. This should help point to the right slave object to be accessed. I hope these answer your queries.

Additionally following appnote and code examples should be helpful for you.

Best Regards,
Vasanth

View solution in original post

0 Likes
6 Replies
Vasanth
Moderator
Moderator
Moderator
250 sign-ins 500 solutions authored First question asked
Hi,

The acceptance filtering for RxFIFO based design is dependent on the base object. So the base object defines the acceptance filtering for a single RxFIFO. Also understand that we can can multiple RxFIFO is in XMC Multican.
There is a CUR object in the base object which points to the slave object. This should help point to the right slave object to be accessed. I hope these answer your queries.

Additionally following appnote and code examples should be helpful for you.

Best Regards,
Vasanth
0 Likes
mrcollins
Level 1
Level 1
First question asked First reply posted Welcome!
Anyway to get some examples from the fine people here? I've read the app notes and the code examples are a
bit lackluster for anything more than a basic use case.
0 Likes
Vasanth
Moderator
Moderator
Moderator
250 sign-ins 500 solutions authored First question asked
Hi,

Could you please let us know what are requirements from the example ?

Best Regards,
Vasanth
0 Likes

I have posted an example.  Any word or advice on achieving it?

0 Likes
mrcollins
Level 1
Level 1
First question asked First reply posted Welcome!
The example device uses canID of 0x010 11-bit addresses.

Filters need to accept messages from 0x000, 0x080, everything from 0x780-0x7FF,
and the following orred with the nodeID: 0x200, 0x300, 0x400, 0x500, 0x600.

I need to be notified anytime any of those are received. Waiting until the overflow
interrupt is not acceptable in my application. Given the rate of messages being received,
I do need to use an RxFIFO of a minimum length of 8.

Any help would be appreciated. Thanks!
0 Likes
mrcollins
Level 1
Level 1
First question asked First reply posted Welcome!
Any word on a potential example doing any of this?
0 Likes