see DocuCompiler.pdf, chapters 4.18.7.1 and 4.18.7.2 !
Gunter
A "SysTimer" is based on the SysTick. So no additional hardware timer is involved.
But think of the resolution and precision of the SysTick. It is not very high and
so not usable for real timing functions.
If you need a more precise one, you can use the "TickTimer" which then needs a
separate 16bit timer.
rolf
bgoolsby
Subject:
Re: Which timer/counters are used by the compiler in Xmega chips?
With XMegas the SysTick uses the 16bit RTC Timer "RTC".
If this timer is not present any other of the standard timers
can be used. Please read the compiler manual as Gunter wrote.
Also the E5 series have the RTC timer/counter usable for SysTick.
rolf
bgoolsby
Subject:
Re: Which timer/counters are used by the compiler in Xmega chips?
With XMegas the SysTick uses the 16bit RTC Timer "RTC".
If this timer is not present any other of the standard timers
can be used. Please read the compiler manual as Gunter wrote.
Also the E5 series have the RTC timer/counter usable for SysTick.
rolf
What if the Xmega does have an RTC, like the Xmega256A3U? Can I still use a standard timer if I want to by using the code in the compiler manual, "4.18.7.2 XMega SYSTICK without RTC Timer"?
The RTC timer is 1.024ms, not exactly 1ms. I was thinking of getting more exact timing with one of the conventional TC's. How much adjustment can the "adj" option make to the RTC? Can that make it exactly 1ms?
Note due to EU Cookie Law This page uses cookies to handle logins and unread markers. If you use this forum you allow that this page is storing cookies on your computer. To remove Cookies from this site just click on "Delete cookies of this forum" on the bottom of the page. You can find more infos in our Cookie Policy.