Type in the full discussion title or a part of it.
Discussion Title Created date
Defining regions in code
Hi. According to MSDN Visual Studio is supposed to support regions in C code. #pragma region test ... #pragma endregion Thing is it doesn't work. I define a region and it isn't...
Tuesday, 10 July 2012 - 08:23
RFM12B low duty cycle polling mode
Hi. I am using some RFM12B modules for comms on 433MHz and despite being extremely cheap they work pretty well. Unfortunately the documentation is terrible. The IC used is an...
Wednesday, 28 March 2012 - 10:44
Constant pointer to an array
Hi. I'm sure this is an easy one but I can't figure it out :-) I have a buffer array that gets filled with different data packets and I want to use structs to make the data easier...
Monday, 5 March 2012 - 14:32
sp_driver.S functions and GCC optimization -OS
Hi. I noticed something odd, when I call some functions in sp_driver.S with GCC set to -OS (optimize for size) I get rubbish back, but it works perfectly with set to -O3....
Monday, 27 February 2012 - 11:25
ATtiny13A watchdog interrupt in Power-down Mode
Hi everyone. I am looking at using an ATtiny13A in a really low power IR polling system. The lowest power state for that AVR is Power-down Mode where the normal timer does not run...
Monday, 20 February 2012 - 10:00
On chip debugging (OCD) via PDI interface?
Hi. According to the ATxmega128D3 datasheet section 23.2 states that "Programming and debugging can be done through the PDI physical layer" However, all the debugging hardware...
Thursday, 9 February 2012 - 10:19
Power consumption in idle mode
Hi (again). I am trying to get the current consumption of an ATxmega128A1 on an Xplained board. In power-down mode current is
Wednesday, 7 December 2011 - 12:02
RTC interrupt stops during idle mode at 32MHz
Hi. I am having a weird problem with the XMEGA RTC and sleep mode. Platform is an Xplained board with ATxmega128A1 and 32.768KHz xtal clocking the RTC. I have an RTC overflow...
Tuesday, 6 December 2011 - 12:05
ADC scaled VCC and temperature woes
Like some other posters I am having trouble with the internal source measurements for the ADC on an XMEGA128A3. Let's concentrate on the scaled VCC measurement first as that...
Tuesday, 8 November 2011 - 10:43
Double buffered DMA from ADC to SRAM
Hi. I am having some trouble with the XMEGA DMA system. I am trying to sample audio and save it to SD card, so the plan is to use DMA to stream ADC readings into two large buffers...
Thursday, 3 November 2011 - 15:19
Can't include assembler file in C project without errors
Hi. I am trying to include an assembler file (.S) in my GCC based project using AVR Studio 5. I have the following files: rtc.c rtc.S rtc.h It worked without problems in V4, but...
Monday, 24 October 2011 - 16:01
Reading corrupt PROGMEM data on AT90USB1286
Hi. I am having trouble reading data from PROGMEM on an AT90USB1286. I was getting corrupt strings, so for example PSTR("ROM Update") would be read back as "REM u date" and PSTR("...
Sunday, 14 August 2011 - 19:43