Type in the full discussion title or a part of it.
Discussion Title Created date
Determine PC's width in compile time
Hi, All!   How to determine width of program counter in compile time?   FLASHEND is not suited: there is atMega640 with 3 byte PC's width, IMHO.   Ilya
Thursday, 18 June 2015 - 13:02
Missing DMA interrupt?
Hi, All! I tried to use 3 DMA channels simultaneously: - CH0 for read data from port (PLD); - CH1 for write data to USI in SPI mode (SD-card); - CH2 for read data from USI is...
Thursday, 6 February 2014 - 08:58
128 KBytes of external memory
Hi, All! I have board with 128 KBytes of External memory (XMega MCU). I made that .data section start at 0x803000 (internal SRAM used for stacks). I think that .data section end...
Wednesday, 2 October 2013 - 05:33
avr-objdump or avr-gcc bug?
Hi, All! subj: 18e4: 86 a1 lds r24, 0x46 18e6: 97 a1 lds r25, 0x47 18e8: 96 95 lsr r25 18ea: 87 95 ror r24 TCC0.CNT = TCC0.PER / 2...
Monday, 18 February 2013 - 03:35
xMega as i2c slave: TWI slave interrupts
Hi, all! According to datasheet "8-bit AVR XMEGA A Microcontroller: XMEGA A MANUAL Preliminary" (8077H-AVR-12/09) there is no interrupt between Slave Address Interrupt and Slave...
Thursday, 6 September 2012 - 11:11
Uncertainty in the datasheet
Hi, all! In datasheet of XMega "8-bit AVR XMEGA A Microcontroller" 8077H"“AVR"“12/09 we read (at page 124): "If an interrupt condition occurs while another higher priority...
Monday, 30 July 2012 - 05:26
Problem with GCC code generation (WinAVR 2009)
Hi! I use (with -O2 option) GCC from WinAVR 20090313 version 4.3.2. unsigned char *p; unsigned short pp; cli(); 34e: f8 94 cli p = RingPointer; 350: f2 01...
Thursday, 19 July 2012 - 10:35
XTV - XMega TV output v1.00
Hi! I find in "XTV.C" this: ISR( RENDER_INTERRUPT ) { #define TWEAK 8 // First remove any jitter! // This interrupt will have up to 4 cycles of jitter, depending on what...
Monday, 2 July 2012 - 10:18
Is this bug in gcc or...
Hi, All! How to put 16-bit variable into registers?! For 8-bit it works. For 16-bit variable compiler use difrent registers in difrent functions: /* mega168/main.c */ #...
Wednesday, 1 June 2011 - 04:42
bug in avr-libc
The code: #include .... .... cli(); v = TicksCounter; sei(); .... sometime generate this (with -O2 flag): .... a30: f8 94 cli a32: 78 94 sei...
Friday, 19 February 2010 - 07:49
Input Capture Unit and Fast PWM mode
Do Input Capture Unit work in Fast PWM mode when OCRxA is used for TOP counter value (WGMn3:0 is 1)?
Friday, 13 November 2009 - 07:09