On 6/22/20 3:26 PM, Kurt Van Dijck wrote: > On ma, 22 jun 2020 14:54:15 +0200, Marc Kleine-Budde wrote: >> 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? > > hence the back-to-back burst. Just wanted to be sure if I understood correctly. Nice testcase btw! >>> 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? > > Not yet. > > The device tree needs upgrading ... grrr Without freq scaling the imx core is supposed to run at full speed, which is better for bursty SPI traffic than starting clocked down into a burst.... 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 |