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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
10/11/04 22:27
Read: times


 
Msg Score: 0
 +1 Good Answer/Helpful
 -1 Answer is Wrong
#79164 - significant advantage in Hard UART
Responding to: ???'s previous message
Prahlad J. Purohit said:
I don't see any significant advantage in using Hard UART except for increased cost on hardware and size of hardware.

Really??!!

Consider this:
If you have a hard UART, you need only access it once per character to extract the received character.
A hardware UART samples the Rx line at sixteen times the bit rate - so an equivalent software UART would need to do the same. A standard 1 stop, 8 data, 1 start frame is a total of 10 bits.

Thus a soft UART needs to sample the Rx line 160 times per character, as opposed to just once per character for a hard UART.
And that's just sampling the line - you then need to evaluate each sample, decide whether you have a valid '1' or '0' bit, handle the start bit, handle shifting the serial Rx bits into a single character, etc, etc.

Do you still see no significant advantage in using Hard UART?!

With external UARTs, it gets even better:

  • FIFOs - so your software doesn't even need to access the UART every character!
  • Automatic parity generation & checking
  • Automatic flow-control
  • Automatic framing error detection
    etc, etc, etc...

    I think you are definitely wrong on this one - there most certainly are significant advantages to be gained in using Hard UARTs!

    Of course, there's no such thing as a free lunch - so whether these advantages are justified in relation to the cost for a particular project is an entirely different matter!





  • List of 47 messages in thread
    TopicAuthorDate
    connecting multiply RS232 to pc            01/01/70 00:00      
       RE: connecting multiply RS232 to pc            01/01/70 00:00      
          RE: connecting multiply RS232 to pc            01/01/70 00:00      
       RE: connecting multiply RS232 to pc            01/01/70 00:00      
          RE: connecting multiply RS232 to pc            01/01/70 00:00      
             RE: connecting multiply RS232 to pc            01/01/70 00:00      
          RE: connecting multiply RS232 to pc            01/01/70 00:00      
             RE: connecting multiply RS232 to pc            01/01/70 00:00      
                RE: connecting multiply RS232 to pc            01/01/70 00:00      
                   RE: connecting multiply RS232 to pc            01/01/70 00:00      
                RE: Optimistic?            01/01/70 00:00      
                The simplest? ;-D            01/01/70 00:00      
                   RE: The simplest? ;-D            01/01/70 00:00      
             RE: Costs (again)            01/01/70 00:00      
          RE: connecting multiply RS232 to pc            01/01/70 00:00      
             RE: connecting multiply RS232 to pc            01/01/70 00:00      
                RE: connecting multiply RS232 to pc            01/01/70 00:00      
                RE: connecting multiply RS232 to pc            01/01/70 00:00      
          RATING SYSTEM            01/01/70 00:00      
             RE: RATING SYSTEM            01/01/70 00:00      
             RE: RATING SYSTEM            01/01/70 00:00      
                RE: RATING SYSTEM            01/01/70 00:00      
                   RE: RATING SYSTEM            01/01/70 00:00      
                      RE: RATING SYSTEM            01/01/70 00:00      
                         RE: RATING SYSTEM            01/01/70 00:00      
                            RE: bit bang            01/01/70 00:00      
                         RE: RATING SYSTEM            01/01/70 00:00      
                         Statistical Multiplexer            01/01/70 00:00      
                   RE: RATING SYSTEM            01/01/70 00:00      
                      RE: RATING SYSTEM            01/01/70 00:00      
                   significant advantage in Hard UART            01/01/70 00:00      
                      RE: significant advantage in Hard UART            01/01/70 00:00      
             RE: RATING SYSTEM            01/01/70 00:00      
                RE: RATING SYSTEM            01/01/70 00:00      
          Nostalgia            01/01/70 00:00      
       Designer judgement needed            01/01/70 00:00      
          Missed bytes - Raghu            01/01/70 00:00      
       RE: connecting multiply RS232 to pc            01/01/70 00:00      
       RE: connecting multiply RS232 to pc            01/01/70 00:00      
       RS232-Ethernet            01/01/70 00:00      
       Statistical Multiplexer            01/01/70 00:00      
          RE: Statistical Multiplexer            01/01/70 00:00      
       RE: connecting multiply RS232 to pc            01/01/70 00:00      
       if selfbuild            01/01/70 00:00      
       RE: connecting multiply RS232 to pc            01/01/70 00:00      
          RE: connecting multiply RS232 to pc            01/01/70 00:00      
       Hopefully the war is over :-)            01/01/70 00:00      

    Back to Subject List