This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Pulse width measurement without input capture

Can we do Pulse width measurement without input capture method?

Is any any method?

How accurate this method will be?

Parents
  • Busy loop sampling will add delay.


    Note that it is often possible to use a single timer for more than one thing. So a free-running timer can be concurrently used for:
    1) Software delays where the free-running timer is polled.
    2) Capture to measure external signals
    3) Periodic interrupts, by having the ISR constantly updating the match register(s)

    Yes this i want to try. if you see datasheet of RX610 then Timer unit0 having different functionality.

    If i wanna use unit0 channel0,then only one counter is their.
    So suppose i want to use this timer for internal counter and for input capture.

    So if i will modify or reset main counter then it will disturb other other one.

    In this case how to handle???

Reply
  • Busy loop sampling will add delay.


    Note that it is often possible to use a single timer for more than one thing. So a free-running timer can be concurrently used for:
    1) Software delays where the free-running timer is polled.
    2) Capture to measure external signals
    3) Periodic interrupts, by having the ISR constantly updating the match register(s)

    Yes this i want to try. if you see datasheet of RX610 then Timer unit0 having different functionality.

    If i wanna use unit0 channel0,then only one counter is their.
    So suppose i want to use this timer for internal counter and for input capture.

    So if i will modify or reset main counter then it will disturb other other one.

    In this case how to handle???

Children
No data