Myself and my partner have written a program to interface keypad(4x4)&lcd to a targetboard (c8051) and also we have written a subroutine to realise a realtime clock using timer3 interrupt. The problem is the clock runs only when the program control is in main once another function is called from main,the clock halts.Can somebody help me out. regards gayathri
What about 'using'. look it up in the amnual Erik
thanks eric solved the problem. problem was we were using external interrupt 0 which has higher priority than timer3. gayathri
Where is stack? If SP=0x70, it is problem only with RTX51 Tiny enough RAM for activate interrupt by timer.