2017-03-04 02:56 AM
2017-03-19 08:13 AM
You set the prescaler to '16', but for TIM4, only 3 bits are defined. Prescaler values are 1, 2, 4, 8, 16, 32, 64, and 128. If you want to prescale by 16, you need to write the value 4.
See reference manual:
2017-03-20 10:37 AM
Thanx Arlet Ottens,I have got your point.