Figure 19. Frequency Measurement With Tim16 In Capture Mode; Figure 20. Frequency Measurement With Tim17 In Capture Mode - ST STM32L4 5 Series Reference Manual

Advanced arm-based 32-bit mcus
Table of Contents

Advertisement

Reset and clock control (RCC)
The input capture channel of the Timer 16 can be a GPIO line or an internal clock of the
MCU. This selection is performed through the TI1_RMP[1:0] bits in the TIM16_OR register.
The possibilities are the following ones:
TIM16 Channel1 is connected to the GPIO. Refer to the alternate function mapping in
the device datasheets.
TIM16 Channel1 is connected to the LSI clock.
TIM16 Channel1 is connected to the LSE clock.
TIM16 Channel1 is connected to the RTC wakeup interrupt signal. In this case the RTC
interrupt should be enabled.
The input capture channel of the Timer 17 can be a GPIO line or an internal clock of the
MCU. This selection is performed through the TI1_RMP[1:0] bits in the TIM17_OR register.
The possibilities are the following ones:
TIM17 Channel1 is connected to the GPIO. Refer to the alternate function mapping in
the device datasheets.
TIM17 Channel1 is connected to the MSI Clock.
TIM17 Channel1 is connected to the HSE/32 Clock.
TIM17 Channel1 is connected to the microcontroller clock output (MCO), this selection
is controlled by the MCO[2:0] (or MCOSEL[3:0] for STM32L496xx/4A6xx devices) bits
of the Clock configuration register (RCC_CFGR).
216/1830

Figure 19. Frequency measurement with TIM16 in capture mode

Figure 20. Frequency measurement with TIM17 in capture mode

DocID024597 Rev 5
RM0351

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the STM32L4 5 Series and is the answer not in the manual?

Table of Contents

Save PDF