Quantcast
Channel: MCS Electronics Forum
Viewing all articles
Browse latest Browse all 20562

BASCOM-AVR : Xmega TcD0 configuration results : REPLY

$
0
0
JC, That is correct on the external xtal. DFLL adjust / turns the internal oscillators. There is errata on this from Atmel and it is noted in the BASCOM help file under Xmega. The problem is that the BASCOM example in the help file doesn't work and is not following the errata advice. [code:1:9322d33950] 'The internal 32.768 KHz Oscillator is used for calibration Osc_dfllctrl = &B00000000 'Enable DFLL and autocalibration Set Dfllrc32m_ctrl.0 [/code:1:9322d33950] Additional hint from ATMEL for some chip revisions: "....Both DFLLs and both oscillators has to be enabled for one to work In order to use the automatic runtime calibration for the 2 MHz or the 32 MHz internal oscillators, the DFLL for both oscillators and both oscillators has to be enabled for one to work. Problem fix/Workarund Enabled both DFLLs and oscillators when using automatic runtime calibration for one of the internal oscillators....." I am still reading the datasheet to conform to the recommended errata method. The internal 32MHZ oscillator is still 520KHZ high ATM. I will post if I get this figured out.

Viewing all articles
Browse latest Browse all 20562

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>