Skip to main content
Bill Finger
Associate II
August 11, 2017
Question

SAI Rx DMA w/ CIRC does not Recirculate

  • August 11, 2017
  • 1 reply
  • 588 views
Posted on August 11, 2017 at 21:01

I am using the SAI1 peripheral on the STM32469I for full-duplex operation.  I first implemented independent Tx, and it works great.  However, when I add synchronous slave receive, the DMA acts very strangely.  Instead of filling the buffer and recirculating, as expected, it instead writes over all RAM until there is a Hard-Fault.

Any ideas?  The RM gives no indication that circular mode should not work in the peripheral-to-memory case.

    This topic has been closed for replies.

    1 reply

    Bill Finger
    Associate II
    August 11, 2017
    Posted on August 11, 2017 at 21:31

    Nevermind; I had stupidly entered the wrong transfer size.  CIRC works just great.