- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Team,
Below is my PSoc creater design and code. I am using the below selected device. When i am trying to connect to TeraTerm i am not able to see any string. Even not able to type anything in teraterm.
Thanks,
Abinash
Solved! Go to Solution.
- Labels:
-
PSoC 5LP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dear Abinash-san,
> Please guide me where we are connecting DB9 with USB.
First of all, DO NOT USE DB9!
It is for RS232C level device, and your USB-Serial Converter will be damaged/broken if you connect it to DB9 pins.
In the picture you are seeing "COM3: USB Serial Port (COM3)".
I think that this happens when you connect the red board, which is a USB-Serial Converter, let me call it FTDI board from now on.
If you want to try the FTDI board.
Again, I'd like to ask you to try a loop-back test to test if the FTDI board is still functioning.
To do a loop-back test,
(1) Connect TXD and RXD of the FTDI board then connect the USB to the FTDI board and PC.
Note: In this test we do not use CY8CKIT-050
(2) Then start Tera Term
(3) In Tera Term type something, and it should be echoed back.
(4) If you can see the echo back, the board is still working: GOTO "PLAN A"
and if you do not see any echo back, probably the board is broken: GOTO "PLAN B"
PLAN A:
(1) Use my program uart_test_050_200723A
(2) Connect CY8CKIT-050 to PC using a USB Cable and use J1
(3) Connect GND of FTDI board to the GND of CY8CKIT-050
(4) Connect TXD of FTDI board to the P0_0 of CY8CKIT-050
(5) Connect RXD of FTDI board to the P0_1 of CY8CKIT-050
The white jumper wire is connected to P0_0 and the TXD of my USB-Serial Converter.
The green jumper wire is connected to P0_1 and the RXD of my USB-Serial Converter.
The black jumper wire is connected to the GND.
And a USB cable is connected to J1 and PC.
Tera Term output was something like below.
The first line was written by the program.
The second and the third lines were typed by me.
PLAN B:
(1) Use my program uart_test_050_200723C
(2) Connect CY8CKIT-050 to PC using a USB Cable and use J1.
(3) Connect CY8CKIT-050 to PC using a USB Cabke and use J2.
Note: NO OTHER wire should be connected.
(4) Compile and debug the program
When the debugger started, and stopped at the first line of the main().
Push "Resume" icon to keep the program running.
(5) When the program started, Windows should report that it found a new Com Port Connection
(6) At this point, connect Tera Term to the USB Serial Device
Note: The port name of my screen shot is in Japanese, but it is saying "COM45: USB Serial Device (COM45)"
(7) Then type letters in Tera Term, they should be echoed back
I hope that at least one of these plan will work.
Best Regards,
26-Jul-2020
Motoo Tanaka