Hello,
I am using EDMA3 to write to UART2.
I am activating it in manual triggered mode, and configuring it so each time the transfer is complete, an interrupt is generated, where the new transfer parameters are set.
This works fine, as long as I set a break point in interrupt routine, but when I let it run with no breakpoints, somwhere in the middle the transfer stops, although sequence runs to completion.
I think the problem is in the way EDMA event register are configured:
in start sequence I set (each with corrsponding bit): ICR and ESR, in interrupt i set at the start ECR and ICR, at the end of interrupt service routine ESR (to triger nex event)
Is this the right way to do it, or I miss something?
Thank You.
Arye