Quote Originally Posted by richard View Post
OSCCON=%01110000 '8 Mhz ;sets the actual fosc speed




DEFINE OSC 8 ; tells the compiler what fosc speed to base timing calculation on


software timed serout2 @ > 38400 baud with fosc < 8mhz may have an unacceptable error rate
I understood from the experiment that something didnt go well when i increased the baudrate at 38400 with the 8Mhz internal speed.

Is there any equation or a factor that calculates this corresponding.

thanks a lot.