Jul 26, 2014
07:18 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jul 26, 2014
07:18 AM
I am aware P0.0 on the XMC4500 MCU is not a CCU4 input but maybe any suggestions to connect somehow this input to a capture pin?
I have a Pwm signal connected and trying to detect the period and duty cycle.
Hard way will be monitor the status as external interrupt? Or even using a system timer to count the high and low time segments?
I have a Pwm signal connected and trying to detect the period and duty cycle.
Hard way will be monitor the status as external interrupt? Or even using a system timer to count the high and low time segments?
- Tags:
- IFX
6 Replies
Not applicable
Jul 28, 2014
11:33 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jul 28, 2014
11:33 PM
Hi Jean Paul,
I think you should be able to use ERU to make the connection between ports and CCUx. You can try to use ERU001, ERU002 and CAP001 Apps for your case.
There are some examples can be used as reference:
1) "ERU001_ERU002_Example2" - external interrupt event via port pin
2) "CAP001_Example1" - measurement of PWM signal (period and duty cycle information)
Good luck...
BR,
Zain
I think you should be able to use ERU to make the connection between ports and CCUx. You can try to use ERU001, ERU002 and CAP001 Apps for your case.
There are some examples can be used as reference:
1) "ERU001_ERU002_Example2" - external interrupt event via port pin
2) "CAP001_Example1" - measurement of PWM signal (period and duty cycle information)
Good luck...
BR,
Zain
Jul 29, 2014
05:18 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jul 29, 2014
05:18 AM
Zain
Thanks for the suggestion. I tried to add the ERU001, ERU002 and CAP001 Apps. For some reason I can't interconnect ERU002 to CAP001. ERU002 only shows me a NVICXX connection available. Is it possible to assign this connection manually?
Thanks for the suggestion. I tried to add the ERU001, ERU002 and CAP001 Apps. For some reason I can't interconnect ERU002 to CAP001. ERU002 only shows me a NVICXX connection available. Is it possible to assign this connection manually?
Not applicable
Jul 29, 2014
08:19 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jul 29, 2014
08:19 PM
Hi Jean Paul,
I'm able to make direct connection between ERU002 and CAP001. Attached is the snapshot of "Signal Assignment".
BR,
Zain
I'm able to make direct connection between ERU002 and CAP001. Attached is the snapshot of "Signal Assignment".
BR,
Zain
Jul 29, 2014
08:30 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jul 29, 2014
08:30 PM
Zain
Not sure why I am not able to do it. I am attaching a capture of my DAVE 3 IDE. The only option it shows me to connect is NV002/3 App. I am using XMC4500 F1024 AC chip
Not sure why I am not able to do it. I am attaching a capture of my DAVE 3 IDE. The only option it shows me to connect is NV002/3 App. I am using XMC4500 F1024 AC chip
Not applicable
Jul 29, 2014
10:31 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jul 29, 2014
10:31 PM
Hi Jean Paul,
Just realized that there is no signal connection between ERU0 and CCUx. Hence, P0.0 is unable to be used in your case since it is assigned to ERU0.0B0. You need to select the pins assigned to ERU1 eg. P0.3 or P0.5.
BR,
Zain
Just realized that there is no signal connection between ERU0 and CCUx. Hence, P0.0 is unable to be used in your case since it is assigned to ERU0.0B0. You need to select the pins assigned to ERU1 eg. P0.3 or P0.5.
BR,
Zain
Jul 30, 2014
05:10 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jul 30, 2014
05:10 AM
Thanks Zain. In this case I can do the capture module on software manually. Just I was trying to check if it is possible.