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??
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
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 .
Obviously these examples are most useful use cases.
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!!