SphinX
Advanced Member level 3
8051 Problem?
Hi,
I have setup the Timer1 overflow Interrupt to interrupt every 50ms (to do certain task)
My main program do some task process too.
One of the process is to send serial characters (Using SBUF Register).
It takes a long time to send 3 chars and it send them zeros !
I tried to disable all interrupt "EA=0;" before i send any serial chars, but without any success, the problem is still exist.
But When i removed the Timer1 interrupt setup, it works ok.
What is the solution?
I use Keil 7.08 C51 Compiler
Thanks very much
SphinX
Hi,
I have setup the Timer1 overflow Interrupt to interrupt every 50ms (to do certain task)
My main program do some task process too.
One of the process is to send serial characters (Using SBUF Register).
It takes a long time to send 3 chars and it send them zeros !
I tried to disable all interrupt "EA=0;" before i send any serial chars, but without any success, the problem is still exist.
But When i removed the Timer1 interrupt setup, it works ok.
What is the solution?
I use Keil 7.08 C51 Compiler
Thanks very much
SphinX