CAN Hardware Controller Filter

Discussion in 'Embedded Systems and Microcontrollers' started by SPG, Jun 19, 2012.

  1. SPG

    Thread Starter New Member

    Jun 18, 2012
    2
    0
    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
     
  2. adrenalina

    Active Member

    Jan 4, 2011
    78
    3
    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.
     
  3. Papabravo

    Expert

    Feb 24, 2006
    10,140
    1,789
    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.
     
Loading...