Aug 21, 2014
06:31 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Aug 21, 2014
06:31 AM
I want to count external edges and for this reason I need a 32Bit counter. But as I looked at the timer concatenation interface I only saw the following possibilitys.
• Timer Period match (CC4yPM)
• Timer Zero match (CC4yZM)
• Timer Compare match (CC4yCM)
• Timer counting direction function (CCupd)
• Timer load function (CCload)
• Timer capture function for CC4yC0V and CC4yC1V registers (CCcap0)
• Timer capture function for CC4yC2V and CC4yC3V registers (CCcap1)
I'm not sure if it is possible in one of those modes to count an overflow of the first register(16Bit). What is the way this could be done, is there any way?
bg,
Michael
• Timer Period match (CC4yPM)
• Timer Zero match (CC4yZM)
• Timer Compare match (CC4yCM)
• Timer counting direction function (CCupd)
• Timer load function (CCload)
• Timer capture function for CC4yC0V and CC4yC1V registers (CCcap0)
• Timer capture function for CC4yC2V and CC4yC3V registers (CCcap1)
I'm not sure if it is possible in one of those modes to count an overflow of the first register(16Bit). What is the way this could be done, is there any way?
bg,
Michael
- Tags:
- IFX
2 Replies
Not applicable
Aug 21, 2014
09:06 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Aug 21, 2014
09:06 AM
take a look at this:
http://www.infineonforums.com/threads/1069-Cascading-Counters?highlight=counter
still it is not a 32bit Counter.
You will have two 16 bit Registers. those have to be copied to a 32 bit Register.
32bit Counting with one Register is not possible.
http://www.infineonforums.com/threads/1069-Cascading-Counters?highlight=counter
still it is not a 32bit Counter.
You will have two 16 bit Registers. those have to be copied to a 32 bit Register.
32bit Counting with one Register is not possible.
Aug 25, 2014
05:05 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Aug 25, 2014
05:05 AM
Thanks for the hint, it works.