Oct 26, 2014
07:32 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Oct 26, 2014
07:32 PM
Our previous TIP mentioned about peripherals triggering the DMA for data transfer from a source to a destination with a DLR.
However we can also have peripherals to trigger other peripherals to start an action without any software intervention. So to do this we make use of the Event Request Unit (ERU).
The Event Request Unit (ERU) is a versatile multiple input event detection and processing unit. The XMC4500 provides two units - ERU0 and ERU1.
Each ERU unit consists of the following blocks:
• An Event Request Select (ERS) unit.
– Event Input Selectors allow the selection of one out of two inputs. For each of these two inputs, an vector of 4 possible signals is available.
– Event Combinations allow a logical combination of two input signals to a common trigger.
• An Event Trigger Logic (ETL) per Input Channel allows the definition of the transition (edge selection, or by software) that lead to a trigger event and can also store this status. Here, the input levels of the selected signals are translated into events.
• The Trigger Cross Connect Matrix distributes the events and status flags to the Output Channels. Additionally, trigger signals from other modules are made available and can be combined with the local triggers.
• An Output Gating Unit (OGU) combines the trigger events and status information and gates the Output depending on a gating signal.
However we can also have peripherals to trigger other peripherals to start an action without any software intervention. So to do this we make use of the Event Request Unit (ERU).
The Event Request Unit (ERU) is a versatile multiple input event detection and processing unit. The XMC4500 provides two units - ERU0 and ERU1.
Each ERU unit consists of the following blocks:
• An Event Request Select (ERS) unit.
– Event Input Selectors allow the selection of one out of two inputs. For each of these two inputs, an vector of 4 possible signals is available.
– Event Combinations allow a logical combination of two input signals to a common trigger.
• An Event Trigger Logic (ETL) per Input Channel allows the definition of the transition (edge selection, or by software) that lead to a trigger event and can also store this status. Here, the input levels of the selected signals are translated into events.
• The Trigger Cross Connect Matrix distributes the events and status flags to the Output Channels. Additionally, trigger signals from other modules are made available and can be combined with the local triggers.
• An Output Gating Unit (OGU) combines the trigger events and status information and gates the Output depending on a gating signal.
5 Replies
Oct 26, 2014
11:03 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Oct 26, 2014
11:03 PM
Here is an example for ERU on XMC4500 Relax kit.
http://www.infineonforums.com/threads/752-Tip-of-the-day-XMC4500-ERU-on-XMC4500-Relax-kit
http://www.infineonforums.com/threads/752-Tip-of-the-day-XMC4500-ERU-on-XMC4500-Relax-kit
Not applicable
Jul 14, 2016
08:19 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jul 14, 2016
08:19 AM
I have a problem..I have set up three buttons on three pins to trigger interrupts using the ERU (Button pad signal connects to eru001 signal A input, eru001 connected to eru002 and eru002 connected to nvic002) but unfortunately only one of them works. Can you help?
Thanks
Thanks
Jul 24, 2016
09:55 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jul 24, 2016
09:55 PM
Hi, Not all the buttons are connected to the ERU, please kindly check the related pins which are connected to the ERU.
Feb 10, 2020
02:29 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Feb 10, 2020
02:29 AM
Hello,
I am new to Microcontrollers and XMC / DAVE. I have a XMC1300 Boot Kit and I am trying to use the Event Detector and Event Generator apps to enable a LED when holding a Button.
There is a number of ways to do this in software or with interrupts but I am doing a series of examples to get to know the XMC and would like to do this without interrupts.
This is my configuration:
The Button is connected to port 2.6 and I am using the onboard LED at port 0.0.
When I debug this setup, the LED turns on immediately after startup and is always on. The button seems to do nothing.
What am I doing wrong here?
I am new to Microcontrollers and XMC / DAVE. I have a XMC1300 Boot Kit and I am trying to use the Event Detector and Event Generator apps to enable a LED when holding a Button.
There is a number of ways to do this in software or with interrupts but I am doing a series of examples to get to know the XMC and would like to do this without interrupts.
This is my configuration:
The Button is connected to port 2.6 and I am using the onboard LED at port 0.0.
When I debug this setup, the LED turns on immediately after startup and is always on. The button seems to do nothing.
What am I doing wrong here?
Feb 10, 2020
11:59 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Feb 10, 2020
11:59 PM
Hi,
You need to enable the edge detector, i.e. on rising edge, and status flag autoclear.
Regards,
Jesus
You need to enable the edge detector, i.e. on rising edge, and status flag autoclear.
Regards,
Jesus