AM5716: CAN communication issues

Part Number: AM5716

RT Linux SDK9.03.06.05, Kernel 6.1.119-rt, C_CAN driver. 1Mbps, 40% Bus loading, there is interferrence on CAN Bus.

CAN interreupt priority: -67, receive thread priority: -66.

#1. After multiple times of transmit fail, will trigger: 

No buffer space available

adjust buffer configuration like: ip link set can0 txqueuelen xxxx, still trigger ‘No buffer space available’ after sometimes.

Question: What is the reason of this error? how to adjust from driver to avoid it?

#2. Restart CAN bus, driver print:.

net can0: c_can_hw_raminit_wait_syscon: time out

Question: what is the reason?

#3. sometimes kernel report below error before restart and reconfiguration:

[173532.658525] net can0: c_can_hw_raminit_wait_syscon: time out
[173532.658846] c_can_platform 4ae3c000.can can0: setting BTR=4d00 BRPE=0000
[173712.429712] c_can_platform 4ae3c000.can can0: can_put_echo_skb: BUG! echo_skb 3 is occupied!

#4. What result in the CAN interrupt was disabled in below log:

[179734.977159] irq 91: nobody cared (try booting with the "irqpoll" option)
[179734.977167] CPU: 0 PID: 14827 Comm: irq/91-can0 Not tainted 6.1.119-rt45-00004-gcc4dcbbb0644-dirty #2
[179734.977177] Hardware name: Generic DRA72X (Flattened Device Tree)
[179734.977184] Function entered at [<c020bd98>] from [<c0208e6c>]
[179734.977191] Function entered at [<c0208e6c>] from [<c08f94e8>]
[179734.977197] Function entered at [<c08f94e8>] from [<c08ef8a0>]
[179734.977201] Function entered at [<c08ef8a0>] from [<c0262328>]
[179734.977206] Function entered at [<c0262328>] from [<c025f234>]
179734.977211] Function entered at [<c025f234>] from [<c0262f98>]
[179734.977214] Function entered at [<c0262f98>] from [<c025e53c>]
[179734.977218] Function entered at [<c025e53c>] from [<c020136c>]
[179734.977222] Function entered at [<c020136c>] from [<c08f9620>]
[179734.977226] Function entered at [<c08f9620>] from [<c08c6508>]
[179734.977231] Function entered at [<c08c6508>] from [<c0200c28>]
[179734.977234] Exception stack(0xc2573ee0 to 0xc2573f28)
[179734.977244] 3ee0: 0000001a 04000000 c15a0600 0b402204 c15a0600 c24db480 c2514300 c15a060c
[179734.977250] 3f00: c02600dc c15a0670 c0ea8809 c0a89148 f01fc307 c2573f30 c0263900 c025fe88
[179734.977255] 3f20: 200d0013 ffffffff
[179734.977259] Function entered at [<c0200c28>] from [<c025fe88>]
[179734.977263] Function entered at [<c025fe88>] from [<c0260158>]
[179734.977266] Function entered at [<c0260158>] from [<c025fa48>]
[179734.977270] Function entered at [<c025fa48>] from [<c0242414>]
[179734.977274] Function entered at [<c0242414>] from [<c02001e4>]
[179734.977278] Exception stack(0xc2573fb0 to 0xc2573ff8)
[179734.977283] 3fa0:                                     00000000 00000000 00000000 00000000
[179734.977290] 3fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[179734.977295] 3fe0: 00000000 00000000 00000000 00000000 00000013 00000000
[179734.977298] handlers:
[179734.977301] [<2831285b>] 0xc025f25c threaded [<a070f4a3>] 0xc06515a8
[179734.977313] Disabling IRQ #91