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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
07/24/03 07:28
Read: times


 
#51288 - RE: Half-Duplex
Responding to: ???'s previous message
I asume that the two programs run in two different controllers. How did you setup the interrupts? Looking at the code for Rx, and supposing that the routine is an ISR, it will most likely deadlock: after the received byte is transmitted, TI is set, A is loaded with whatever is (still) in SBUF and again transmitted after TI is cleared, etc. The same happens in your Tx part. I don't believe that is what you want..

List of 7 messages in thread
TopicAuthorDate
Half-Duplex            01/01/70 00:00      
   RE: Half-Duplex            01/01/70 00:00      
      RE: Half-Duplex            01/01/70 00:00      
         RE: Half-Duplex            01/01/70 00:00      
            RE: Half-Duplex            01/01/70 00:00      
   RE: Half-Duplex            01/01/70 00:00      
   RE: Half-Duplex            01/01/70 00:00      

Back to Subject List