Hi,
I'm evaluating the PICAN FD Duo board from Skpang. To test it out, I've connected can0 to can1 and running cangen -g 0 -m can0. After a short period of time, the command will exit with a message write: No buffer space available.
Kernel:
root@signalserver-canfd:~# uname -a Linux signalserver-canfd 4.14.98ms7-v7+ #75 SMP Sat Feb 16 22:22:33 UTC 2019 armv7l GNU/Linux
Looking in the kernel log I can see the following messages:
[ 323.947188] IPv6: ADDRCONF(NETDEV_CHANGE): can0: link becomes ready
[ 323.963571] IPv6: ADDRCONF(NETDEV_CHANGE): can1: link becomes ready
[ 343.344348] can: controller area network core (rev 20170425 abi 9)
[ 343.344444] NET: Registered protocol family 29
[ 343.352870] can: raw protocol (rev 20170425)
[ 343.361683] NOHZ: local_softirq_pending 08
[ 343.363120] NOHZ: local_softirq_pending 08
[ 343.366264] NOHZ: local_softirq_pending 08
[ 343.367370] NOHZ: local_softirq_pending 08
[ 343.368599] NOHZ: local_softirq_pending 08
[ 343.369537] NOHZ: local_softirq_pending 08
[ 343.370786] NOHZ: local_softirq_pending 08
[ 343.374552] NOHZ: local_softirq_pending 08
[ 343.375805] NOHZ: local_softirq_pending 08
[ 343.376777] NOHZ: local_softirq_pending 08
[ 402.700957] mcp25xxfd spi0.1 can0: Something is wrong - we got a TEF interrupt but we were not able to detect a finished fifo
[ 402.701055] mcp25xxfd spi0.1 can0: tefif: fifo 1 not pending - tef data: id: 0b066825 flags: 00000217, ts: 04947926 - this may be a problem with spi signal quality- try reducing spi-clock speed if this can get reproduced
[ 402.702035] mcp25xxfd spi0.1 can0: tefif: fifo 2 not pending - tef data: id: 03c34c04 flags: 00000435, ts: 04947d64 - this may be a problem with spi signal quality- try reducing spi-clock speed if this can get reproduced
[ 402.703176] mcp25xxfd spi0.1 can0: tefif: fifo 3 not pending - tef data: id: 00000479 flags: 0000068b, ts: 04948196 - this may be a problem with spi signal quality- try reducing spi-clock speed if this can get reproduced
[ 402.703214] mcp25xxfd spi0.1 can0: tefif: fifo 4 not pending - tef data: id: 14d04342 flags: 0000089c, ts: 049485bf - this may be a problem with spi signal quality- try reducing spi-clock speed if this can get reproduced
[ 402.704475] mcp25xxfd spi0.1 can0: tefif: fifo 5 not pending - tef data: id: 00000253 flags: 00000ac0, ts: 049489d3 - this may be a problem with spi signal quality- try reducing spi-clock speed if this can get reproduced
[ 402.704512] mcp25xxfd spi0.1 can0: tefif: fifo 6 not pending - tef data: id: 177f51db flags: 00000c9e, ts: 04948e1a - this may be a problem with spi signal quality- try reducing spi-clock speed if this can get reproduced
[ 402.704546] mcp25xxfd spi0.1 can0: tefif: fifo 7 not pending - tef data: id: 041ee9fb flags: 00000e15, ts: 04949245 - this may be a problem with spi signal quality- try reducing spi-clock speed if this can get reproduced
I've tried different values for -g, but it just takes slightly longer to fail. Also I've tried to half spimaxfrequency following the suggestion in the kernel log.
Hi,
I'm evaluating the PICAN FD Duo board from Skpang. To test it out, I've connected can0 to can1 and running
cangen -g 0 -m can0. After a short period of time, the command will exit with a messagewrite: No buffer space available.Kernel:
root@signalserver-canfd:~# uname -a Linux signalserver-canfd 4.14.98ms7-v7+ #75 SMP Sat Feb 16 22:22:33 UTC 2019 armv7l GNU/LinuxLooking in the kernel log I can see the following messages:
I've tried different values for
-g, but it just takes slightly longer to fail. Also I've tried to halfspimaxfrequencyfollowing the suggestion in the kernel log.