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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
Erik Malund
08/31/05 07:14
Modified:
  08/31/05 07:38

Read: 836 times
Mt Airy, Nc
USA


 
#100343 - why analyze how deep the water is before
Responding to: Andy Neil's previous message
You need to answer that question before you jump in and start writing code...
Why analyze how deep the water is before you jump in, all that can happen is that you hurt your head and maybe break your neck.
Many can write code - great, but few take the time to find out what code to write.
For instance in theis thread there is a question "why not use the HW UART" and where is the answer?

"I tried to implement serial communication using with hardware UART in order to transmit simple byte to another microcontroller ... and learnt that the blue or red LED would not switch on. ... I prefer to test it with bit-banging (software UART) in order to see if it work better."

The "problems" do not have one minuscule iota of relation to whether soft or hard UART is used.
Si, instead of fixing the actual problem, the OP start bungling around wasting time with a soft UART only to find - who knows how much later - that the problem was not the UART.

LET IT BE CLEAR: using a soft UART when the hardware UART is availible is a total waste of time and resources

Erik

List of 34 messages in thread
TopicAuthorDate
Serial RF with AT89C51 to AT89C51      Manoz Joshi      08/28/05 07:35      
   Lineks ?      Steve M. Taylor      08/28/05 09:31      
   UARTs and ASK      Dan Henry      08/28/05 09:54      
      Software driven UART - Bit-banging      Manoz Joshi      08/28/05 17:23      
         Channel coding        Dan Henry      08/29/05 07:16      
            Yes but...      Manoz Joshi      08/29/05 13:47      
               What is the hardware UART not doing?      Dan Henry      08/29/05 14:27      
                  Hardware UART      Manoz Joshi      08/29/05 19:08      
                     RF links pose challenges, but anyway...      Dan Henry      08/29/05 20:58      
                     Spend the money or do the hard work?      Andy Neil      08/30/05 00:56      
                        So many, so often, forget that design is      Erik Malund      08/30/05 07:10      
   Rendering      Steve M. Taylor      08/30/05 09:06      
      Me too !      Farshid Jafari Harandi      08/30/05 09:21      
      nope, just like any other (IE)      Erik Malund      08/30/05 11:13      
         Disappointed!      Manoz Joshi      08/30/05 13:58      
            What is the purpose of "learning" our co      Erik Malund      08/30/05 14:40      
            Sorry but      Steve M. Taylor      08/30/05 14:43      
            End of wrong stick?      Andy Neil      08/30/05 16:42      
            Learning? Dealing with disappoinment      Dan Henry      08/30/05 18:01      
            What you need to learn      Andy Neil      08/31/05 03:31      
               Apology      Manoz Joshi      08/31/05 08:03      
                  Recommendation      Andy Neil      08/31/05 09:25      
                  A short backgrounder      Dan Henry      08/31/05 11:26      
                     Missing the point      Russell Bull      09/01/05 03:50      
   The wise men have spoken      Dan Henry      08/30/05 18:09      
   UARTs, the last word Mr. Joshi      Dan Henry      08/30/05 18:13      
      *Groan* Here is my inital code      Manoz Joshi      08/31/05 01:39      
         Does it work ?      Steve M. Taylor      08/31/05 01:53      
            Does it work at all?      Andy Neil      08/31/05 03:53      
         The Point.      Andy Neil      08/31/05 03:46      
            why analyze how deep the water is before      Erik Malund      08/31/05 07:14      
         TF2 needs to be cleared in interrupt      Charles Bannister      08/31/05 04:54      
         the right way to get help definitely is      Erik Malund      08/31/05 07:05      
         Pinching a loaf      Dan Henry      08/31/05 18:47      

Back to Subject List