Type in the full discussion title or a part of it.
Discussion Title Created date
SAM D20: DFLL48 in closed or open loop mode?
I'm using an external 32.768kHz crystal that I will use for RTC too (so it should have a high accuracy). I'm trying to use it as the reference for DFLL48 in closed-loop mode. As I...
Saturday, 2 March 2019 - 15:09
SAMD20 and DFLL48 with external 32k crystal: fine lock sometime isn't reached
I have a custom board with SAMD20 MCU with external 32kHz crystal connected to XOSC32k (PA00 and PA01). I'm using Atmel Software Framework code (3.45) for clock initialization. I...
Friday, 1 March 2019 - 11:55
DFLL48M in SAMD20: how it works?
I configured DFLL48M as usual: XOSC32K enabled and used as the reference for DFLL48M, configured in closed-loop mode with a multiplication factor of 48000000/32768. It works....
Friday, 10 August 2018 - 07:34
How to connect an external 32.768kHz clock signal to SAM D20
I have a 32.768kHz clock signal (that comes from a GCLK_IO pin of another SAM D20) that I'd like to use as a clock reference for a SAM D20.   I may connect it to XIN32 ...
Monday, 28 May 2018 - 12:51
SAM D20 maximum voltage of ADC reference
Datasheet says the maximum voltage for the ADC external reference is VDDANA-0.6V, that is 2.7V if VDDANA=3.3V. Of course this maximum voltage applies to ADC inputs too.  ...
Friday, 4 May 2018 - 11:09
Bus stall: how to detect
Is it possible to detect if a bus stall happens?   If it happens, everything appears to work as usual. However it is interesting if there's a bit or interrupt to check...
Thursday, 3 May 2018 - 09:50
SAMD20: again on register synchronization and bus stall
This topic is very difficult to me and everytime I have many doubts.   I need to avoid bus stall in every situations. This mainly because during bus stall pending interrupt...
Thursday, 3 May 2018 - 09:29
SAMD20: How to use OSC32K 32kHz and 1kHz outputs
The datasheet lacks some info. It seems from ASF code that OSC32K in SAMD20 has two outputs: 32.768kHz and 1.024kHz. It seems they could be activated at the same time:  ...
Thursday, 3 May 2018 - 08:28
ASFv3 vs ASFv4/START
A couple of years ago I started with Atmel SAM devices and I meet ASF technology. I didn't like it at first, and I don't like it now that is named ASFv3. I don't use full-ASF code...
Tuesday, 1 May 2018 - 06:49
D20: Read COUNT32 value from TC0/TC1
I know I need to wait for syncing before reading from COUNT32 register. So I need something similar to this:   while (tc_is_syncing(module_inst)) {   /* Wait for sync...
Thursday, 26 April 2018 - 09:27
D20: Create a 64-bits hw timer from 4 TC peripherals
I configured TC0/TC1 and TC2/TC3 as two 32-bits counters. The first couple of TCs counts clock pulses at a frequency rate of 1MHz. The second couple TC2/TC3 counts output...
Thursday, 26 April 2018 - 08:26
ATmega328: PWM as DAC
I'm trying to use Timer/Counter1 to generate an analog output signal. So I configured it as PWM and connected a RC filter. The output is on pin PB1.   On the same port (pin...
Monday, 11 December 2017 - 14:59

Pages