Type in the full discussion title or a part of it.
Discussion Title Created date
Increment Operator Functionality
I was examining Dean's "LightweightRingBuff.h" library, and developed a question regarding the increment operator. Does using the increment operator on a variable inside a...
Wednesday, 29 June 2011 - 16:23
Unexpected behavior w/ strtoul()
My project is written in C (gcc) in AVR Studio 4.0. My target is a ATMEGA1281. I am getting unexpected behavior from strtoul(). I use interrupt driven usart rx to fill a buffer...
Tuesday, 28 June 2011 - 15:30
I2C Write Wrapper Function (in GCC)
Not sure where this question should go. I apologize if I have guessed wrong. I am writing a wrapper function for Fleury's i2c_write function. The goal is to write a caller...
Thursday, 23 June 2011 - 12:51
Atmel I2C Source Code
I apologize in advance if there already threads out there with this question -- whenever I attempt to use the search function, my browser hangs... I just read AVR315 (Using the...
Tuesday, 21 June 2011 - 14:26
I2C Hardware Requirements Question
I am designing a board (to be sent out for fab, can't test this ahead of time) with an ATMEGA1281, and I need to use the TWI with an external component. From reading the data...
Wednesday, 15 June 2011 - 20:47
Offsetting counter start times
I am using an ATMEGA328 running on an external crystal at 9.8304MHz. I am using two counters in a pure hardware CTC configuration with the following code: GTCCR |= (1 <...
Monday, 23 May 2011 - 14:17
External Brownout Circuit
I am planning on putting an external brown-out circuit in my design to give me more flexibility on when exactly to go into reset (with respect to supply voltage). To do this, I...
Monday, 9 May 2011 - 15:04
Reading Signature causes physical problems
I have a new board with an ATMEGA328P. Initial power up (in unprogrammed state, i.e., chip fresh from Digikey) showed a draw of ~25mA -- within my window of expected draw for the...
Tuesday, 3 May 2011 - 13:52
Address size in AVR = 32 bit?
Is the address space in an 8-bit AVR 32 bit? I have a piece of code that seems to work, but I am suspicious that I may still be doing something wrong. Specifically, I am trying to...
Tuesday, 12 April 2011 - 12:34
Serial Interface protocol question
The first part of this question is AVR specific, the second part is more a general coding question. I am using interrupt driven serial communications (Rx only -- Tx is not...
Tuesday, 5 April 2011 - 14:43
Path in File Tabs in AVR Studio Setting
Is there a simple setting somewhere in the preferences for AVR Studio 4.0 to tell it to only display the file name in the tab rather than the entire path? For example, if I have...
Monday, 4 April 2011 - 12:12
Timers on ATMEGA328
I have read Dean's excellent tutorial on timers, and believe that I have a tenuous grasp on how they work (will hopefully become firmer once I have some hw to play with). I am...
Friday, 25 March 2011 - 20:13

Pages