I have a PIC16F88 and a MAX232 connected to my machine's serial port. (The MAX232 is connected as configured in Maxim's data sheet, with five
1uF caps in place.) The program is a test program for the 16F628's UART that I modified slightly for the 16F88 (corrected the pin numbers, set the internal oscillator correctly) and its own UART.The program does two things. First, it outputs a greeting message to the port. Then, it echoes everything it receives. As it's set up now, it performs the second part flawlessly, but the greeting message never comes out correctly...in fact, it comes out differently each time; there's no correspondence of the wrong characters to the right ones.
It seems as if there's just some sort of startup issue that might need to be handled in hardware, but I'm not sure what. So, before I started on any software-based workaround I wanted to ask if anyone had any ideas regarding fixing this The Right Way.
Thanks PSM