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)... |
Friday, 1 October 2010 - 03:21 |
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 .... |
Wednesday, 25 August 2010 - 23:29 |
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... |
Wednesday, 25 August 2010 - 19:45 |
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... |
Wednesday, 18 August 2010 - 19:43 |
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... |
Friday, 13 August 2010 - 18:45 |
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... |
Tuesday, 3 August 2010 - 21:03 |
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.... |
Monday, 19 July 2010 - 19:16 |
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... |
Wednesday, 26 May 2010 - 16:41 |
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... |
Tuesday, 10 November 2009 - 17:54 |
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... |
Friday, 7 August 2009 - 16:46 |
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... |
Wednesday, 5 August 2009 - 22:20 |
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... |
Monday, 13 July 2009 - 17:11 |