Post Created date
XMEGA, DMA and timers – how to keep in sync.
TFrancuz wrote: So what I’m doing is to initialize timer TCF0, so it will generate overflow every 8 CLKPer cycles. For 8 CLKPer cycles overflow, TCF0.PER=8; must be: TCF0....
Friday, 8 February 2013 - 07:45
XMega Counter/Timer feature lost.
Toggling a pin on compare match is a very useful feature in MEGA timers, when using normal mode. By addition of 2 or 3 independent OCRx_ADD to compare registers in compare ISRs, 2...
Thursday, 24 January 2013 - 08:26
DFLL from external clock on A3U
According to Figure 7-6 and Note 3 of table 7-8, XOSCSEL bits are used for 32.768kHz or external clock selection: Quote:Notes: 3. When the external oscillator is used as the...
Thursday, 24 January 2013 - 06:36
Using QDEC as incremental counter
Setup a 32 bit incremental counter is very simple and straightforward and there is no need for QDEC. 1- Set the desired port (or any other trigger source) as the trigger source...
Wednesday, 23 January 2013 - 05:28
XMega Counter/Timer feature lost.
My suggestion is to use compare match(s) as trigger source(s) for DMA channel(s) and moving appropriate bytes to PORTx_OUTSET/OUTCLR/OUTTGL registers for set/clear/toggle...
Monday, 21 January 2013 - 18:43
Atmega8 brownout query
theusch wrote:I haven't found a reason yet for it to be important--can you give some? Quote:Again, why is this important to your app? Because I am an AVR teacher with hundreds of...
Wednesday, 16 January 2013 - 17:11
Atmega8 brownout query
Response from Atmel support: Quote:The start-time is some CK plus additional time from any reset even if there is no sleep mode. Maybe the below explanation is more clear: 1....
Wednesday, 16 January 2013 - 11:02
EEPROM write time
In MEGA series, a single byte can be written to eeprom. But this is not the case for XMEGA and only a page can be written by NVM commands.
Wednesday, 16 January 2013 - 09:57
Atmega8 brownout query
The above question is an ambiguity in all AVR datasheets about start-up time. 2 columns are present in start-up time tables. one for start-up time from Power-down and Power-save...
Saturday, 12 January 2013 - 06:49
Atmega8 brownout query
I have a question. For ATmega8 with CKSEL3..0=0001, SUT1..0=10 and BOD enabled, which is the start-up time, after a Brown-out reset: 1- 65ms 2- 6CK + 65ms
Friday, 11 January 2013 - 13:50
XMEGA wish list
AtomicZombie wrote: Ability to use virtual mapping on port direction registers. I need this right now! Isn't this now available by VPORTn.DIR?
Thursday, 10 January 2013 - 07:07
32MHz calibration - Datasheet misunderstanding
AtomicZombie wrote: to get the internal running at 32.5MHz and run it through the PLLx2. There is a divide by 4 prescaler between 32Mhz oscillator and PLL. So the PLL...
Thursday, 10 January 2013 - 06:58