Click here to Skip to main content
13,189,324 members (64,699 online)
Rate this:
Please Sign up or sign in to vote.
See more:
As we are trying to communicate USB to UART(serial) using UFT230XA (FTDI module).We successfully did loopback at PC(Windows XP-SP2) side.We also did communication PC to UART,but the problem is we are getting same data from PC at UART side nor data from UART at PC.

For example, as we sent 'A'(using byte[] or string) to UART we are getting hex value 0x5F(ASCII char _).Also we are getting same value again no garbage.

Any help is much appreciated!
Thanks in advance.
Posted 5-Jan-13 17:19pm
I would say, not enough information, not even close. You did not explain what's you hardware you try to connect, not provided any code sample.

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

Without your code, it is impossible to be sure, but I would start by looking at your communication setup - make sure that your baud rate matches, your bits per character, parity and stop bits are correct also. I would also try wiring from one pc to another to confirm you are using the right port and that your PC based software works (assuming you don't have a protocol analyser you can slap on the wires, or at a minimum an oscilloscope)
Then confirm the setting at the UART end is exactly what you expected. If any of these are out, you will get garbage.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web03 | 2.8.171016.2 | Last Updated 6 Jan 2013
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100