Re: [PATCH 0/6] Add Microchip MCP25XXFD CAN driver

From: Marc Kleine-Budde
Date: Mon Jun 22 2020 - 08:54:30 EST


On 6/22/20 2:43 PM, Kurt Van Dijck wrote:
> I get RX-0: FIFO overflows in listen-only mode (back-to-back burst of
> the single other node).

Single other node? Who's ACKing the CAN frames?

> The SPI peripheral does not use DMA :-(.

The SPI messages are quite small, so DMA wont help either. Getting rid of the
IRQ and polling for completion is the way to go.

> Do you have, by accident, some freescale SPI fixes lying around?

nope

> It's not the biggest problem on my side, but is proves the system not
> being guarded against load.

Do you have freq scaling activated?

Marc

--
Pengutronix e.K. | Marc Kleine-Budde |
Embedded Linux | https://www.pengutronix.de |
Vertretung West/Dortmund | Phone: +49-231-2826-924 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |