Hi,
on my board there is a 512kBit FRAM connected to the SPI interface. The interface is configured to spi-max-frequency = 40MHz ( which results in a clock frequency of about 36 MHz). But writing 512kBit lasts ~0.6 or ~1.2s depending on eoq- or tcfq-irq-mode, which is too long for my application. It seems IRQ based transfer is not fast enough. Is there the possibility to configure DMA for SPI transfer?
Best regards
Thomas
Have a great day,
The LS1021A SPI can use eDMA for adding entries to TX FIFO and removing entries from RX FIFO. The spi software driver may support or may not support DMA mode. See for example
http://lists.infradead.org/pipermail/linux-arm-kernel/2014-February/235598.html
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------