View previous topic :: View next topic |
Author |
Message |
Einly
Joined: 10 Sep 2003 Posts: 60
|
maximum baud rate for PIC16f876 |
Posted: Wed Nov 17, 2004 2:29 am |
|
|
Hi,
Just wonder what is the maximum baud rate for PIC16f876 using hardware UART?
#use rs232(baud=???, xmit=PIN_C6, rcv=PIN_c7)? _________________ Einly |
|
|
ckielstra
Joined: 18 Mar 2004 Posts: 3680 Location: The Netherlands
|
|
Posted: Wed Nov 17, 2004 2:52 am |
|
|
For this they invented something called a 'data sheet'.......
The PIC16F87X data sheet, Table 10-4 lists several examples of settings, including the minimum and maximum baudrates. With a maximum clock speed of 20MHz, BRGH=1 and SPBRG=0 you get a maximum baudrate of 1,250,000 (1.25Mbaud). |
|
|
Mark
Joined: 07 Sep 2003 Posts: 2838 Location: Atlanta, GA
|
|
Posted: Wed Nov 17, 2004 6:51 am |
|
|
I think you will find the PC that you are talking to is going to be the limiting factor. Especially if it is a Windows program using the standard serial drivers. |
|
|
|