PDA

View Full Version : PIC16F676 RS232 baud rate



jrprogrammer
- 11th February 2010, 03:48
Can you output 19200 baud using the internal "precision +/-1% internal oscillator on a PIC16F676? I have an existing board and suddenly changed from 9600 to 19200 baud...
Thanks, Jim

Charles Linquis
- 11th February 2010, 04:27
I don't know anything about that chip, but if the INT OSC is 4MHz then you can run 38,400 if you use a hardware USART, or if you have to bit-bang, you can run 19200 using DEBUG.
If you are running at 8Mhz, then you can run 57,600 on hardware or 38.4K using DEBUG.

I run these rates quite often using 18F2221's on their internal oscs.

jrprogrammer
- 12th February 2010, 14:16
Thanks for the reply... I'll try it out today..
JR