PIC 18F2525 UART max speed

Status
Not open for further replies.

jabidof

Member level 5
Joined
Jul 25, 2003
Messages
80
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Activity points
675
18f2525

Hello there,

Any idea how i can reach higher baud rate than 115kbits/s on PIC 18F series?
I'm connected to a FTDI chip and i'd like to go up to 1Mbits/s.

Thanks for your input.
 

18f2550 uart

According to the PIC18F2525's datasheet, you can have much higher baud rate than 115.2 kbps. Just use the formula in the datasheet with BRGH = 1, and high enough crystal frequency (watch out the baud rate error). For example, if you use 14.7456 MHz crystal, BRGH = 1, and SPBRG = 3, you would get a baud rate of 230.4 kbps, and even 0% baud rate error.

Cheers,
 

    jabidof

    Points: 2
    Helpful Answer Positive Rating
18F2550 has 2048 bytes of ram. My application (network protocol) needs more.

Thanks for your inputs
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…