On Tue, May 12, 2020 at 10:48:41AM +0800, Shengjiu Wang wrote: > On Wed, May 6, 2020 at 10:33 AM Shengjiu Wang wrote: > > On Fri, May 1, 2020 at 6:23 PM Mark Brown wrote: > > > > EDMA requires the period size to be multiple of maxburst. Otherwise > > > > the remaining bytes are not transferred and thus noise is produced. > > > If this constraint comes from the DMA controller then normally you'd > > > expect the DMA controller integration to be enforcing this - is there no > > > information in the DMA API that lets us know that this constraint is > > > there? > > No, I can't find one API for this. > > Do you have a recommendation? > could you please recommend which DMA API can I use? Not off-hand, you'd probably need to extend the API to export the information.