AURIX GTM module PWM generation with under/oversampling

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
a15
Level 1
Level 1
First question asked Welcome!

Hi all,

I am new for AURIX MCUs. Could you please help me with 3ph PWM generation, when over/undersampling condition could be requested on-line?

I assume I should use the GTM module, 3 (A)TOM channels to generate the switches control signals with the desired switching frequency and one additional (A)TOM channel to generate the PWM waveform with the desired sampling frequency to synchronise sampling/control ISR with it, but how can I synchronise my "switching" and "sampling" counters?  

Thank you!

0 Likes
1 Reply
Di_W
Moderator
Moderator
Moderator
1000 replies posted 250 solutions authored 100 likes received

For GTM, there is expert trainings and example code here.

Infineon-AURIX_GTM_ATOM_PWM_1_KIT_TC397_TFT-Training

Infineon-GTM_TIM_Capture_1_KIT_TC397_TFT-Training

Infineon-GTM_TOM_Interrupt_1_KIT_TC397_TFT-Training

Infineon-AURIX_GTM_TOM_PWM_1_KIT_TC397_TFT-Training

Further more, you could register myICP for AP32356_GTM-PWMAC_with_GTM-2ndGenAURIX.

For demo code, please contact your Infineon representatives for GLT_PwmMacT_TC39x.zip

dw

0 Likes