AW: mcp251xfd: rx frame truncation (1/2)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> How often does this happen for you?
> What's your SPI speed? Do you see the errors on SPI0 and SPI6 or only one of them?

One failure was after 1h30, the other after 5h

Seems the transmit fifo messages appear on both:

Jan 18 04:09:32 raspberrypi kernel: [400402.605220] mcp251xfd spi0.0 can0: Transmit Event FIFO buffer not empty. (seq=0x0000016c, tef_tail=0x00000170, tef_head=0x00000171, tx_head=0x00000171).
Jan 18 04:31:19 raspberrypi kernel: [401710.169610] mcp251xfd spi6.0 can1: Transmit Event FIFO buffer not empty. (seq=0x00001d26, tef_tail=0x00001d2a, tef_head=0x00001d2b, tx_head=0x00001d2b).
Jan 18 04:54:48 raspberrypi kernel: [403118.964603] mcp251xfd spi0.0 can0: Transmit Event FIFO buffer not empty. (seq=0x00000900, tef_tail=0x00000904, tef_head=0x00000905, tx_head=0x00000905).
Jan 18 05:03:31 raspberrypi kernel: [403641.894620] mcp251xfd spi6.0 can1: CRC read error at address 0x0010 (length=4, data=04 4b 01 00, CRC=0xb14c) retrying.
Jan 18 05:08:32 raspberrypi kernel: [403942.287189] mcp251xfd spi6.0 can1: Transmit Event FIFO buffer not empty. (seq=0x000008fe, tef_tail=0x00000902, tef_head=0x00000903, tx_head=0x00000903).
Jan 18 05:16:20 raspberrypi kernel: [404410.525137] mcp251xfd spi6.0 can1: Transmit Event FIFO buffer not empty. (seq=0x000012aa, tef_tail=0x000012ae, tef_head=0x000012af, tx_head=0x000012b0).
Jan 18 05:27:41 raspberrypi kernel: [405091.805650] mcp251xfd spi6.0 can1: Transmit Event FIFO buffer not empty. (seq=0x00000152, tef_tail=0x00000156, tef_head=0x00000157, tx_head=0x00000157).
Jan 18 05:34:00 raspberrypi kernel: [405471.116322] mcp251xfd spi0.0 can0: Transmit Event FIFO buffer not empty. (seq=0x00001e36, tef_tail=0x00001e3a, tef_head=0x00001e3b, tx_head=0x00001e3b).

spi6 (can1): 10 MHz
spi0 (can0): 16,67 MHz (admitted, this was not intended)

Funny: the truncated message was received on can1 - with lower speed. And I have never seen other CRC errors than for address 0x0000 and 0x0010.

--
Stefan







[Index of Archives]     [Automotive Discussions]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]     [CAN Bus]

  Powered by Linux