2017-02-25 07:09 AM
I am using STM8S003F3P6 controller.
2017-02-25 07:21 AM
Please edit this so you have a title and a complete question rather than stuffing the question in the title.
Review the circuit and scope in non-live operation.
2017-02-25 09:08 AM
Hello, Clive,extremely sorry for my mistake,and thanks for your suggestion. I think I have found the cause of my problem, it may be the EMC issue. Actually My controller is losing timer1 interrupt . I have checked the program with battery power supply, when ever any external disturbance occurs timer loses interrupt. I am thinking of using watch-dog solve this problem,but don't know how to place the watch-dog code. Please,suggest me if you have any solution. I have to do it in software,I can't change change the hardware,as the cost and the space is not allowing me to do that.