How to configure the ELC, how does the Event links configuration in e2Studio work?

Hello,

I got inspired by these blog post :

The Event Link Controller – Automatically Manage Low Level System Tasks on RA MCUs | Renesas

Creating autonomous I/O systems without the need for CPU intervention | Renesas

I want to chain events together without CPU-Intervention. For example: I want to trigger a DMA transfer by a rising edge of an IO PORT.

I understand, that this is possible with the IOPORT EVENTs, which are handled by the ELC? But looking into it I get more and more confused on how to actually use the ELC or activation sources of the DMA and other modules in general. I am able to activate the DMA when receiving data on a SCI, but this is not an ELC Event, correct?

In the e2studio I have the possibilty to use the event link configuration, but it lacks any explanation on how to use it and any follow up steps on other configurations (like PIN config or the FSP-Modules). I could not find any documents about it either.

Looking at the FSP-Docs is of little help either:

The DMAC has triggering by ELC as a feature.

But looking at the FSP of the ELC I see this picture:

This indicates to me, that the only thing possible is a link DMAC to I/OPORT but not the other way around.

Can someone explain to me, how the event link configuration works, the relation between activation sources and ELC and what configuration steps are needed for linking two modules together? And where to look in the docs?

A pointer to documents or how-tos is also very welcome Slight smile.

Some follow up questions:

  • An Event is in this context always an Interrupt?
  • Can I trigger the DTC with the ELC on a RA6M5 without CPU-Intervention? 
  • Is it possible to trigger a DMA channel with a different DMA channel? For example DMA channel 0 "transfer end" starts DMA channel 1 transfer.

Thank you in advance for your time :)

Regards

Joe