Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

[AVR] Two serial ports with atmega 8 / 16 /32 is it possible to use

Status
Not open for further replies.

ark5230

Advanced Member level 3
Joined
Jun 29, 2009
Messages
862
Helped
163
Reputation
324
Reaction score
140
Trophy points
1,323
Location
India
Activity points
6,187
Is it possible to implement two serial ports on Atmega 8/ 16/ 32 etc.
How to do that.
Is the concept of software modem of any use in such situation.
Any hint or link please.
 

You can use software uart for this purpose, multiplexer can also work in such situation.
 
xpress_embedo
Would you kindly advise as to how to implement the same.
Which one is easier.
 

Well i don't know which one is better, and i can't comment about the easiest method.


Here are few links
http://www.atmel.com/images/doc0941.pdf
http://github.com/blalor/avr-softuart
http://www.avrfreaks.net/forum/software-serial-uart?page=all

If you use mikroC for AVR compiler then it has in built libraries for this purpose.
**broken link removed**

- - - Updated - - -

Few years back i used Software UART for PIC18f4550 micro-controller and that works for me in that project.
But i had used Software UART Transmission first and then Switch to Software Reception Mode.

- - - Updated - - -

Few years back i used Software UART for PIC18f4550 micro-controller and that works for me in that project.
But i had used Software UART Transmission first and then Switch to Software Reception Mode.
 
Yes,
Thanks, it has info on what I am trying to do.
I will be back in case of difficulty.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top