Hi,
We had a similar requirement where we need the ATMEga128 to have a total of 6 UARTS.
Unless your speed requirements are very low, and your processor requirements outside of your software UARTS is not very high, I would recommend that you go for a hardware option, otherwise you may spent a lot of processor time on watching you software serial UARTS.
We have chosen the Oxford Semiconductor (http://www.oxsemi.co.uk/pages/uarts/index.html ) OX16C954 chip as it also has 128 byte transmit and 128 byte receive buffers per UART, does RS485 half and full duplex, full hardware RS232, IrDA, and much more. The chip is roughly the same size as ATMega128. (I have absolutely NO connection with that company)
We will be releasing the hardware and software under GPL for the Ethernut processor (refer to www.ethernut.de ) in the next month or so.
You may well be able to graft the hardware onto your design.
Cheers Douglas
From:
suri_list [mailto:suri_list@yahoo.com]
Sent: Wednesday, 4 February 2004
10:52 a.m.
To: AVR-Chat@yahoogroups.com
Subject: [AVR-Chat] How to
implement 6 UART Serial Connections using Atmega128
We have to implement 6 serial connections to 6 modules from each
module. we are going to use the atmega128 on each
module.
The atmega128 has 2 uarts so i can implement 2
simultaneous uarts.
It is preferable not to have any external
components (we have to keep
footprint small) , so i want to do everything with
the atmega128.
-- But what abt the other 4. Will I have to bit
bang the rest of the
4 using a software routine uart?
-- Any other interesting solution which will allow
me to use timers
or something so that the cpu doesnt have to be
busy doing the serial
commn
Yahoo! Groups Links
- To visit your group on
the web, go to:
http://groups.yahoo.com/group/AVR-Chat/
- To unsubscribe from
this group, send an email to:
AVR-Chat-unsubscribe@yahoogroups.com
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.576 / Virus Database: 365 - Release Date: 30/01/2004
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.576 / Virus Database: 365 - Release Date: 30/01/2004