- Tue Aug 21, 2007 1:07 pm
#34083
I have an application where I need to support communications at 115kbaud, 250.8kbaud, and 2.08Mbaud on the same serial port (one at a time, of course). I connect at 115K and negotiate with the other device to go faster.
To make life interesting, these baud rates are not related to each other, so I can't find a single oscillator that will work, and I doubt the ATMega that I want to use would like having its clock changed on the fly.
Any good ideas how to do this? I'm leaning towards an external i2c uart and two oscillators or muxing between the ATMega's uart for 115k and an external one for the other two rates.
Thanks.
/mike
To make life interesting, these baud rates are not related to each other, so I can't find a single oscillator that will work, and I doubt the ATMega that I want to use would like having its clock changed on the fly.
Any good ideas how to do this? I'm leaning towards an external i2c uart and two oscillators or muxing between the ATMega's uart for 115k and an external one for the other two rates.
Thanks.
/mike