CAN Filter Variable

Forum for problems or queries regarding Flowcode Comms Components. Eg LIN, I2C, SPI, RS232, CAN, IrDA etc

Moderators: Benj, Mods

Post Reply
beambase
Posts: 94
Joined: Wed Jul 29, 2009 5:15 pm
Has thanked: 6 times
Been thanked: 8 times
Contact:

CAN Filter Variable

Post by beambase »

Hi,
I am working on a CAN device what will have a user confugurable address via DIP switches. I also want to use the Filter function in the general CAN component settings so that the node only processes the valid addresses. Is it possible to use a variable rather than a fixed HEX value as a filter? The idea is that the filter value will change with the settings of the DIP switches.

Thanks.

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: CAN Filter Variable

Post by Benj »

Hello

Im afraid the current CAN component has the masks and filters fixed after you have defined them in the properties window.

What you can do is to enable all incoming messages and then add masking or filtering yourself using your own software filters.

beambase
Posts: 94
Joined: Wed Jul 29, 2009 5:15 pm
Has thanked: 6 times
Been thanked: 8 times
Contact:

Re: CAN Filter Variable

Post by beambase »

I do filtering inside the software. The problem is that the filtering process takes so long time that the next incomming message is missed. Any idea for how a work-around could be done?

Post Reply