On Thu, Mar 28, 2019 at 10:04:21AM +0300, Igor Plyatov wrote:
Dear Uwe,Is this a theoretical reasoning, or is that backed by testing? People
Hello Igor,disabling of DMA is not an option, because high throughput required for SPI
On Wed, Mar 27, 2019 at 08:40:00PM +0300, Igor Plyatov wrote:
please, help to resolve two issues with SPI DMA transfers at i.MX6QThis is probably the same problem I hit some time ago. Check ERR009165
platform.
First issue is
Â[ 4465.008003] spi_master spi0: I/O Error in DMA RX
Second issue is duplication for one of received bytes.
Probably, these issues related to each one.
in the errata. You either need to disable DMA or need a fixed
sdma-Script.
bus to communicate with DSPs.
here on the list already said things like:
The eCSPI appears to insert a 4 bit pause after each word in DMA
mode, not done in PIO mode, which can make DMA transfers 50%
slower than PIO.
You might want to read the thread
https://marc.info/?l=linux-spi&m=155191201208766&w=2
.
I'm aware of ERR009165, but as I write some minutes earlier to list, spi0As the issue is a timing race, it might depend on things like length of
(alias for ecspi1) and spi1 (alias for ecspi2) work flawless, while spi4
(alias for ecspi5) fails very fast.
the SPI lines, load on the data lines and other electrical properties.
So you might just be happy that spi0 and spi1 don't show the issue for
you. Or you didn't apply the "right" work load yet.