Download Print this page

Infineon GPT12 Timer Concatenation 1 Manual page 8

Timer concatenation of gpt12, aurix tc2xx microcontroller training
Hide thumbs Also See for GPT12 Timer Concatenation 1:

Advertisement

Run and Test
After code compilation and flashing the
device, perform the following steps:
Check if LED D107 (1) is toggling its
state every 86 seconds:
Maximum value of 32-bit timer is
4294967295
Frequency of GPT12 module is 100
MHz
Prescaler of GPT2 block is set to 2
Timer T6 frequency is 100 MHz / 2
= 50 MHz, which means the value
of the 32-bit timer will be
incremented each 20 ns (1 / 50
MHz)
Overflow of 32-bit timer after ≈ 86 s
(4294967295 * 20 ns)
Check in the debugger if parameter
g_timerValue32Bit is incrementing
2019-10-17
Copyright © Infineon Technologies AG 2019. All rights reserved.
1
8

Advertisement

loading