Re: spi-rspi mixes DMA and PIO transfers causing PIO transfer to fail.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I've done some experiments to try to locate where the delay is and it
does seem to just be reading the source data is slow.
If I reduce the SPI bus speed the length of the delay (in spi clocks)
between bytes is shorter.
At 10MHz there are ~24 clocks of idle but with 1MHz there are only ~4
clocks of idle.

The DMA controller in the RZ/A1 can apparently read a long from the
source in one transaction and feed it too the destination
as 4 byte writes so I'm thinking maybe I can setup the DMA controller
to read 2 longs and write that as 8 bytes in one go so
that each DMA transaction fills the SPI controller's FIFO.



[Index of Archives]     [Linux Samsung SOC]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux