Peripheral interconnect matrix
RM0365
95/1080
DocID025202 Rev 7
7.3.16 From
break
input sources to TIM
In addition to comparators outputs, other sources can be used as trigger for the internal
break events of some timers (TIM1/TIM15/TIM16/TIM17). For example:
•
the clock failure event generated by CSS, refer to
for more details,
•
the PVD output, refer to
Section 8.2.2: Programmable voltage detector (PVD)
for more
details,
•
the SRAM parity error signal, refer to
f
or more details,
•
the Cortex-M4 LOCKUP (Hardfault) output.
The sources mentioned above can be connected internally to TIMx_BRK_ACTH input,
x = 1,15,16,17.
The purpose of the break function is to protect power switches driven by PWM signals
generated by the timers.
More details on the break feature are provided in:
•
Section 20.3.16: Using the break function
for the advanced-control timers (TIM1)
•
Section 22.4.13: Using the break function
for the general-purpose timers
(TIM15/TIM16/TIM17)
7.3.17
From HSE, HSI, LSE, LSI, MCO, RTC to TIM
TIM16 can be used for the measurement of internal/external clock sources. TIM16 channel1
input capture is connected to HSE/32, GPIO, RTC clock and MCO to output clocks among
(HSE, HSI, LSE, LSI, SYSCLK, PLLCLK, PLLCLK/2).
The selection is performed through the TI1_RMP [1:0] bits in the TIM16_OR register.
This allows calibrating the HSI/LSI clocks.
More details are provided in
Section 9.2.14: Internal/external clock measurement with
.
Table 21. Timer synchronization
SLAVE
TIM1
TIM2
TIM3
(1)
TIM4
TIM15
MASTER
TIM1
-
TIM2_ITR0
TIM3_ITR0
TIM4_ITR0
-
TIM2
TIM1_ITR1
-
TIM3_ITR1
TIM4_ITR1
TIM15_ITR0
TIM3
TIM1_ITR2
TIM2_ITR2
-
TIM4_ITR2
TIM15_ITR1
TIM4
TIM1_ITR3
TIM2_ITR3
TIM3_ITR3
-
-
TIM15
TIM1_ITR0
-
TIM3_ITR2
-
-
TIM16
-
-
-
-
TIM15_ITR2
TIM17
TIM1_ITR3
-
-
-
TIM15_ITR3
1. Only in STM32F302xB/C/D/E