Maker Pro
Maker Pro

UARTS ghost signal

I am programming on a PIC12F1937 and am using uarts to communicate with my keyboard and using I2C to display to an LCD screen. Doing this my only concern with the uarts is the RC line. I am using Tera Term to send my uarts and the screen quickly fills up with random characters whenever I display anything to the LCD. Is there anyway that uarts and I2C are linked?

Note: I found out that my Tx line from mu PIC contains the same information as my SDA line to the LCD.
 
Last edited:
That is quite strange. I'm sorry I don't know much about the 12F1937, but the 16F876 has seperate registers for the aysnc and synchronous communications. I will *guess* yours does too. Now, why would TX and SDA hold the same data? Perhaps your chip is bad? Or is there a board short?
My only advice, put an Ohm meter between those pins!
 

Harald Kapp

Moderator
Moderator
Possibly a matter of setting up I/O port assignements in the PIC. Make sure the SDA and TXD lines are assigned to unique port pins not shared by other functions.

Harald
 
Every Pin has its own function. I did not want to confuse myself with this new world of micro-controllers. Last Night I did put that Ohm meter across my board and found out that my companies schematic was wrong! You guys just helped them out big time, thanks a lot!
 
Top