Question
stm32l152 Timer problem
Posted on April 22, 2013 at 11:40
Hello,
I modify the demo code in STM32L1xx_StdPeriph_Lib_V1.2.0 --> TIM --> OCToggle. I reconfigured the TIM3_CH3 CCR3_Val to 40 to generate 200KHz square waveform. The output frequency measured is only 122Hz. But while I change TIM3_CH3 CCR_Val to 400, it can generate 20KHz square waveform. Could you help find what the rootcause would be? Thanks. B.R. Jin