Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
08/01/03 13:55
Read: times


 
#51918 - Serial Comm.
Dear All,

I got some success in Half Duplex TRansmission. The code was slightly modified in the Tx(First Transmitter) side.

SERIAL_COMM: JNB RI,CHECK_TI
CLR RI
MOV P0,SBUF

CHECK_TI: JNB TI,RETURN_FROM_SERIAL
CLR TI
MOV SBUF,@R0

RETURN_FROM_SERIAL:
RETI


But this code gives a glitch at p0 upon receiving a byte from Rx. I think when the Timer0 Delay Routine is running, and a byte is received at that moment, the glitch occurs. This happens at random intervals, but the last value on port is correct.

What can be the cause of the glitch.

thnaks

pawan



List of 3 messages in thread
TopicAuthorDate
Serial Comm.            01/01/70 00:00      
   RE: Serial Comm.            01/01/70 00:00      
      RE: Serial Comm.            01/01/70 00:00      

Back to Subject List