Type in the full discussion title or a part of it.
Discussion Title Created date
AVR draws more current when sleeping?
I have a low power project going on and I have decided to look into the exact current consumption figures of the circuit. Most of the time the circuit is just sitting there doing...
Wednesday, 22 February 2017 - 20:27
Clock change not working right (div)
I want to working with the 32MHz clock divided by 8 = 4MHz and pass it through pre-scallers B & C. Here is my code: void CLK_Config(volatile CLK_t *clk, volatile OSC_t *osc...
Sunday, 19 February 2017 - 20:26
xmega clock can't reach stability?
When debugging I've noticed the code get stuck in the while loop. static inline void osc_wait_ready(uint8_t id) { while (!osc_is_ready(id)) { /* Do nothing */ } }Xtal is 4MHz...
Sunday, 19 February 2017 - 12:16
MIDI output circuit does not go "low" enough
I've build a circuit that feeds from the power of the MIDI current loop, it should output MIDI as well. The output circuit is just the UART output into a 10 Ohm resistor and the...
Friday, 17 February 2017 - 20:00
Error compiling debug project (only)
When I try to compile the "release" build there is no problem, however when trying to build the "debug" version I get the followings errors:   Severity    Code...
Wednesday, 15 February 2017 - 16:10
What is the problem with the linking during the build?
I want to add Peter Fleury's I2C library to a project.   The unzipped files are located in a folder inside the project folder, this is in order to keep things more neatly...
Saturday, 7 January 2017 - 20:08
MOSFETs for switching AC?
I want to be able to conduct / disconnect an AC signal between input & output. For this purpose I would like to use MOSFETs that I have around for cheap like the 2N7002 or the...
Tuesday, 3 January 2017 - 22:03
xmega deep sleep + uart wake up?
I have working code that accepts 4 UART inputs, does simple data manipulation, and outputs all the data through a 5th UART. The circuit must consume as low power as I can get the...
Monday, 31 October 2016 - 16:34
xmega pull up / pull down resistors for the entire port at once?
Perhaps I'm missing out on something but I can not find the way to set pull up or pull down resistors on the xmega.   Let's say I want to configure port B to have all pins as...
Sunday, 30 October 2016 - 17:49
Which bias capacitors for 32.768Khz crystal?
I want to use an external watch crystal for run-time calibration source for the 2MHz internal oscillator. I have seen in AVR1012: XMEGA A Schematic Checklist that there are...
Saturday, 29 October 2016 - 10:01
Problems compiling LUFA from the Extentions lib
I'm currently writing a small project on an Xmega, never used ASF drivers before. I have installed LUFA extension from the gallery. Using ASF wizard I've added the RingBuffer...
Thursday, 20 October 2016 - 22:03
A more efficient implementation of a ring buffer?
I'm starting out with a fairly (non safe) trivial implementation of a ring buffer: struct ringBuffer{ char buffer[256]; uint8_t writeIndex; uint8_t readIndex; }ringBuffer...
Wednesday, 12 October 2016 - 13:39

Pages