How can I avoid the CAN BUS entered bus off state ?

When there is some fluctuation in the bus,
my TX2 will appear: c310000.mttcan can0 :entered bus off state ,and lead it not able to send and receive data.
Can anyone help me to keep it from entering the BUS OFF state?


Is it always going in BUS OFF state? and Can you provide outputs of following:
ip -details -statistics link show can0
ip -details -statistics link show can1


ubuntu@tegra-ubuntu-4:~$ ip -statistics -details link show can1
6: can1: <NO-CARRIER,NOARP,UP,ECHO> mtu 16 qdisc pfifo_fast state DOWN mode DEFAULT group default qlen 10
link/can promiscuity 0
can state BUS-OFF (berr-counter tx 248 rx 0) restart-ms 0
bitrate 500000 sample-point 0.875
tq 25 prop-seg 34 phase-seg1 35 phase-seg2 10 sjw 1
mttcan: tseg1 2…255 tseg2 0…127 sjw 1…127 brp 1…511 brp-inc 1
mttcan: dtseg1 1…31 dtseg2 0…15 dsjw 1…15 dbrp 1…15 dbrp-inc 1
clock 40000000
re-started bus-errors arbit-lost error-warn error-pass bus-off
0 0 0 1 1 0
RX: bytes packets errors dropped overrun mcast
24 3 0 0 0 0
TX: bytes packets errors dropped carrier collsns
14128 14128 0 0 0 0


Can you please provide more details related to your setup which you are trying? Which CAN transceivers are you using and if there are any other CAN nodes which you have connected externally? I am trying to know why state is BUS-OFF.