RM0440
28.4.2
TIM2/TIM3/TIM4/TIM5 pins and internal signals
Table 261
Pin name
TIM_CH1
TIM_CH2
TIM_CH3
TIM_CH4
TIM_ETR
Internal signal name
tim_ti1_in[15:0]
tim_ti2_in[15:0]
tim_ti3_in[15:0]
tim_ti4_in[15:0]
tim_etr[15:0]
tim_itr[15:0]
tim_trgo
tim_ocref_clr[7:0]
tim_pclk
and
Table 262
in this section summarize the TIM inputs and outputs.
Table 261. TIM input/output pins
Table 262. TIM internal input/output signals
General-purpose timers (TIM2/TIM3/TIM4/TIM5)
Signal type
Timer multi-purpose channels.
Each channel be used for capture, compare,
or PWM.
TIM_CH1 and TIM_CH2 can also be used
as external clock (below 1/4 of the
Input/Output
tim_ker_ck clock) , external trigger and
quadrature encoder inputs.
TIM_CH1, TIM_CH2 and TIM_CH3 can be
used to interface with digital hall effect
sensors.
External trigger input. This input can be
used as external trigger or as external clock
Input
source. This input can receive a clock with a
frequency higher than the tim_ker_ck if the
tim_etr_in prescaler is used.
Signal type
Internal timer inputs bus. These inputs can
be used for capture or as external clock
Input
(below 1/4 of the tim_ker_ck clock) and for
quadrature encoder signals.
External trigger internal input bus. These
inputs can be used as trigger, external clock
or for hardware cycle-by-cycle pulse width
Input
control. These inputs can receive clock with
a frequency higher than the tim_ker_ck if the
tim_etr_in prescaler is used.
Internal trigger input bus. These inputs can
be used for the slave mode controller or as a
Input
input clock (below 1/4 of the tim_ker_ck
clock).
Internal trigger output. This trigger can
Output
trigger other on-chip peripherals.
Timer tim_ocref_clr input bus. These inputs
can be used to clear the tim_ocxref signals,
Input
typically for hardware cycle-by-cycle pulse
width control.
Input
Timer APB clock.
RM0440 Rev 1
Description
Description
1185/2083
1297
Need help?
Do you have a question about the STM32G4 Series and is the answer not in the manual?
Questions and answers