Post Created date
How to increase Atmega Timer resolution?
Tomass wrote:May i count, say, 20 overflows of an 8 bit timer running for 10mS timeout? I should count into this timer ISR and toggle the output pin every 20 overflows. Is there...
Wednesday, 12 December 2012 - 15:47
ATmega32, running INT0 & INT1 at the same time.
Double posting: https://www.avrfreaks.net/index.p...
Wednesday, 12 December 2012 - 03:02
How to increase Atmega Timer resolution?
Of course this works on an ATmega. To increase accuracy: 1) Use one timer to generate the gate time period on an output pin. Either an 8 or 16 bit timer as required. 2) Connect...
Wednesday, 12 December 2012 - 02:15
How to increase Atmega Timer resolution?
Tomass wrote:I renamed them to TIMERx_OVF_vect, but nothing changed.Correct, the only thing that changed is the compatibility of your source code with future releases of WinAVR /...
Tuesday, 11 December 2012 - 20:11
How to increase Atmega Timer resolution?
Tomass, If you are using WinAVR / GCCAVR then SIG_OVERFLOW1 is depreciated, as in no longer used in new source code. In fact SIG_OVERFLOW1 may disappear in a future release of...
Tuesday, 11 December 2012 - 19:44
How to increase Atmega Timer resolution?
Oops, I missed that timer shutoff code execution sequence and stand corrected. So the response time for the ISR TIMER1_OVF_vect to stop the timers is the only inherent accuracy...
Tuesday, 11 December 2012 - 19:02
Can someone guide me? (totally new to microcontrollers)
C is a high level programming language. Because it is high level it hides the complexity of the machine code instructions from the programmer. The actual AVR chip runs on machine...
Tuesday, 11 December 2012 - 18:09
How to increase Atmega Timer resolution?
Any gated period frequency counter will have a minimum +1 to -1 count error in every measurement. This error is because the start/stop of the counter gate period is not...
Tuesday, 11 December 2012 - 16:35
atmega16m1 disassembly? (AVR studio 6)
Studio 4.19 has a working simulator disassembly view for the ATmega64M1. I just used it last night.
Tuesday, 11 December 2012 - 02:45
bit wise operation
justinjohney wrote:but this method is only work for lower 4 bits not with higher bitsIs this what you are looking for? #define PORTD_LOW_MASK_BITS ((1 << PD3) | (1 <...
Monday, 10 December 2012 - 18:28
ATmega 128 PORTF Bits 7:5
tomdean@speakeasy.org wrote:If JTAG was enabled, PORTF, bit5 cannot be used as an I/O pin.Yes, but your complaint is PORTF bit 5 does not work as an I/O pin. Aren't you actually...
Saturday, 8 December 2012 - 04:47
Interrupt vectors addresses
8 bit AVR instruction set: http://www.atmel.com/Images/doc0... This shows the 32 bit instruction JMP has a 4 million word address range (actually 22 bits for 4,194,304 word or 8,...
Friday, 7 December 2012 - 18:03

Pages