ADC on A3BU newbie problem The variance problem may be caused by noise being coupled/induced from other portions of the chip. Have you tried putting the CPU to sleep while the ADC conversion is executing...
Wednesday, 18 June 2014 - 16:04
Downloading and Debugging The only way I could find to do this was using a key combination that I had to find by searching through the Help. I would consider hidden.
I would expect this to be done by...
Monday, 16 June 2014 - 02:54
Downloading and Debugging The thing that bugs me is EVERY TIME I enter debug mode, the FLASH get (re)programmed, even with no change in the code. Granted, 10,000 programming cycles is a lot, but why waste...
Friday, 13 June 2014 - 04:43
XMEGA A3BU clock question Attached is the code I use to set the system clock on the XMEGA-A1 Xplained. (It also sets up some of the board hardware.)
Xplained ,and config avrstudio for usage SDRAM memory I am able to access the SDRAM on an XMEGA-A1 Xplained just fine. I allocate the SDRAM at run-time rather than having gcc deal with it as you are attempting. A single structure...
One-wire communications If you use an UART, all the timing is done in hardware. Either Atmel or Maxim has an app note detailing this.
EDIT: AVR libc has a function for calculating 1-Wire CRCs....
Thursday, 15 May 2014 - 20:03
XMEGA RTC question
TCC0.PER = 32;
PER is set to one less than the divisor. To divide by 32, set PER to 31.
Tuesday, 13 May 2014 - 02:16
ADC NVM calibration address Sorry it took so long. I've been away. The above was copied/pasted from iox128a1u.h, which is included by avr/io.h
Tuesday, 13 May 2014 - 02:09
ADC NVM calibration address
/* Production Signatures */
typedef struct NVM_PROD_SIGNATURES_struct
{
register8_t RCOSC2M; /* RCOSC 2 MHz Calibration Value B */
register8_t RCOSC2MA; /* RCOSC 2 MHz...
The variance problem may be caused by noise being coupled/induced from other portions of the chip. Have you tried putting the CPU to sleep while the ADC conversion is executing...
The only way I could find to do this was using a key combination that I had to find by searching through the Help. I would consider hidden. I would expect this to be done by...
The thing that bugs me is EVERY TIME I enter debug mode, the FLASH get (re)programmed, even with no change in the code. Granted, 10,000 programming cycles is a lot, but why waste...
Attached is the code I use to set the system clock on the XMEGA-A1 Xplained. (It also sets up some of the board hardware.)
This forum is for the XMEGA product line, not the UC3 line.
I am able to access the SDRAM on an XMEGA-A1 Xplained just fine. I allocate the SDRAM at run-time rather than having gcc deal with it as you are attempting. A single structure...
Quote:Cartesian coordinates are SO 17th century.That's funny!
The ATxmega128A1 has numerous issues and is no longer recommended for new designs. Why would anyone want a board based on it?
If you use an UART, all the timing is done in hardware. Either Atmel or Maxim has an app note detailing this. EDIT: AVR libc has a function for calculating 1-Wire CRCs....
TCC0.PER = 32; PER is set to one less than the divisor. To divide by 32, set PER to 31.
Sorry it took so long. I've been away. The above was copied/pasted from iox128a1u.h, which is included by avr/io.h
/* Production Signatures */ typedef struct NVM_PROD_SIGNATURES_struct { register8_t RCOSC2M; /* RCOSC 2 MHz Calibration Value B */ register8_t RCOSC2MA; /* RCOSC 2 MHz...
Pages