Quote Originally Posted by amgen View Post
if serout2 was inverted, HSER is not inverted.
Why didn't you SHOUT IT OUT LOUD!!??

You're absolutely right: the signal has to be inverted in the way I'm using it. I added a transistor to invert the signal going to the MAX232 chip and guess what: IT WORKS!!!!

The HSEROUT code example in one of my previous post is working fine, also with 115200bps.

I still have some transmission errors but I think this can be due to the small error rate - I'll try with a 18,432MHz crystal.

Thanks a lot and have a nice day.