This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

NRF52840 Timer2 Capture and Compare question?

1.I used Timer2 Capture function

Time Frequency is 1MHz.
Picture1 Current counter should be 33330.
Picture2 Current counter should be 5000.
Picture3 Current counter should be 665.

But the counter is smaller, Can you tell me?




2.I used Timer2 Compare function
Time Frequency is 1MHz.
time_ticks = 4963 is 5m
But  time_ticks = 5000 is 5.04m

Related