infineon4engi@twitter infineon@linkedin infineon4engineers infineon@youtube
twitter Facebook Linkedin Youtube

Product Release Webinar Banner_Aurix_Competition Banner_AURIX_Security-Solution Banner_AURIX_Safety_Products ShieldBuddy TC275 Banner_AURIX_OnzerOS Banner_AURIX_DevelopmentStudio


+ Reply to Thread
Results 1 to 3 of 3

Thread: Is there any other way to execute cyclic interrupts in all three cores? GPT12

  1. #1
    Beginner Beginner valerie is on a distinguished road
    Join Date
    Jan 2020
    Posts
    4
    Points
    55

    Is there any other way to execute cyclic interrupts in all three cores? GPT12

    Hi friends,



    My project need a function like this: an interrupt would be triggered every T seconds. And I need to apply it in all of three cores with different T in each core.
    I found a core Timer together with an auxiliary Timer(Reload mode) in GPT12 module can implemet it.

    However, there are only two core Timers in GPT12, that means only two cores can have this function. Does someone know any other way to realize it??? my board is TC27x.




    Thanks,
    Valeire

  2. #2
    Advanced Advanced UC_wrangler will become famous soon enough
    Join Date
    Jun 2019
    Posts
    263
    Points
    5480
    Hi Valerie. There's a System Timer (STM) for each CPU core. That is typically used to drive an operating system timer (something like 1 ms), but you could use that.

    You can also use the TOM outputs of the GTM to generate a periodic interrupt. The AURIX Development Studio has an example project (GTM_TOM_Interrupt_1_KIT_TC297_TFT) that generates an interrupt every 500 ms.

    If you use three outputs on the same TOM unit (e.g., TOM0_1, TOM0_2, TOM0_3), you could start them simultaneously, so all the cores could get the interrupt at the same time (well, very close, since the Interrupt Router will only issue one interrupt at a time).

  3. #3
    Beginner Beginner valerie is on a distinguished road
    Join Date
    Jan 2020
    Posts
    4
    Points
    55
    Hey Wrangler,

    Thanks so much for your pointers! That helps me a lot!!!
    I use the STM in each CPU, and it can generate Interrupts regularly with configured time :>
    Now I am also testing another method based on TOM.

    Best Regards,
    Valerie

+ Reply to Thread

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.