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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
05/29/10 17:36
Read: times


 
#176305 - I believe you are corect....
Responding to: ???'s previous message
Rowan:
The DS80C320 does indeed _not_ have a double buffered transmit side of the UART. I have worked with so many different MCUs with different sorts of UARTs that I sometimes tend to forget the standard 8051 type transmit UART uses the SBUF register as the shift register for the transmitter. I suspect that the original 8051 design done many many years ago was done this way because it saves some few dozen flipflops and register logic in the chip.

By the way, a good way to time the bit delay for the transmit disable is to have the TI ISR (the one that corresponds to the last byte in your send packet) enable a timer to generate a short term interrupt corresponding to the bit time at your working baud rate. Then in the subsequent timer interrupt you would disable the timer and toggle the port bit to disable the RS485 transmitter.

Michael Karas


List of 21 messages in thread
TopicAuthorDate
Receiving serial bytes on 80C320 UART            01/01/70 00:00      
   here            01/01/70 00:00      
      Thanks - excellent FAQ            01/01/70 00:00      
         "bible time"            01/01/70 00:00      
            Truly biblical!            01/01/70 00:00      
   My recommendation...            01/01/70 00:00      
      Useful ideas - but I don't want to change the hardware            01/01/70 00:00      
         You are absolutotally unconditionally confused            01/01/70 00:00      
            !RI or /RE            01/01/70 00:00      
               I'll re-answer the post above            01/01/70 00:00      
                  Use previous advice and keep receiver enabled            01/01/70 00:00      
                     This can't be right...            01/01/70 00:00      
                        How to get it working            01/01/70 00:00      
                        sometimes right, sometimes wrong            01/01/70 00:00      
                           e-mailed to Steve, Craig --- forum FYI            01/01/70 00:00      
                           We're getting there...            01/01/70 00:00      
                              I believe you are corect....            01/01/70 00:00      
                                 join the club            01/01/70 00:00      
                                    "No other way??"            01/01/70 00:00      
                                       in my (personal) opinion            01/01/70 00:00      
         what is "other code" ?            01/01/70 00:00      

Back to Subject List