RS232 baud rate 300

Forum for problems or queries regarding Flowcode Comms Components. Eg LIN, I2C, SPI, RS232, CAN, IrDA etc

Moderators: Benj, Mods

Post Reply
rogers.2
Posts: 3
Joined: Sun Jun 14, 2009 3:08 pm
Has thanked: 1 time
Contact:

RS232 baud rate 300

Post 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

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: RS232 baud rate 300

Post by Benj »

Hello

Which microcontroller are you using?

rogers.2
Posts: 3
Joined: Sun Jun 14, 2009 3:08 pm
Has thanked: 1 time
Contact:

Re: RS232 baud rate 300

Post by rogers.2 »

Hi.

The pic is Pic18F4431.


Thanks.

Post Reply