Measuring pulse shorter than 1 microsecond


Author Message
twofingers

Guru

Joined: 02/06/2014
Location: Germany
Posts: 1566
Posted: 09:16am 07 Sep 2022      

  geodav said  Are there any Csubs that can access the CPU clock, count the number of clock cycles that occur within  a digital pulse of duration say 0.1 uS   ( 100 nS)  on say PIN(4)?

Am using the 28 pin PIC32MX170F 256,...

Hi,
are you looking for something like this or this (only 80000s/sec)?

At least it shows the limits and possibilities of the MX170.
The Picomite has the ADC command.

Regards
Michael