1

I’m doing tests on embedded hardware with integrated CAN bus interface. The driver provides Linux Socket API.

I try to see the limits: I have one transmitter that writes CAN frames as fast as possible and a receiver that reads continuously.

After a moment the receiver gets an error frame signalling RX overflow. I have no problem with that, it's normal and expected.

But my question is why at this point no more frame is received ? (The restart-ms option is set)

I expected some dropped frames and others RX buffer errors but not the end of reception.

Nikko
  • 4,182
  • 1
  • 26
  • 44
Nelstaar
  • 769
  • 9
  • 26

1 Answers1

1

After exchanging emails with socket-can developers and my device provider, it was an bug in the driver. In the mean time a patch was released to move at91_can to new rx_fifo architecture. this patch fix the issue.

Nelstaar
  • 769
  • 9
  • 26