I want to use CAN 0-5 channel using s32ds 3.4 RTD 2.0.3 version.
The picture below is an error phenomenon as seen by Pcan view.
Data is transmitted and received on all CAN channels, but error passing occurs at irregular intervals.
I am sending and receiving CAN TX RX in 100ms.
I think the cause of this is in the process of controlling the controller.
Hi,
you need not to stop controller between transmission/reception.
Try to check CAN bit timing if it is set similarly on both sides, means same bitrate and sample point. If PE clock is selected to be running from FIRC, select rather FXOSC.
BR, Petr
@PetrS
I changed the CLOCK from FIRC to FXOSC, but I still get an Error Passive error.
The bit rate and sample point are set to 500 and 87.5.
If you don't need to stop the controller between transmitting and receiving, do you mean that you can do TX and RX every 100ms without having to do CAN_CS_STOPPED after you first do Can_SetControllerMode(0, CAN_CS_STARTED)?
I want to use all channels, but does this apply to all channels?