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

Back to Subject List

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


 
Msg Score: +1
 +1 Good Answer/Helpful
#134255 - Some Options
Responding to: ???'s previous message
Shewan said:
I need to use a microcontroller (8051 preferably) to control 3 UART devices. I have come across this interesting application note. http://www.standardics.nxp.com/support/d...n10353.pdf the idea is to use dual UART with standard 8051. My question is can I use the microcontroller’s UART to drive the third device? I am new to the embedded world. I also need to monitor three analogue voltages. So, I will need to find 8051 with built-in ADC.

8051 variants with three or more analog input channels are easy to find. I'm not so sure about parts with more than two UARTs, though. If there are none, then the approach suggested by the app note should work fine.

You might also consider using a quad UART (four UARTs in one package) with the 8051, and "waste" the microcontroller's UART and the extra UART in the quad package.

With that approach, the code for all three of your devices could be similar. If you use two different kinds of UARTs (one in the microcontroller and a different one in the external package), then you would most likely have to write, test, and debug two sets of low level driver functions to talk to the two different kinds of UARTs.

This sounds like yet another cost-of-firmware vs. cost-of-hardware tradeoff. If it's a low volume project, you'd try to make it easy on the firmware guy. In high volumes, you'd go for the minimum hardware cost.

-- Russ


List of 13 messages in thread
TopicAuthorDate
8051 with 3 UART and ADC            01/01/70 00:00      
   Some Options            01/01/70 00:00      
   3-UART 8051s            01/01/70 00:00      
      8051 with 3 UART and ADC            01/01/70 00:00      
         if they have 3 UARTs, so what            01/01/70 00:00      
            Extraneous peripherals            01/01/70 00:00      
            8051 with 3 UART and ADC            01/01/70 00:00      
   Simple answer            01/01/70 00:00      
      8051 with 3 UART and ADC            01/01/70 00:00      
         Make it simply :)            01/01/70 00:00      
            Other words            01/01/70 00:00      
         Multiplex?            01/01/70 00:00      
            Serial Speed and throughput should be considered            01/01/70 00:00      

Back to Subject List