This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

8051 communication with RS232

I have used USB to RS232 converter to transfer my USB port on PC to RS232 port which performs communication with 8051. The problem is why my PC only can receive unexpected garbage code.
My 8051 and PC can realize serial communication with 8051 and PC respectively. But when combine them together the problem will happen.
Would you help me to give me some suggestions?

Parents
  • "I have used USB to RS232 converter..."

    Is this a commercial product, or something you have built yourself?

    How have you verified that the converter is working properly?

    "My 8051 and PC can realize serial communication with 8051 and PC respectively."

    What do you mean by that - please explain more clearly.

    "Would you help me to give me some suggestions?"

    Are you sure that all settings are the same: baud rate, parity, stop bits, number of data bits,...?

Reply
  • "I have used USB to RS232 converter..."

    Is this a commercial product, or something you have built yourself?

    How have you verified that the converter is working properly?

    "My 8051 and PC can realize serial communication with 8051 and PC respectively."

    What do you mean by that - please explain more clearly.

    "Would you help me to give me some suggestions?"

    Are you sure that all settings are the same: baud rate, parity, stop bits, number of data bits,...?

Children
No data