Type in the full discussion title or a part of it.
Discussion Title Created date
Sample codes for XMEGA
I will put some sample codes for XMEGA, based on the attached schematic file. The codes are written in IAR, but can be simply converted to AVR-GCC.
Tuesday, 15 March 2011 - 13:57
3 phase SPWM (IAR - CodeVision)
Hi, The project was originally written in CodeVision, but I also added IAR version of project.
Friday, 11 February 2011 - 14:57
FatFs errors in IAR
I am working on Chan's FatFs for porting to XMEGA family. There are 2 errors when compiled by IAR: FRESULT f_write ( FIL *fp, /* Pointer to the file object */ const void*...
Saturday, 5 February 2011 - 07:51
XMEGA related pointer issues (GCC & IAR)
Hi all, XMEGA sram starts from 0x2000. I have tested GCC an IAR codes as follows: GCC: #include void main(void) { unsigned char *ptr,i; for(i=0;i
Thursday, 20 January 2011 - 13:46
XMEGA maximum SPI clock in slave mode (Atmel answered)
Hi all, According to XMEGA A manual,maximum clock for SPI module is clkper/2. But the following was also written in SPI section: Quote:doc8077-Rev H- page 230: In SPI Slave mode,...
Monday, 13 December 2010 - 09:05
XMEGA ADC transfer function
Hi all, There are some problems with AVR1300 and XMEGA transfer function: 1- In signed mode(GAIN=1) the conversion result from the ADC is: Result=(VINP-VINN)*TOP/VREF..The problem...
Thursday, 11 November 2010 - 11:19
Divide by 1-32768 with 4 bits? (XMEGA event system)
Hi to all, There is a problem in XMEGA-A Datasheet(doc8077.pdf). One of the possible settings for CHnMUX register is: 1000 M Description of this setting in datasheet: ClkPER...
Wednesday, 6 October 2010 - 11:34
Global variables in IAR
Hi to all, I searched for some hours here but I cannot solve my IAR problem. I want to declare a global variable in IAR and use it in different linked files.The test was done by a...
Thursday, 29 July 2010 - 08:33
Suggestion for code execution from mmc
Hi to all, Program codes must be placed in flash due to AVR architecture. I have a suggestion for using mmc/SDC/SDHC or other storages for storing codes much greater in size than...
Saturday, 17 July 2010 - 09:39
Problem with atmel documents( XMEGA EEPROM )
Hi to all, Section 30.6.2 of XMEGA A document(doc8077): " If an already loaded location is written twice,this will corrupt the content of that EEPROM page buffer location" Section...
Sunday, 6 June 2010 - 11:23

Pages