This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Managing EDMA handle via DMAN3 on ARM?

Other Parts Discussed in Thread: DM3730

Hi, everyone,

Right now I'm using C6Accel on DM3730 platform.

I created my own algorithm and integrated it into the C6Accel library.

I'm using DMAN3 and ACPY3 in that algorithm without a problem.

However, I don't think I'm using DMAN3 in the correct way.

What I'm doing is initialize DMAN3 and ACPY3 at the beginning of the algorithm and de-initialize them at the end of the algorithm, which is repeated every time the algorithm is called.

My question is, when and where shall DMAN3_init() and DMAN3_createChannel() shall be called?

Is it supposed to be in the DSP/BIOS main function that runs the DSP side initialization code? Or in the ARM side application?

If it's supposed to be on the ARM side, shall I just call them directly as API functions, or wrap them in algorithms so that they are called on the ARM side but actually run on the DSP side?

I have this question because the EDMA3 controller is inside DSP and ARM uses another SDMA controller.

I definitely want to manage the EDMA resources in the ARM application, but I just don't have an idea how to do it.

Thank you

Dehuan