On Fri, Jun 14, 2019 at 11:56:34AM +0200, Noralf Trønnes wrote: > Den 14.06.2019 10.28, skrev Andy Shevchenko: > > I gave a suggestion during LPC 2016 about this all stuff. We have to > > provide a DMA channel capability to tell user what is the maximum > > length is supported by the DMA engine. In such case the user may > > prepare the transfers which are satisfying limitations and no > > recreation is necessary, moreover, it will be performance wise to do > > so. > In this case the problem isn't the DMA engine, but the SPI controller > DLEN register which limits the overall transfer to ~64kB. Andy's point still stands though, we just need to make sure we also include SPI controller limits in case they're lower than the DMA controller limit.
Attachment:
signature.asc
Description: PGP signature