TC4xx promo banner Banner_Aurix_Competition Banner_AURIX_Security-Solution Banner_AURIX_Safety_Products ShieldBuddy TC275 Banner_AURIX_DevelopmentStudio


IMPORTANT: Infineon Forums currently doesn’t allow sign-in & registrations to prepare for the upcoming transition. To learn more, check out our announcement.
Results 1 to 5 of 5

Thread: GPT Timer ISR Issue TC399

  1. #1
    Beginner Beginner mohamed rahmathulla is on a distinguished road
    Join Date
    Sep 2020
    Posts
    37
    Points
    188.75

    GPT Timer ISR Issue TC399

    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

  2. #2
    Advanced Advanced UC_wrangler will become famous soon enough
    Join Date
    Jun 2019
    Posts
    551
    Points
    11440
    Yes, per Figure 200 - but why not just use the GTM?

  3. #3
    Beginner Beginner mohamed rahmathulla is on a distinguished road
    Join Date
    Sep 2020
    Posts
    37
    Points
    188.75
    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

  4. #4
    Advanced Advanced cwunder will become famous soon enough
    Join Date
    Feb 2015
    Location
    USA
    Posts
    282
    Points
    5762.5
    Quote Originally Posted by mohamed rahmathulla View Post
    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)

  5. #5
    Beginner Beginner mohamed rahmathulla is on a distinguished road
    Join Date
    Sep 2020
    Posts
    37
    Points
    188.75
    Hi cwunder,
    Thank you, your input helps me to find the solution, it is okay to update the reload time inside ISR..

Tags for this Thread

Disclaimer

All content and materials on this site are provided “as is“. Infineon makes no warranties or representations with regard to this content and these materials of any kind, whether express or implied, including without limitation, warranties or representations of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. No license, whether express or implied, is granted by Infineon. Use of the information on this site may require a license from a third party, or a license from Infineon.


Infineon accepts no liability for the content and materials on this site being accurate, complete or up- to-date or for the contents of external links. Infineon distances itself expressly from the contents of the linked pages, over the structure of which Infineon has no control.


Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Usage Terms of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Usage Terms of this site. Infineon reserves the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.