ayoubw
Newbie level 5
uart to rs232
hello guyz,
I'm trying to interface a UART with a RS232 port. It's not my first time that i communicate with a microcontroller through a serial port, but this time it's driving me crazy!!
I successfully wrote a firmware for the microcontroller, to continually send letter"A" to the serial port (just for testing purposes now). I'm using visual basic to read the data coming from the UART. The thing is that I'm not getting a stream of continual A's all the time .. sometimes i'm getting a stream of continual P's, orthertimes, a stream of T's, other times i'm getting a stream of *'s .. what could possibly be the problem for this?
note:
1- i tried changing the whole controller board with another one & got the same problem.
2- tried to exchange the UART-to-RS232 cable.. same problems happened ..
3- tried interfacing the board with 2 different computers .. and still SAME PROBLEM!
please.. I would appreciate any kind of help!
cheerz,
AYOUB
hello guyz,
I'm trying to interface a UART with a RS232 port. It's not my first time that i communicate with a microcontroller through a serial port, but this time it's driving me crazy!!
I successfully wrote a firmware for the microcontroller, to continually send letter"A" to the serial port (just for testing purposes now). I'm using visual basic to read the data coming from the UART. The thing is that I'm not getting a stream of continual A's all the time .. sometimes i'm getting a stream of continual P's, orthertimes, a stream of T's, other times i'm getting a stream of *'s .. what could possibly be the problem for this?
note:
1- i tried changing the whole controller board with another one & got the same problem.
2- tried to exchange the UART-to-RS232 cable.. same problems happened ..
3- tried interfacing the board with 2 different computers .. and still SAME PROBLEM!
please.. I would appreciate any kind of help!
cheerz,
AYOUB