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!
Hi Frank,
if you do not need to use Acceptance filter then it is a better solution that you do not call functions CAN_rx_object as that function switches acceptance filter to be used. Function CAN_init initializes acceptance filter as not used.
There is no point in calling CAN_rx_object function if you are not using hardware filtering (acceptance filter).
Milorad