Type in the full discussion title or a part of it.
Discussion Title Created date
CTC Timer Problem
Hi all I got stuck with this problem for almost half a day now just not able to find out what is wrong with it.The program has to do the following:after reset should wait for...
Wednesday, 8 October 2008 - 16:41
When exactly does the UART Receive routine triggers
Hi I have a small question.As far as my understanding goes the UART Receive interrupt triggers as and when when the Receive complete flag is set, provided global interrupt and...
Monday, 29 September 2008 - 21:32
Why does the compiler use R30 and R31 instead of just R24
Hi, I have a code like this. #include #include unsigned char calSTEP; unsigned char initialICP; //------------------------------------------------------------------------...
Wednesday, 17 September 2008 - 18:29
Extra registers pushed in stack
Hi all. I have an interrupt routine and when I look at the disassembler code I find that the compiler is pushing two registers R24 and R25 into the stack and later at the end of...
Monday, 15 September 2008 - 20:05
Beginner question on interrupt service
Hi, this is a very basic question and I apologize to all the great freaks out here if these is a silly one.I wrote a simple program to find what exactly happens at the assembly...
Sunday, 14 September 2008 - 18:31
How to check "Bit copy " bit in SREG
Hi all. i have a routine in the program which is like this: switch(// T bit in SREG register) case (1): { } case (0...
Friday, 12 September 2008 - 21:07
Faulty UART?
Hi all.The present project I ma working on requires the UART to transmit at 250kbps.I recently bought a AT90 USB demokit with AT90USB1287 on it. I was running a test program to...
Friday, 12 September 2008 - 15:49
Freeze MSB
I have a register with some value in it.I want to freeze its MSB and perform addition and subtraction on the other 7 bits.Can anyone suggest how to accomplish this.For ex I have...
Wednesday, 10 September 2008 - 22:22
Lock bit?
Hi I need to write a routine to check the MSB of OSCCAL register and lock it so that any further changes to OSCCAL value will not affect its MSB. defaultOSCCAL = OSCCAL; if...
Wednesday, 10 September 2008 - 18:26
Floating Point Constant
I want to confirm that floating point is not supported in avr. My program starts like this : #define TARGET_FREQUENCY 8000000 #define SYNCH_FREQUENCY 250000 #define...
Tuesday, 9 September 2008 - 18:26
Where to view preprocessor directives
Hi I have a program with a lot of preprocessor directives like this: #define TARGET_FREQUENCY 8000000 #define SYNCH_FREQUENCY 250000 #define SYNCH_UBRR 1...
Tuesday, 9 September 2008 - 17:49
Explicitly prevent optimization only for ISR
Hi all, I am trying to port a code from IAR to WINAVR.Can anyone throw light on how to force optimization for an interrupt routine as done like this in IAR: // Force no...
Monday, 8 September 2008 - 21:24

Pages