Counting external pulse using xmega256d3?

Go To Last Post
3 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hi,

 

I was looking at the xmega manual and could not find how to connect an external pin to one of the TCX counter to count pulse. Is it possible to connect an i/o pin to a timer/counter to count pulse?. If so how do you select the pin?

 

Thanks,

 

Charles

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

There is an application note AVR1617 (http://www.atmel.com/Images/doc8...) together with corresponding example code (http://www.atmel.com/images/avr1...) which should be a good starting point.

Ilya

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Thanks LIya, I'll check it out.

 

Charles