Posted on September 17, 2016 at 11:07 Hi, I modified the code as attached. TIM4 reads no problem with encoder A/B signals applied to pins PD12/PD But it reads only 0~65535 (or 0~1 with different setting), when pulse and direction signals are ...
Posted on September 16, 2016 at 18:48Hi,Could you advise and show how the general timer (e.g TIM4) of STM32F1xx be configured as a counter which counts pulses input and with direction input to control up or down counting?Thanks,Tanchi6806