Data transfer from psoc 4 to computer

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

cross mob
Anonymous
Not applicable

 can any one let me know how to transfer data from psoc 4 to computer. I have used putty and teraterm to transfer my data but both cases failed. Please provide some example projects if possible.

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

If you look at the example projects in Creator there is a UART Tx project

   

you can start with. "Find Example Project" on Creator start page.

   

 

   

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

Welcome to the Forum, John!

   

When you have got a Pioneer kit you use the following connections:

   


USB-UART bridge to the PC

PSoc5LP Port 12_6    J8 Pin  9  PSoC4 Port 0 Pin 4 J4 Pin 1
PSoC5LP Port 12_7   J8 Pin 10  PSoC4 Port 0 Pin 5 J4 Pin 2

Then use the appropiate com-port for PuTTY.

   

 

   

When you have got a CY8CKit-049-42xx and a com-port on your PC you will need a level-shifter like MAX232 to convert the voltages from 5 to +-12V and back. Look for the specs of RS232.

   

 

   

Bob

0 Likes
Anonymous
Not applicable

 Thanks for the info...

   

As bob said i have connected the following connections

   

USB-UART bridge to the PC

PSoc5LP Port 12_6    J8 Pin  9  PSoC4 Port 0 Pin 4 J4 Pin 1
PSoC5LP Port 12_7   J8 Pin 10  PSoC4 Port 0 Pin 5 J4 Pin 2

   

and also in example it asked to connect P0_1 to Tx pin (P16) on kit.

   

 

   

i have tried all this cases bit still the data is not transmitting to putty or hyperterminal.Can you please explian how to configure Putty or Hyper terminal and also connections on Psoc  kit.

   

 

   

Thank you

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

Some things to consider -

   

 

   

1) The PSOC 4 has dedicated pins, so make sure your UART Tx

   

is set for a correct pin.

   

 

   

    

   

         

   

http://www.cypress.com/?rID=93401     AN86439 - PSoC® 4 - Using GPIO Pins

   

 

   

 

   

2) PSOC 4 UART and Putty have to be set up for same baud rate, stop bits, etcc.,

   

no flow control....

   

 

   

3) PSOC Tx out pin must go to level translator, like MAX 232, before being connected

   

to PC. Same is true if you decide to Rx from PC.

   

 

   

4) Have a simple Tx loop sending out a string or something like that

   

for debug purposes.

   

 

   

5) Look at PSOC Tx pin make sure you have a serial data stream, then look at

   

level translator Tx out to make sure you are getting RS232 levels.

   

 

   

This seems like a pretty thorough project to try -

   

 

   

    

   

          

   

https://eewiki.net/display/microcontroller/PSoC+UART+Example     PSOC 4 UART

   

 

   

 

   

Regards, Dana.

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

Sorry, I didn't mention UART Rx to Po_4; Tx to P0_5.

   

When you cannot get it to work, post your project here, so that we can check it. To do so, use
Creator->File->Create Workspace Bundle (minimal)
and attach the resulting file.



Bob
 

0 Likes
lock attach
Attachments are accessible only for community members.
Anonymous
Not applicable

 can you please tell me the errors in this example project.

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

Have you really connected a working LCD to your board?

   

What board do you use? CY)CKit-049-42xx? Cy8C-042?? Self-made board???

   

 

   

Bob

0 Likes
Anonymous
Not applicable

 hello Bob,

   

Actually i am not using any LCD, i'm trying to check the output on Hyperterminal.

   

 will it  possible to get the output on Hyperterminal or putty?

   

if yes, what connections we had to made?

   

Thank you,

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

Just Rx, Tx, and ground. Make sure Rx and Tx go thru a level translator,

   

like MAX232 or equivalent.

   

 

   

Regards, Dana.

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

The non-existing LCD can make problems. The posted project accesses it, so you should remove all references. You did not make all preparations as I suggested, the Tx pin should be P0[5].

   

 

   

Bob

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

If you find yourself in need of a very low cost logic analyzer, but

   

very capable, take a look at any one of these on ebay -

   

 

   

www.ebay.com/itm/New-USB-Logic-Analyzer-Device-Set-USB-Cable-24MHz-8CH-24MHz-for-ARM-FPGA-/111540669...

   

 

   

Regards, Dana.

0 Likes