Jan 28, 2021
07:19 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jan 28, 2021
07:19 AM
Hello!
I'm using XMC4x00 microcontrollers for quite some time now, but now I'm trying to achieve some time-critical operations with CCU4/8 and I rather use DAVE to generate some example code before trying it on my own.
The goal is to generate simple start/stop event for a CCU4 timer, which is connected to some digital I/O on my 4800 EtherCat relax board. After configuring event 0 and enabling the event, DAVE tells me that the event is not connected (probably to a digital IO or some sort of event app):
Already added Digital I/O app, but I'm unable to perform any connections between those two apps. Can anyone please hint me to a simple tutorial on that topic?
Thanks a lot!
ErnieT
I'm using XMC4x00 microcontrollers for quite some time now, but now I'm trying to achieve some time-critical operations with CCU4/8 and I rather use DAVE to generate some example code before trying it on my own.
The goal is to generate simple start/stop event for a CCU4 timer, which is connected to some digital I/O on my 4800 EtherCat relax board. After configuring event 0 and enabling the event, DAVE tells me that the event is not connected (probably to a digital IO or some sort of event app):
Already added Digital I/O app, but I'm unable to perform any connections between those two apps. Can anyone please hint me to a simple tutorial on that topic?
Thanks a lot!
ErnieT
Solved! Go to Solution.
- Tags:
- IFX
1 Solution
Jan 29, 2021
01:37 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jan 29, 2021
01:37 AM
Hi,
You can need to connect the digital_io app pin signal to in the events inputs in the CCU4.
Afterwards you need to configure the start/stop functions to use the appropriate events.
Regards,
Jesus
You can need to connect the digital_io app pin signal to in the events inputs in the CCU4.
Afterwards you need to configure the start/stop functions to use the appropriate events.
Regards,
Jesus
4 Replies
Jan 29, 2021
01:37 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jan 29, 2021
01:37 AM
Hi,
You can need to connect the digital_io app pin signal to in the events inputs in the CCU4.
Afterwards you need to configure the start/stop functions to use the appropriate events.
Regards,
Jesus
You can need to connect the digital_io app pin signal to in the events inputs in the CCU4.
Afterwards you need to configure the start/stop functions to use the appropriate events.
Regards,
Jesus
Jan 30, 2021
04:55 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jan 30, 2021
04:55 AM
Hello Jesus,
thanks for the picture story.
I created a new DAVE project and added CCU4_SLICE_CONFIG [4.0.20] as well as DIGITAL_IO [4.0.16] apps to it.
Then configured the I/O as input and allocated a pin for it.
In next step, I tried to connect the two apps as shown in your screenshot. Problem is the CCU4 app does not show up the "HW Signal connections" dialog.
Seems that is my main problem. I wonder if I somehow have to place the digital I/O app under the CCU4 app (1st screenshot).
Best regards,
ErnieT
thanks for the picture story.
I created a new DAVE project and added CCU4_SLICE_CONFIG [4.0.20] as well as DIGITAL_IO [4.0.16] apps to it.
Then configured the I/O as input and allocated a pin for it.
In next step, I tried to connect the two apps as shown in your screenshot. Problem is the CCU4 app does not show up the "HW Signal connections" dialog.
Seems that is my main problem. I wonder if I somehow have to place the digital I/O app under the CCU4 app (1st screenshot).
Best regards,
ErnieT
Jan 30, 2021
07:24 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jan 30, 2021
07:24 AM
Answer to self:
The input pins which can be used as event input depend on the CCU4 / CCU8 instance. They are listed in table "Port I/O function table" in manual. If a I/O is mapped to "Digitial IO" app, which does not match the CCU4 instance, the "HW Signal connections" does not even show the CCU4_SLICE_CONFIG.
It would be better much clearer to the user if he could select the instance, but then a message box appears which tells him that the selected I/O cannot be connected.
The input pins which can be used as event input depend on the CCU4 / CCU8 instance. They are listed in table "Port I/O function table" in manual. If a I/O is mapped to "Digitial IO" app, which does not match the CCU4 instance, the "HW Signal connections" does not even show the CCU4_SLICE_CONFIG.
It would be better much clearer to the user if he could select the instance, but then a message box appears which tells him that the selected I/O cannot be connected.
Feb 15, 2021
03:42 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Feb 15, 2021
03:42 AM
Hello Ernie,
you can choose the slice instance by your own under "Manuel Resource Assignment".
I would also recommend the follwoing tool: "XMC Pinout Tool"
http://www.infineon.com/dgdlc/en?dcId=8a8181663431cb50013431cb500b0000&downloadTitle=Infineon-XMC_Pi...
best regards
Andi
you can choose the slice instance by your own under "Manuel Resource Assignment".
I would also recommend the follwoing tool: "XMC Pinout Tool"
http://www.infineon.com/dgdlc/en?dcId=8a8181663431cb50013431cb500b0000&downloadTitle=Infineon-XMC_Pi...
best regards
Andi