Hi
In the EDMA3 LLD, it seems that the "edma3ComplHandler()" completion handler uses a global variable for the shadow region.
How can the following 2 scenarios work then?
1) Completion interrupts for shadow region 3 of EDMA instance 0 and shadow region 4 of EDMA instance 1 (so different EDMA instances), on the same core.
2) Completion interrupts for two different shadow regions in the same EDMA instance, both handled by the same core.
Since the shadow region id in the compHandler function is a global variable in the core's L2SRAM, it is shared by all regions and instances in the specific core.
How at all can this work?
Thanks