Jan 18, 2021
04:40 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jan 18, 2021
04:40 AM
Hi,
i am using GTM Tom module in aurix tc377, i am trying to do the phase shift, i can able to acheive the phase shift till 90 degree, how can i acheive 180 degree phase shift. does we have any limitation for phase shift.
i am not using any DTM to do phase shift, i am converting degree to time and add it to the shadow register of respective Tom channel.
in tc377 i am configuring GTM cluster clock as 100MHZ but while reading the TOM clock it is showing 50 Mhz, where to disable the clock divider??
Regards
Mohamed Rahmathulla
i am using GTM Tom module in aurix tc377, i am trying to do the phase shift, i can able to acheive the phase shift till 90 degree, how can i acheive 180 degree phase shift. does we have any limitation for phase shift.
i am not using any DTM to do phase shift, i am converting degree to time and add it to the shadow register of respective Tom channel.
in tc377 i am configuring GTM cluster clock as 100MHZ but while reading the TOM clock it is showing 50 Mhz, where to disable the clock divider??
Regards
Mohamed Rahmathulla
5 Replies
Jul 13, 2021
09:47 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jul 13, 2021
09:47 AM
Dear Mohamed,
Could you post your code so we can see and try to help?
Could you post your code so we can see and try to help?
Jul 13, 2021
06:47 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jul 13, 2021
06:47 PM
Hello,
For setting the correct clock frequency for GTM module. I would recommend you start by taking a look at below registers
CCU module - CCUCON0[GTMDIV]
GTM module - CMU_GCLK_NUM, CMU_GCLK_DEN and CMU_CLK_CTRL
TOM module - TOM_TGC_ACT_TB
Good luck.
For setting the correct clock frequency for GTM module. I would recommend you start by taking a look at below registers
CCU module - CCUCON0[GTMDIV]
GTM module - CMU_GCLK_NUM, CMU_GCLK_DEN and CMU_CLK_CTRL
TOM module - TOM_TGC
Good luck.
Jul 14, 2021
09:38 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jul 14, 2021
09:38 AM
Thanks for pointing me in the right direction, but I think it would be more efficient if we saw your work in text 😉
Jul 14, 2021
09:14 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jul 14, 2021
09:14 PM
prabel wrote:
Thanks for pointing me in the right direction, but I think it would be more efficient if we saw your work in text 😉
There are several examples available for Infineon in below link .
https://github.com/Infineon/AURIX_code_examples/tree/master/code_examples
Obviously these examples are most useful use cases.
Aug 25, 2022
11:46 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Aug 25, 2022
11:46 PM
Hello, can you post your code here? I trying to do phase shift but I don't know how, I create 4 pairs of Pwms with deadtime using GTM and DTM submodule but for phase shift I don't know how to use. If you don't want to share the code can you tell me what you use to create these phases shift?
Thanks in advance!!