Jan 07, 2021
05:52 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jan 07, 2021
05:52 AM
All:
If I want to measure two different ranges of PWM inputs, is this how?
I would set up CMU_CLK0 for 100 MHz (default highest frequency of GTM).
I would then set up CMU_CLK1 for 12.5 MHz (100 / 8).
I could route higher frequencies to use CMU_CLK0 and lower frequencies to use CMU_CLK1.
1. Could I have a shared input pin used by both high and low frequency measurements? (I do not think so, but need to ask.)
2. Could I change the value of the TIM clock selector after initialization so that I could measure low frequency or high frequency?
Regards,
Todd Anderson
If I want to measure two different ranges of PWM inputs, is this how?
I would set up CMU_CLK0 for 100 MHz (default highest frequency of GTM).
I would then set up CMU_CLK1 for 12.5 MHz (100 / 8).
I could route higher frequencies to use CMU_CLK0 and lower frequencies to use CMU_CLK1.
1. Could I have a shared input pin used by both high and low frequency measurements? (I do not think so, but need to ask.)
2. Could I change the value of the TIM clock selector after initialization so that I could measure low frequency or high frequency?
Regards,
Todd Anderson
Solved! Go to Solution.
1 Solution
Jan 11, 2021
07:15 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jan 11, 2021
07:15 AM
After careful reading of GTM section, I can have a shared input pin for two different TIM - for instance, Port2, Bit0 (TIN0) can be used by TIM0_0 and by TIM1_0.
And TIM0 can be set up as clock selector 0 - with divisor of 1, and TIM1 can be set up with different clock divisor.
Regards,
Todd Anderson
And TIM0 can be set up as clock selector 0 - with divisor of 1, and TIM1 can be set up with different clock divisor.
Regards,
Todd Anderson
2 Replies
Jan 11, 2021
05:17 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jan 11, 2021
05:17 AM
Is there someone from Infineon that can respond to my questions?
Regards,
Todd Anderson
Regards,
Todd Anderson
Jan 11, 2021
07:15 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jan 11, 2021
07:15 AM
After careful reading of GTM section, I can have a shared input pin for two different TIM - for instance, Port2, Bit0 (TIN0) can be used by TIM0_0 and by TIM1_0.
And TIM0 can be set up as clock selector 0 - with divisor of 1, and TIM1 can be set up with different clock divisor.
Regards,
Todd Anderson
And TIM0 can be set up as clock selector 0 - with divisor of 1, and TIM1 can be set up with different clock divisor.
Regards,
Todd Anderson