Atmel Studio Does not fire accurate timer interrupt

Published: 14/11/2019
Atmel Studio Does not fire accurate timer interrupt
Source: ELECTRONICS.STACKEXCHANGE.COM

i have atxmega256A3u with external 16Mhz crystal, i set the system clock to use that oscillator source as uint8_t n,s; OSC.XOSCCTRL = OSC_FRQRANGE_12TO16_gc /* 12 - 16 MHz */ | 0 << OSC_X32KLPM_bp /* 32.768 kHz XTAL OSC Low-power Mode: disabled */ | 0 << OSC_XOSCPWR_bp /* Crystal Oscillator Drive: disabled */ | OSC_XOSCSEL_XTAL_16KCLK_gc; /* 0.4-16 MHz XTAL - 16K CLK */ OSC.CTRL|=OSC_X

Read more
Related news
Comment
FACEBOOK