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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
08/22/05 21:12
Read: times


 
#99860 - this will be a mess when you do not have
Responding to: ???'s previous message
I've never written code for a software UART and currently not sure how to implement it for my situation. As you know, I'm already using the built in UART and I'm also using one timer for a simple scheduler (which currently just scans the keypad, but I might add more to this later) and the other timer for the built in UART
This will be a mess when you do not have a free timer. Yes, you can make a bitbanged UART with programmed delay loops, but that will fail miserably when either your timer or the UART interrupts.
Use an external UART (IIC or SPI coupled with FIFO) = 2 or 3 pins. E.g. Philips has some with pretty deep FIFOs.

Simce your display is input only and your scanner is output only, what hinder you using the UART for both. If they can be set to the same baudrate, that should work.

Erik


List of 14 messages in thread
TopicAuthorDate
Bit-banging/software UART on a AT89C2051            01/01/70 00:00      
   this will be a mess when you do not have            01/01/70 00:00      
      Re: this will be a mess when you do not            01/01/70 00:00      
         now it is 3 devices            01/01/70 00:00      
            Re: now it is 3 devices            01/01/70 00:00      
               SW UART            01/01/70 00:00      
                  Re: SW UART            01/01/70 00:00      
                     Use a second 89C2051            01/01/70 00:00      
               you will have to anyhow            01/01/70 00:00      
                  The max has 2+2 drivers            01/01/70 00:00      
                     Some other things to think about            01/01/70 00:00      
            TL16C754 software flow control question            01/01/70 00:00      
               what does that have to do with bit-bangi            01/01/70 00:00      
   nope, there are many external UARTs ava            01/01/70 00:00      

Back to Subject List