AnsweredAssumed Answered

Correct way to re-start eDMA scatter gather

Question asked by Ryan Shuttleworth on Jan 24, 2018
Latest reply on Feb 2, 2018 by Yuri Muhin

Hello, I am using IAR with an RT1050 SDK, version  2.3.0 (2017-11-16).  I have set up a double buffered LPSPI example based on the SDK scatter gather example, however, the transaction terminates on the filling of the second buffer (last TCD) rather than restarting the whole process and buffering continuously.  So far I am only able to restart the process by going through the TCD setup again from the beginning which is very inefficient.  The linking does appear to be setup up correctly i.e. the DLAST_SGA of the last TCD links back to the first etc.


What is the correct way to make a scatter gather request run continuously?  Preferably without any software intervention once started.


No RTFM responses please.