Electronics Forum

Electronics Circuits & Projects discussion forum. Get help with electronics.


Handling two different UART device with one port

Discuss all your electronics engineering related technical problems and other questions pertaining to design problems in any field of Electrical/Electronics/Computer Hardware

Moderator: pebe

Handling two different UART device with one port

Postby majidkhalili » Thu Oct 03, 2013 4:05 pm

Hi guys
i dont know if this is the best place ask this , so if i have to post it in different section pls let me know
i have an avr micro controller that is working with PC using one of its serial port , and the avr has only one other serisal port , and i need to work with tow different device using UART , i have know idea what can i do
one of the devices i'm just reading from , and another one i'm bot reading and writing
and the important thing is that for both these devices i have to use the interrupt , so i cant not use just simple mux to handle these to , because they should interrupt the avr to read the value of them , so with mux i migh lose the data

pls tell me any thing that can help
thanks
majidkhalili
 
Posts: 1
Joined: Thu Oct 03, 2013 3:43 pm

Re: Handling two different UART device with one port

Postby pebe » Sat Oct 05, 2013 2:23 pm

As I read your post the communication to the PC is not relevant, but you need to communicate between a single UART on the Arduino and two other serial devices. Is that what you want?
pebe
 
Posts: 1058
Joined: Tue Dec 09, 2003 11:12 pm
Location: Ellon, Scotland


Return to EE quiz questions & problems



Who is online

Users browsing this forum: No registered users and 2 guests

Siemens Simatic / 6AG4131-2HM31-2BX0 / IPC627D / XEON E3-1268Lv3 / ohne SSD
$1014.63
Siemens Simatic / 6AG4131-2HM31-2BX0 / IPC627D / XEON E3-1268Lv3 / ohne SSD pictureSiemens Simatic / 6AG4131-2HP20-0BX0 / IPC627D / XEON E3-1268Lv3 /
$2601.63
Siemens Simatic / 6AG4131-2HP20-0BX0 / IPC627D / XEON E3-1268Lv3 / pictureAdvantech AIMB-581WGZ PCB Board With Intel Xeon E3-1275 CPU Processor M1405
$149.0
Advantech AIMB-581WGZ PCB Board With Intel Xeon E3-1275 CPU Processor M1405 picture1pc Used Intel xeon E5-2630LV3 CPU 1.8GHz 8 core 16 threads
$128.0
1pc Used Intel xeon E5-2630LV3 CPU 1.8GHz 8 core 16 threads picture


cron