I have been at this a few days now, and I think its time to break down and ask for some help. I hate to ask since this is a learning thing for me, and I really want to figure this thing out myself.
I have modified the avr410.asm code to work in a 90S8515.
Got it working ok, except that I cannot see any of the IR commands coming through.
What i have done is ported the code to an 8515, and added simple TX and RX routines to print the response to the avr terminal program.
No matter what I do, I cannot get the code to recognize any of the commands. I checked with my scope, and the receiver is definately receiving, even if it was receiving garbage, it should still show me something, but it it not showing anything at all with the exception of the "Press a key" and "You Pressed:" strings, so I know the uart routines are working ok.
The code I am using is attached. I am not using a SFH 506-36 IR receiver as per the avr410 Application Note. (don't have one yet) Instead, I removed the part from an old VCR I have. I know its not the right frequency but, shouldn't I still get some response, even if it is garbage?
I am 100% certain that the hardware is wired up correctly, as per the avr410 Application Note.
I am still very new with AVR, (especially interrupts) and I am wondering if it might be an interrupt problem?
If I want to use a different IR receiver (different frequency) what would I have to change in the program to compensate if anything?
Thanks for any help!
Glad to have this site around!!!