ASF Bugzilla – Bug 3544
wrong timing when using delay routines
Last modified: 2015-04-03 14:13:00 CEST
If you use the delay routines, in avr studio 6.2/ ASF 3.22.0, the timing is
wrong (about 1,5 times too slow).
Seems to be because of wrong selection of GCC compiler.
Workaround is by adding the symbol __DELAY_CYCLE_INTRINSICS__
Then the timing is ok.
(From file: ... \src\ASF\common\services\delay\xmega\cycle_counter.h(93):#if
Please solve in future releases.
I think you also request a design support.
ASFP-5226 has been created for this.
ASF bug has been confirmed and I'm waiting at a fix in future release(s).