
Originally Posted by
Ioannis
Hserout/Hserin pressume that you have included inverters in your circuit (like the common MAX232, which obviously there are not).
I would use a 3.3 driver for the UART like MAX3232 for example.
The above was an older post. Since then, a way to invert the hardware serial port has been spotted in the 400+ page datasheets of the PIC18 devices.......
See http://www.picbasic.co.uk/forum/showthread.php?t=10361 for a little more information.
To command it to do so:
Code:
BSF BAUDCON,RXDTP
BSF BAUDCON,TXCKP
Pretty cool stuff. I have tried it on a few projects, including a bootloader, and it works great. Nice to eliminate the max232 hardware when you can.
Bookmarks