Feb 17, 2016
08:51 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Feb 17, 2016
08:51 AM
I have been working a lot with DAVE3.1.10 and was quite pleased.
It's now time to start a new development project, and installed the new DAVE4 IDE. Will use FreeRTOS so i thought DAVE4 to be an upgrade since i now have it implemented as an app - great!
I was intending to measure dutycylce on an digital input. My question is: How do i achieve this in DAVE4 when CAP001 is left out?
It's now time to start a new development project, and installed the new DAVE4 IDE. Will use FreeRTOS so i thought DAVE4 to be an upgrade since i now have it implemented as an app - great!
I was intending to measure dutycylce on an digital input. My question is: How do i achieve this in DAVE4 when CAP001 is left out?
- Tags:
- IFX
3 Replies
Not applicable
Feb 17, 2016
11:37 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Feb 17, 2016
11:37 PM
HI,
Currently the CAPTURE APP is planned for release in July.
In the meanwhile, I recommend use the XMCLib to measure the dutycycle of a digital input.
For this, you can refer to the Application Note: AP32287 - XMC1000/XMC4000 - Capture Compare Unit 4(CCU4) / Chapter 3, where a use case with code is presented on how to measure a PWM duty from a digital input. The code using XMClib is also available in this application note.
[ http://www.infineon.com/cms/en/product/microcontroller/32-bit-industrial-microcontroller-based-on-ar... ]
=> look for AP32287 - XMC1000/XMC4000 - Capture Compare Unit 4(CCU4)
Regards,
Daryl 🙂
Currently the CAPTURE APP is planned for release in July.
In the meanwhile, I recommend use the XMCLib to measure the dutycycle of a digital input.
For this, you can refer to the Application Note: AP32287 - XMC1000/XMC4000 - Capture Compare Unit 4(CCU4) / Chapter 3, where a use case with code is presented on how to measure a PWM duty from a digital input. The code using XMClib is also available in this application note.
[ http://www.infineon.com/cms/en/product/microcontroller/32-bit-industrial-microcontroller-based-on-ar... ]
=> look for AP32287 - XMC1000/XMC4000 - Capture Compare Unit 4(CCU4)
Regards,
Daryl 🙂
Feb 19, 2016
05:03 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Feb 19, 2016
05:03 AM
Thanks Daryl for your reply.
I have decided to stick with DAVE 3.1.10. And as i wrote before - i will need to measure dutycylcle and preferebly also frequency from an digital input.
Have now been looking at the CAP001-app, but i don't really understand how to use it. The provided example uses an internal generated PWM-signal which is read back.
But how do i connect CAP001 to an app like IO002? Is there any example out there?
I have decided to stick with DAVE 3.1.10. And as i wrote before - i will need to measure dutycylcle and preferebly also frequency from an digital input.
Have now been looking at the CAP001-app, but i don't really understand how to use it. The provided example uses an internal generated PWM-signal which is read back.
But how do i connect CAP001 to an app like IO002? Is there any example out there?
Not applicable
Feb 24, 2016
02:00 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Feb 24, 2016
02:00 AM
HI,
Using the CAP001_Example_XMC13 project, you can add the IO002 APP. This is the input pin for your capture signal.
Thereafter you can connect the PAD signal to CAP001/Input Duty and Input/Period.
Regards,
Daryl
Using the CAP001_Example_XMC13 project, you can add the IO002 APP. This is the input pin for your capture signal.
Thereafter you can connect the PAD signal to CAP001/Input Duty and Input/Period.
Regards,
Daryl