We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
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!
You forgot to mention what processor.
Note that some processors have partly common hardware foth multiple CAN devices. For example configuration of CAN filtering may affect multiple channels.
Hi Per Westermark,
I use the LPC2468 from NXP.
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.
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.