CAN Hardware Controller Filter

Thread Starter

SPG

Joined Jun 18, 2012
2
Hi,

I'm setting up a Controller Area Network using an ARM Microcontroller and having trouble with the CAN filter...

Does anyone know how to disable a CAN controller hardware filter? or to set it to pass all CAN ID's???

Any help is greatly appreciated!!!!...


SPG
 

adrenalina

Joined Jan 4, 2011
78
Does it have masks? If it does you can clear the mask that is assigned to the filter so that it ignores all of the bits in the filter and will always pass all of the identifiers.
 

Papabravo

Joined Feb 24, 2006
22,116
It works on the concept of mask and match. In the mask you say which bits must match and which bits are don't care. If you set the mask so that all bits are don't care, then all messages will be received. This is referred to a "promiscuous mode". In "promiscuous mode" the contents of the match register can be anything. I usually set them to 0 in this mode.
 
Top