I'm having problems trying to get serial communications working on a PIC16F88. The UART to serial level shifting is done using a MAX233.
1. Connecting TX to RX on the PC works (I get echo on the terminal)
2. Connecting TX and RX on the MAX233 works as well
3. Connecting TX and RX to the TX and RX of the PIC produces gibberish.
4. I've checked that my baud rates, parity and rate-control are correct.
5. Just in case I messed up my RX and TX connections, I tried swapping them in all permutations possible.
I'm thinking its because I'm using the internal RC oscillator of the PIC, which isn't very stable.
I also need help knowing how do I connect DTS and RTS if I don't want software /hardware rate control, and how would I do that if I want to use rate control.
Finally, someone please tell me if there is a standard for RX and TX notations?
Thanks!![Big Grin :D :D](data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)
1. Connecting TX to RX on the PC works (I get echo on the terminal)
2. Connecting TX and RX on the MAX233 works as well
3. Connecting TX and RX to the TX and RX of the PIC produces gibberish.
4. I've checked that my baud rates, parity and rate-control are correct.
5. Just in case I messed up my RX and TX connections, I tried swapping them in all permutations possible.
I'm thinking its because I'm using the internal RC oscillator of the PIC, which isn't very stable.
I also need help knowing how do I connect DTS and RTS if I don't want software /hardware rate control, and how would I do that if I want to use rate control.
Finally, someone please tell me if there is a standard for RX and TX notations?
Thanks!