??? 12/20/06 16:03 Modified: 12/20/06 16:05 Read: times Msg Score: +1 +1 Good Answer/Helpful |
#129828 - I\'d say... Responding to: ???'s previous message |
Erik Malund said:
do so [sw UART], but first be aware that with a soft UART most (all?) other things that have ANYTHING to do with timing will not be possible. I'd say, rather, that with sw UART(s): - it is hard to get them working at other than a rather low speed (2 fullduplex SW UARTs at 1200Baud in a plain vanilla 12-clocker at 24MHz will eat up approx. 50% of the processing power) - you must know exactly what you are doing, otherwise NOTHING will work at all - only relatively rough timing can be accomplished (the easiest thing is to achieve synchronism with the "software" baudrate generator) Have you seen the Atmel and NXP appnotes pointed to from the FAQ? JW PS. I don't want to underestimate you, but generally, if one asks how to do serial UART, it is very likely he will not be able to cope with the associated problems, even if given the possible clues and a "working example". Be warned, serious perseverance might be required to get it working properly. |