Post Created date
DAC range limited?
I was recently playing around with the DAC on a 192A3U (I think a fairly recent revision, but am not able to check right now) and I was having no problem outputting up to the...
Friday, 22 November 2013 - 22:46
High baud rates (1M baud?) on XMega-A1 Xplained board?
In theory, 32 MHz is fast enough to do up to 4 MBaud, however as you discovered higher baud rates are more susceptible to oscillator errors. With an external oscillator PLLed up...
Friday, 25 October 2013 - 19:25
XMEGA 16A4U ADC : single ended and signed mode
In single-ended mode, the ADC can detect a small negative voltage. From the datasheet: "In unsigned mode, the negative input is connected to half of the voltage reference (VREF)...
Thursday, 25 July 2013 - 15:37
XMEGA, DMA and timers – how to keep in sync.
Are you sure that the DMA is transferring fewer bytes than there are events? I think that the DMA is misconfigured and it is transferring more bytes than there are events. You...
Saturday, 9 February 2013 - 00:20
ATMEGA, ATXMEGA or SAM?
The A1U series of XMEGAS have most of your requirements. However, there is no 256kb flash variant, strangely. There is a 256kb version of an A3U, but it has a little less of...
Wednesday, 9 January 2013 - 01:06
PortA external interrupt
Is it a low level interrupt that is being held low and firing repeatedly? I guess the device wouldn't appear totally frozen, even in that case. As far as I know, there isn't any...
Sunday, 16 December 2012 - 20:47
ADC output to Terminal Through USART
If you don't want to reinvent the wheel, you can use ltoa (similar to itoa, a common C library function) from stdlib.h (which is included in the standard Atmel Studio distribution...
Sunday, 16 December 2012 - 20:41
XMEGA doing strange stuff (SOLVED)
You need to declare isr_flag as volatile. I posted a long-ish explanation here: https://www.avrfreaks.net/index.php?name=PNphpBB2&file=viewtopic&t=127411. Given that in...
Monday, 10 December 2012 - 17:08
How many Xmega timers?
This is one of the things the device-specific datasheets are good for. For example, the A4U datasheet gives an overview of the timer/counters and at the very end of the overview...
Sunday, 9 December 2012 - 16:02
UART Woes. PDI debug, optimization problems.
bcelec wrote:Hopefully declaring all my variables as volatile will solve the problem. Worrying though. And how can it be that when a variable is used in controlling the peripheral...
Thursday, 6 December 2012 - 22:08
High speed communication with PC
Quote:One question though, What is the clock speed you used to achieve 4.8 MBaud. The clock rate I use is 48 MHz and set the USART to work at 6 MBaud, which is a very convenient...
Thursday, 6 December 2012 - 17:25
Software design + USART programming
For dealing with data corruption on received data, what you described about using a timeout sounds pretty reasonable, as long as you can guarantee a minimum interval between...
Sunday, 2 December 2012 - 18:51

Pages