Type in the full discussion title or a part of it.
Discussion Title Created date
Input Capture and Vector Priority
I am using the input capture on a ATMEGA644p to measure the pulse width of an encoder signal. The problem occurs in this sequence of events: 1) The program disables interrupts 2)...
Fri. Oct 1, 2010 - 03:21 AM
Unexpected result when using ISR_NAKED
Here is my code: #define RX_MODE PORTD &= ~(1<<PD4); ... ISR(USART1_TX_vect, ISR_NAKED){ RX_MODE reti(); } After compiling it looks like this: 584 ....
Wed. Aug 25, 2010 - 11:29 PM
Determining ISR duration
I would like to go through and figure out what the time duration is of the different interrupts I am using. My main purpose is to try to figure out what the slowest possible...
Wed. Aug 25, 2010 - 07:45 PM
TX complete flag not behaving as expected
The behavior of the TX complete flag is baffling me. I would really appreciate it if someone could shed some light on this behavior. All the code does is set up the UART and then...
Wed. Aug 18, 2010 - 07:43 PM
What the difference between p/v and pa and a
I have been searching every nook and cranny of the Atmel site and I can't figure out what the "a" means. For instance: First there was the atmega644 Then they changed to...
Fri. Aug 13, 2010 - 06:45 PM
Using EEMEM inside a struct
Eventually what I am trying to do is to have my MCU keep an error log in eeprom, In the past I have accomplished this by defining an array in eeprom. I kept track of the location...
Tue. Aug 3, 2010 - 09:03 PM
RS485 Termination Resistance and Reflections
I am working on a circuit with 2 mega324s that talk to each other via rs485. I choose to use two ISL3179E from Intersil, mainly becuase it comes in a MSOP10 package. http://www....
Mon. Jul 19, 2010 - 07:16 PM
UART Cable Advice
Hello all. I need some hardware advice. In my application my controller will have to be 18 inches (46 cm) away from 6 analog sensors, a motor, a quadrature encoder, and one...
Wed. May 26, 2010 - 04:41 PM
Voltage Regulators, Datasheets, and PSSR
Howdy. I have been looking at voltage regulator datasheets all morning and I am wondering if I am taking a good approach to interpreting datasheets. On my PCB I have a Mega324p...
Tue. Nov 10, 2009 - 05:54 PM
ADC noise and inductors
I am conducting an experiment where I would like to use a home-made strain gauge based load cell to measure dynamic loads. Here is my hardware: Strain Gauges -> Wheatstone bridge...
Fri. Aug 7, 2009 - 04:46 PM
ADC voltage referance not behaving as expected
Hello all. I have a very simple setup that was working great untill I changed the voltage referance settings on my ATMEGA48. The goal of the system is to read a small voltage on...
Wed. Aug 5, 2009 - 10:20 PM
Getting WinAVR in the start menu
I just installed the latest WinAVR and its not showing up in the start menu. I am guessing that this occured because the WinAVR installer tried to put WinAVR on the C drive but I...
Mon. Jul 13, 2009 - 05:11 PM

Pages