I want to charge and discharge the external capacitors at constant interval(Following the pattern) with Edma feature. I am planning to use LPTMR to define the interval. Both timer trigger and port assignment must be done with edma. I presume i must use the shatter gather method to assign different values to the port registers. I am not successful with SDK. Any guidance or example code would be helpful.
Hello,
I'm afraid we don't such an example.
But you don't have to use the shater-gatter method for this, you can transfer different data to the port in each minor loop triggered by the LPTMR.
Regards,
Daniel