Sep 22, 2020
12:21 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sep 22, 2020
12:21 AM
hi,
i have tried TC399 sample program for GPT timer interrupt, i have configured Timer2 as a timer mode and timer3 as timer mode at a same time. but it is only running timer3 service routine. can i configured both timer as a timer mode at a same time,
can both get run parallelly and give us interrupt?
Thanks
mohamed rahmathulla
i have tried TC399 sample program for GPT timer interrupt, i have configured Timer2 as a timer mode and timer3 as timer mode at a same time. but it is only running timer3 service routine. can i configured both timer as a timer mode at a same time,
can both get run parallelly and give us interrupt?
Thanks
mohamed rahmathulla
4 Replies
Sep 22, 2020
09:14 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sep 22, 2020
09:14 AM
Yes, per Figure 200 - but why not just use the GTM?
Sep 23, 2020
06:11 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sep 23, 2020
06:11 AM
Hi UC_wrangler,
Now the timer interrupt working fine, i am using GTM asPWM generation for morethan 15channel, so that i planned to use GPT as normal timer and counter. do you have any suggestion to use GTM, kindly let me know... any advantages?
moreover, i need to configure the GPT for 1uS interrupt, so demo code is like using auxillary timer to reload the core timer for adjusting GPT as 1uS. is there any possiblity to do by the same timer without using supportive timer?
reload API???
Thanks and regards
Mohamed Rahmathulla
Now the timer interrupt working fine, i am using GTM asPWM generation for morethan 15channel, so that i planned to use GPT as normal timer and counter. do you have any suggestion to use GTM, kindly let me know... any advantages?
moreover, i need to configure the GPT for 1uS interrupt, so demo code is like using auxillary timer to reload the core timer for adjusting GPT as 1uS. is there any possiblity to do by the same timer without using supportive timer?
reload API???
Thanks and regards
Mohamed Rahmathulla
Sep 23, 2020
08:30 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sep 23, 2020
08:30 AM
mohamed rahmathulla wrote:
is there any possiblity to do by the same timer without using supportive timer?
Yes, however now you would be responsible to reload the timer compare value (i.e. in an interrupt)
Sep 23, 2020
11:29 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sep 23, 2020
11:29 PM
Hi cwunder,
Thank you, your input helps me to find the solution, it is okay to update the reload time inside ISR..
Thank you, your input helps me to find the solution, it is okay to update the reload time inside ISR..
This widget could not be displayed.