>> 115200 (or 230400 for newer ones) / baud-rate = divisor + 1 >> >> The divisor is what you plug into the BRG register to get the desired speed >> out. >> >Hmm...shouldn't it be: divisor = 115200 / baud-rate ? > >The divisor for 115200 is 1 and for 9600 is 12 (115200 / 9600). That depends on the UART in use. For example, in the PIC, 0 is a valid entry for SPBRG because it means "divide by 1" and "1" means "divide by 2" and so on. FTR, I know of no UART which isn't "+1" for the divisor. Andy ================================================================== Andy Kunz - Statistical Research, Inc. - Westfield, New Jersey USA ==================================================================