Maker Pro
Maker Pro

UARTS ghost signal

Horn

Jun 4, 2012
42
Joined
Jun 4, 2012
Messages
42
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:

Josh Bensadon

Jul 16, 2012
8
Joined
Jul 16, 2012
Messages
8
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
Nov 17, 2011
13,769
Joined
Nov 17, 2011
Messages
13,769
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
 

Horn

Jun 4, 2012
42
Joined
Jun 4, 2012
Messages
42
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!
 

Rleo6965

Jan 22, 2012
585
Joined
Jan 22, 2012
Messages
585
That's the reason I keep coming back. They have very good advice.:)
 
Top