using the hi-res extension

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

Hi All,

I am getting a bit confused about the high-resolution extension of the xmega. On one hand, the manual seems to imply that the counter can be clocked at 128 MHz, if one uses the 32-MHz system clock. On the other hand, the manual also says that the two least significant bits of the counter are discarded. So, why would one want to use the higher clock speed, if the result of that is thrown away? Can, then, the xmega be used for measuring times at the 10-ns level? If yes, how should one set up the counter for that?
Thanks,
Zoltán

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

zoltanvoros wrote:
So, why would one want to use the higher clock speed, if the result of that is thrown away?

Because 2 least significant bits are handled by HiRes and can be clocked at 128MHz.
Quote:
Can, then, the xmega be used for measuring times at the 10-ns level?

HiRes is a feature for increasing waveform generator resolution and is not related to capture action.

Ozhan KD
Knowledge is POWER