Correct way to re-start eDMA scatter gather

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Correct way to re-start eDMA scatter gather

658 Views
ryanshuttlewort
Contributor IV

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.

Thanks.

0 Kudos
1 Reply

454 Views
Yuri
NXP Employee
NXP Employee

Hello,

  can we continue consideration under https://community.nxp.com/message/982345 ?

Regards,

Yuri.

0 Kudos