This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

CAN driver question ...

Hi,

I am using the RL-ARM provided CAN driver. I have the need to configure receive messages after I started the CAN driver. I use "CAN_rx_object" to configure new receive objects (CAN-controller 2) and this part is working. I noticed that after using "CAN_rx_object" in a running CAN system, the CAN-controller 1 is impacted and generates errors. I have a CANOpen driver handling the traffic on the CAN-controller 1.

Here are my questions:

- Can I use "CAN_rx_object" after I started the CAN controller (the documentation does not provide further information)?

- Why is CAN-controller 1 impacted if CAN-controller 2 is reconfigured?

Thank you - Frank!

Parents Reply Children
  • The CAN controller in the LPC2468 looks more or less identical to the one in the LPC2368.

    If you look in the datasheet, you will notice that the acceptance filter module is shared, so any reconfiguration of filters will affect both CAN channels.

    If a reconfiguration of one controller also touches the acceptance filter module, then the other controller will be affected.

    But for best answers, you should look for someone who are using the Keil-supplied CAN code.

  • Hi Per Westermark,

    as I already said, the first CAN controller does not use acceptance filtering. CAN controller-1 uses a software filtering for exactly this reason.

    - Frank

  • "as I already said, the first CAN controller does not use acceptance filtering."

    Are you asking this question on more than one forum?

    I can't see anything about your use - or non-use - of acceptance filtering in your prevous two posts.