Quote Originally Posted by Darrel Taylor View Post
Good catch Dave, I couldn't see that.
Brackets make it a WAIT qualifier with SERIN.

So used to looking at SERIN2. And SEROUT uses brackets. It's all confusing.
I'll blame Parallax.
Looks like removing the brackets kept it from getting stuck, thanks, however, it is still not receiving the data correctly. I have a 22k resistor in line to the serin pin. I have used this on other pics and it seems to work (16F636). I noticed that the serial port on my pc is +/- 12 volts, so I tried adding a blocking diode and a zener to drop the voltage down to around 6 volts on the positive side and 0 volts on the low end (which did not seem to make a difference) (pc----diode(>|)----resistor-----serin, with zener from serin pin to ground).

One potential source could be that I have wires running from my pc on the floor to the circuit on top of my desk----Interference? I will try to locate a shielded serial cable and try again.

Also, you might have noticed in my configuration settings I have the PBADEN fuse set to ON. It appears that somewhere between PBP, Microcode Studio, and the MACH X loader I am using this fuse gets inverted. I am pretty sure that I am setting it to off, because the other PORTB pins are correctly functioning as CTS, RTS, and SEROUT. If I compile with the PBADEN set to OFF and look at the device configuration settings in always tells me that the PORT B ADCs are enabled, ON=disabled.....

Thanks for your time and help.