Skip to contentSkip to conversation

imx spi performance

DISCUSSION Sean Nyekjær 1 participant 1 message Mar 9, 2016 SPI

lore
Share & tools
lore
#0 lore raw

Hi

We are getting a very low throughput with the imx6q and the spi interface :-( I have tried both with gpio CS and HW CS.

With gpio CS:
I have a imx6q hooked up to 4x spi uarts(sc16is750) running 4MHz, using 2 spi channels and 4 chipselects.
With HW flowcontrol @ 115200 8n1, and full duplex on all 4 uarts, we are getting a maximum throughput of 69841 bits/sec. That to me seems very slow.

With HW CS:
It does not seem to work as CS is shifted for every BITS_PER_WORD and that is not compliant with most spi devices.

Does someone have any ideas we can try to boost the performance.

/Sean

--
To unsubscribe from this list: send the line "unsubscribe linux-spi" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html