ganesan jayaraman

Problems counting pulses between 5hz-100hz on STM8s003f3p

Discussion created by ganesan jayaraman on Oct 23, 2017
Latest reply on Nov 2, 2017 by PRATHAP KS



kindly help my design.


     i am using stm8s003f3p micro-controller. timer 1 input capture unit doesn't work as i intended. i searched web forums and blogs i couldn't find  solution for counting pulses between 5hz-100hz. i used standard peripheral library to change according to my need.i modifed tim1 input capture example to count pulse and send period values over UART1.
i here by attach my code as well.please help me to find solution.