Which HW Modules in AURIX™ are capable to generate PWM?

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

cross mob
User17740
Level 4
Level 4
First solution authored First like received
Hi all,

Does anyone know which HW Modules in AURIX™ are capable to generate PWM?

#8042000 19454

Kind regards
Bernie
0 Likes
6 Replies
User18237
Level 5
Level 5
First solution authored First like received
Hi Bernie,

Both General Timer module (GTM) and Compare Capture Unit 6 (CCU6x) are able to generate PWM.
Basically, TOM and ATOM in GTM are commonly used to generate PWM.
ATOM and TOM have the most independent timers and channels to generate PWM in 24 bits resolutions (ATOM) or 16 bit resolutions (TOM).
Every CCU6x module has two independent timers with 7 channels for PWM generation in 16 bits resolutions.


Kind regards
Mr AURIX™
0 Likes
teoBits
Employee
Employee
5 sign-ins 100 replies posted 50 replies posted
Hello Bernie,

In regard to this, you can also find code examples of how to generate PWM signals with both the GTM and CCU6 peripherals here: CCU6_PWM_Generation_1 | GTM_ATOM_PWM_1 together with their tutorials CCU6_PWM_Generation_1 tutorial | GTM_ATOM_PWM_1 tutorial

hope it helps,
teoBits
0 Likes
User18504
Level 3
Level 3
Hello, for generating 6 PWMs for 3 Phase Motor control, the only solution is to use CCU6 modules?
How to integrate in this case the driver in AUTOSAR?
0 Likes
NeMa_4793301
Level 6
Level 6
10 likes received 10 solutions authored 5 solutions authored
Hi bbogdanmircea. It's true that the CCU6 was designed for 3 phase motor control, but the peripheral is basically a legacy from previous 16-bit Infineon microcontrollers. In the AURIX generation, most customers use the GTM for motor control, which offers much more flexibility, and has its own MCAL GTM driver.
0 Likes
User19059
Level 1
Level 1
First reply posted First question asked
Hi Mr AURIX,

How to generate 8 PWMs by GTM TOM? I have referred to GTM_TOM_PWM_1_KIT_TC277_TFT sample code, but it is only one PWM, I tried to revise it for two PWM channels unsuccessfully.
0 Likes
NeMa_4793301
Level 6
Level 6
10 likes received 10 solutions authored 5 solutions authored
Please share a little code, and we can help figure out where things went wrong.
0 Likes