Not applicable
Oct 24, 2019
12:27 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Oct 24, 2019
12:27 AM
Hello!
Background:
Cpu: TC234
One PWM signal in to TIM
One PWM signal out from TOM.
Problem:
I would like to compare the output with the input, as the input is a feedback signal.
Is it possible to use the GTM in some way to do this?
And maybe get an interrupt if they start to differ to much?
The only solution I can think of is using SW to compare the counters, but it will increase my CPU load quite much...
So it would be better if the HW could do it for me 🙂
Background:
Cpu: TC234
One PWM signal in to TIM
One PWM signal out from TOM.
Problem:
I would like to compare the output with the input, as the input is a feedback signal.
Is it possible to use the GTM in some way to do this?
And maybe get an interrupt if they start to differ to much?
The only solution I can think of is using SW to compare the counters, but it will increase my CPU load quite much...
So it would be better if the HW could do it for me 🙂
4 Replies