• Timer not working as expected
    Dear sir, i want to measure the pulse width of input signal ranges from 100hz to 5000hz. Below following is my code for initialization and measurement. i did the programming in polling. not...
  • Timer not working as expected
    Dear sir, i want to measure the pulse width of input signal ranges from 100hz to 5000hz. Below following is my code for initialization and measurement. i did the programming in polling. not...
  • timer0 interrupt does not work with printf statement
    I got several warnings when I compile the following code using TIMER0 interrupt when it overflows. void main(void) { //----------------------------------------// interrupt TMOD = (TMOD & 0xF0)...
  • timer0 interrupt does not work with printf statement
    I got several warnings when I compile the following code using TIMER0 interrupt when it overflows. void main(void) { //----------------------------------------// interrupt TMOD = (TMOD & 0xF0)...
  • STM32- Timer not working as expected,
    Dear sir, The below is the program i wrote to measure input pulse width from 2hz to 100hz through STM32 TIM3_CH3. It is measuring the time. But it has wide variation. TIM3-CH3 capturing with wide...