Страница 1 из 1

STM32L100. Тактирование TIM9 от LSE

Добавлено: Чт мар 03, 2016 15:28:32
sx386
STM32L100
Прочитал, что TIM9 можно тактировать от LSE, но никак не могу понять как это сделать.

Код: Выделить всё

They can also be used as simple time bases and be clocked by the LSE clock source
(32.768 kHz) to provide time bases independent from the main CPU clock.

Re: STM32L100. Тактирование TIM9 от LSE

Добавлено: Пт мар 04, 2016 14:27:07
Galizin
RM говорит что есть 2 варианта.

External clock mode2: external trigger input (ETR connected internally to LSE)

Или
External clock mode1 (for TIM9): external input pin (TIx)
LSE internal clock is connected to the TIM9_CH1 input for measurement purposes
Figure 130. General-purpose timer block diagram (TIM9)
LSE - TIMx_OR - TIMx_CH1-TI1-TI1F_ED-TRC