Download Print this page

Infineon GPT12 Training page 5

Pwm generation 1 for kit_aurix_tc297_tft
Hide thumbs Also See for GPT12:

Advertisement

Implementation
Configure the GPT12 Module
To generate a PWM signal with the GPT1 block, it is needed to:
Enable the GPT12 module
Configure the frequency for the block GPT1 by setting the prescaler value (BPS1)
of the divider
Configure the frequency for the timer T3 by setting the prescaler value (T3I) of the
divider
Configure the timer T3 mode, direction and starting value
Configure the two auxiliary timers (timer mode, reload input mode and reload
values) to reload the timer T3
The above steps are detailed in the following slides.
2020-06-05
Copyright © Infineon Technologies AG 2020. All rights reserved.
5

Advertisement

loading