Page 1 of 1

RS232 baud rate 300

Posted: Tue Jun 16, 2009 8:21 pm
by rogers.2
Hi.. I have a hardware which one 300 baud to cummunicate with the pic. I want to set the baud rate to 300 using the 20.000MHz crystal.

brgh = 0x01;
brg16 = 0x01;
spbrg = 0x19;
spbrgh= 0x41;


i'ts ok?

thanks

Re: RS232 baud rate 300

Posted: Wed Jun 17, 2009 9:22 am
by Benj
Hello

Which microcontroller are you using?

Re: RS232 baud rate 300

Posted: Wed Jun 17, 2009 11:23 am
by rogers.2
Hi.

The pic is Pic18F4431.


Thanks.