I'm using the STM32F103RBT6 to counter a external pulses with TIM3. But the counter is always ZERO. I can check the pulse with oscillometer. It is about 1KHz. Here is the code. Could any one tell me what is the issue ? Thank you.int main(void)
...
I'm using STM32F103RBT6 to connetc to a OLED with I2C1.The init code is as below.static void MX_I2C1_Init(void)
{
/* USER CODE BEGIN I2C1_Init 0 */
/* USER CODE END I2C1_Init 0 */
LL_I2C_InitTypeDef I2C_InitStruct = {0};
LL_GPIO_Init...
Thanks for you reminding.I found the issue. The cubemx did NOT do the TIM3 remap. I added code as below in linie 33 in the MX_TIM3_Init(void). It works fine now.LL_GPIO_AF_RemapPartial_TIM3();