- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am attempting to use a USB to UART cable with a freesoc mini.
The UART when I write a string to the buffer prints garbage data in the terminal. I am using a 5 volt power supply. This is funny because the UART works just fine with Cypress development kits.
Do logic levels have anything to do with this? What is going on?
Thanks
- Labels:
-
PSoC 5LP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Can you post your complete project, so that we all can have a look at all of your settings? To do so, use
Creator->File->Create Workspace Bundle (minimal)
and attach the resulting file (do NOT use chrome, that still may not work).
What kind of USB to UART-cable do you use? (link to datasheet)
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
"Prints garbage in the terminal", sorry what terminal are you reflecting to? PC?? Are you using a USBUART Component on the PSoC5???
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
http://www.officedepot.com/a/products/867516/StarTechcom-USB-to-RS232-DB9DB25-Serial/
This is the UART to USB I am using.
Yes, it is printing garbage on the PC in PuTTy.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am just using the ordinary UART v 2.3, no USB UART components.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
STOP!
The cable offers an RS232 interface which has voltage levels of +- 12V. so connecting that to your board will not work or possibly damage your PSoC's pins or even more!
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Odd, but none of the datasheets or manauls actually show I/O
levels. But one is probably safe to assume its standard RS232.
Note max is 25 V.
en.wikipedia.org/wiki/RS-232#Voltage_levels
Regards, Dana.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thread author no longer watching this post ? Possibly, probably.