Post Created date
Compiling a program for ATMEGA88PA?
Thanks david. It worked!! :D Compilation was successful with ATMEGA88PA device by installing the latest WinAVR. AVRdude burnt the code in the micro nicely by modifying the...
Friday, 26 November 2010 - 16:51
SPI vs USI
Can someone tell me precisely how to implement the SS functionality in an ATtiny2313 configured as a slave for SPI communication protocol. My project needs a single master...
Saturday, 19 December 2009 - 03:00
Is 20MHz a lie?
I just want to conclude by saying that my problem wasn't the encoder pulse counting. I have done it pretty easily at 16MHz. But my problem was a multiplication that I needed to...
Wednesday, 16 December 2009 - 23:45
Is 20MHz a lie?
Guillem Planisi wrote:It is simple: when the interrupt triggers, you read the state of the other input. Ok, maybe the uC is too late, but you can do (as many others did) it with...
Tuesday, 15 December 2009 - 14:16
Is 20MHz a lie?
The encoder has 512 counts per rev. Basically its a quad encoder and I have no clue as how to find the direction using only one interrupt. I would love to know how u can determine...
Tuesday, 15 December 2009 - 13:02
Is 20MHz a lie?
Well my friend, that is what I am doing. This uC does nothing other than counting pulses and after regular intervals of time, it communicates the counts to a main uC.
Tuesday, 15 December 2009 - 08:36
Is 20MHz a lie?
Quote:With an 18 MHz clock and no prescaling, You see, this is a solution I knew about but the entire point of the fact is that I need higher clock frequency and that's why I was...
Tuesday, 15 December 2009 - 07:54
my program
shakerobo wrote: while(1) { set_PORTD_bit(4,1); _delay_ms(1000); set_PORTD_bit(4,0); _delay_ms(1000); } don't you think it should have been set_PORTD_bit(4,1); delay...
Tuesday, 15 December 2009 - 04:28
Is 20MHz a lie?
bobgardner wrote:That was EXACTLY my point.... if you use either edge interrupt of either A or B input, you have a lot of interrupt handling to deal with. If you only interrupt on...
Tuesday, 15 December 2009 - 03:59
Is 20MHz a lie?
bobgardner wrote:Are you reading the encoder directly with the avr inputs, or with an encoder chip? I am reading them directly with the 2 external interrupts available in the uC...
Tuesday, 15 December 2009 - 00:44
Is 20MHz a lie?
Jepael wrote: also does it need to be an integer? Why can't you use integer and some integer fraction (fixed point math). It need not be an integer. But for optimization purpose...
Tuesday, 15 December 2009 - 00:11
Is 20MHz a lie?
Jepael wrote: And, what is the overflow time, in us or ticks? What do you need the variable for? Where do the values come from? Can't you track time in units or overflow...
Monday, 14 December 2009 - 23:58

Pages