Timer 16 bits is less stable than Timer 32 bits in PWM input mode
Hello everyone,
I read PWM input value by Timer 16 bits in Nucleo-F767ZI (combined channel mode), but the value that I received is not the same after some days.
For example, Day 1: PWM input value = 4200 but Day 4: PWM input value = 4000, no code changed, I keep the same code.
When I change from Timer 16 bits to Timer 32 bits, PWM input value that I read is very stable. So I don't think the PWM input wrong, I think the problem is from Timer 16 bits.
Only difference is Timer 16 bits with Prescaler = 10 (to avoid timer overflow), Timer 32 bits with Prescaler = 0.
I face to the same problem with ADC, if I change the ADC channel, then ADC value change as well (keep the same resolution).
My question: Could anyone help me read PWM input more stable by Timer 16 bits?
