Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

6
  • Atmel Datasheet, Section 36, Timer Counter. My approach was to trigger an interrupt every Are you sure you did read it? The timer is called "Timer Counter" because literally it has an internal... counter... so that you do not need to do something every input. Commented May 6, 2020 at 11:38
  • @KamilCuk As I said I was overwhelmed by it. I guess Section 36.7.2 is the relevant part for me but I usually do scientifc computing, I'm pretty new to all this hardware stuff which is why I am asking for help. Commented May 6, 2020 at 11:54
  • 1
    Sure. Aim for the RC compare part, set the the compare counter to that 4164303 and just trigger the interrupt once every 4164303 cycles. Also you could divide input clock by some value. Commented May 6, 2020 at 11:56
  • Thanks for the input, gonna try it. Commented May 6, 2020 at 12:01
  • If I may ask, for what application you need it for ? Btw any microcontroller datasheet is painful to read Commented May 6, 2020 at 12:15