The 68k produces baud rates at very specific multipliers of the clock
frequency.  The closest a 66 Mhz machine can get to 10400 baud is 10363.
The next step is 10794.  The closest to 31250 is 31402, with the next
closest 30932.  The Tungsten/T hardware is capable of 10416 and 31250
(exactly!).  Of course the crystals in real devices probably vary by a few
percent.

I don't understand why they wire in specific rates beyond what the hardware
is capable of.  Seems like more code, arguments over which rates to include,
etc.  Much simpler to just do a divide and round to the closest available
value.



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to