Question
How to get TIM16 to run from LSI on STM32G030F6P6?
Try as I might in the STM32CubeMX I can't get TIM16 to use the LSI as the input.
MX_TIM16_Init();
/* USER CODE BEGIN 2 */
// Start timer
HAL_SuspendTick();
HAL_TIMEx_TISelection(&htim16, 1, TIM_CHANNEL_1);
HAL_TIM_Base_Start_IT(&htim16);The call to HAL_TIMEx_TISelection() ends up performing this write to the TISEL register of TIM16
MODIFY_REG(htim->Instance->TISEL, TIM_TISEL_TI1SEL, TISelection);Bit definitions

Here is my STM32CubeMX setup.
I am expecting roughly 1/2 Hz interrupt with a 16000 setting. Instead, I am getting 1mSec.
Any help is appreciated.
Thanks