Freesoc 5 Mini UART

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
BeS__284136
Level 3
Level 3
5 sign-ins 10 replies posted 5 replies posted

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

0 Likes
8 Replies
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

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 

0 Likes
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

"Prints garbage in the terminal", sorry what terminal are you reflecting to? PC?? Are you using a USBUART Component on the PSoC5???

   

 

   

Bob

0 Likes
BeS__284136
Level 3
Level 3
5 sign-ins 10 replies posted 5 replies posted

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.

0 Likes
BeS__284136
Level 3
Level 3
5 sign-ins 10 replies posted 5 replies posted

I am just using the ordinary UART v 2.3, no USB UART components.

0 Likes
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

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

0 Likes
ETRO_SSN583
Level 9
Level 9
250 likes received 100 sign-ins 5 likes given

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.

0 Likes
odissey1
Level 9
Level 9
First comment on KBA 1000 replies posted 750 replies posted
        you need USB-UART TTL level cable (like Digikey part: 768-1204-ND, 768-1017-ND or 768-1018-ND)   
0 Likes
ETRO_SSN583
Level 9
Level 9
250 likes received 100 sign-ins 5 likes given

Thread author no longer watching this post ? Possibly, probably.

0 Likes