Use an external crystal and see what happens.Code:'***************************************************************** ' Using PortB.2 to serially transfer data to EDE702 ' PortB.2 going to EDE702's RCV port (pin 17) ' LCD connected to EDE702 ' Internal OSC used for 16F628A ' 4 MHZ cristal used for EDE702 '***************************************************************** @ DEVICE PIC16F628A, INTRC_OSC_NOCLKOUT, WDT_OFF, LVP_OFF, PWRT_OFF, PROTECT_OFF, BOD_OFF
And if you don't have one, since you DO have an o-scope, might want to change the program, make it change the portb.2 line at a known rate, check it with the o-scope and see how far off (if any) your internal oscillator is.
Also, check Appendix A of your PBP manual. 9600 baud at 4mhz is a bit iffy. Try 2400 baud, try a higher clock, try using the hardware UART, try anything.
Bookmarks