Could you please be more specific? 999ns is one thing and 1ns is another. For 1ns we are talking about 1GHz! What MCU are you using and in what frequency?
Hi,
Thanks for the response. I like to let you know that we want to measure the time in the range of (1-100) nanoseconds. The MCU I am currently using is ATMEGA32L which
has an operating frequency of (0 - 8)MHz.
OK, understood. But what does this have to do with PORT1 and PORT2 mentioned in the beginning of the post? What is your plan on measuring time manually? You have a timer for this purpose. This is what timers are meant to do, that is measure time. :smile:
You set a timer to let's say 1ms and you get 1ms. What more measurement is needed besides that?
Alexandros