- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Team,
I have a development kit CY8CKIT-050 PSOC 5LP. I want to communicate data (duplex communication) between PSOC and PC with the help of UART.
I wanted to know the PSOC wiring connection with PC (Please show in image) and the driver required to install in PC Side.
I have seen few videos for psoc 3/4 they use wire to connect kit prog bridge and psoc 3/4. Is it required for PSOC 5LP, because i could not see similar port in PSOC 5LP.
Solved! Go to Solution.
- Labels:
-
PSoC 5LP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Please refer to my response in the discussion below.
Re: Not able to see serial port enabled in teraterm for (CY8CKIT-050)PSOC 5LP
moto
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
If you can get a USB-Serial converter something like below
http://akizukidenshi.com/catalog/g/gM-08461/
The connection would be like below.
Note: I usually use P12[6] for UART_RX and P12[7] for UART_TX but you can chose whatever pins as far as the system allows.
Meantime, please note that converter's rx must be connected to PSoC's UART_TX
and converter's tx must be connected to PSoC's UART_RX
And last but not least, please connect both grounds.
Usually recent USB-Serial converter does not require additional driver, but please check with the device you get.
moto
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Motoo,
Could you Please send the device image with proper wiring? I need that to configure.
Thanks and Regards,
Abinash
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
(1) Connection
Use ”Communication USB" terminal to connect to the PC.
Cable between PC and CY8CKIT-050;
CY8CKIT-050 : USB Mini B
PC : Type-A
(2) Driver
You need to install the device driver first.
Open the device manager.
The driver will be generated in the project folder.
xxxx\Generated_Source\PSoC5\USBUART_cdc.inf (* "xxxx" is project name)
If the driver is installed normally,
Cypress USB UART (COM xx) is displayed.
Of course,
Create a USB-UART project with PSoC 5LP,
Assigned to the USB dedicated terminal,
You need to build normally.
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Mami,
How can we setup wire connection(Hardware connection image required) for UART for CY8CKIT-050 PSOC 5LP. As in some video i have seen they wire up the board for psoc3
Thanks,
Abinash
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Abinash-san,
/**********************************************************************************************/
How can we setup wire connection(Hardware connection image required) for UART for CY8CKIT-050 PSOC 5LP. As in some video i have seen they wire up the board for psoc3
/**********************************************************************************************/
Without using the USB-UART component built into PSoC5LP,
PSoC5LP outputs only UART.
Do you want to communicate that UART data with a PC via a UART-USB bridge?
In other words, it has the following structure.
[PC] - [USB Cable] - [USB-UART bridge] - [wire] - [PSoC5LP UART port]
And does that mean you use KitProg for the USB-UART bridge?
The CY8CKIT-050 demo kit uses CY7C68013A-56LTXC and does not include KitProg.
If you use a USB-UART bridge that is not on the CY8CKIT-050 board, the connection is as shown by moto-san.
For reference, please tell us the URL of the PSoC 3 video you saw.
What is the USB-UART bridge you use?
Are you using KitProg from another demo kit?
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
-----------------------------------------
CY8CKIT-050 PSOC 5LP
------------------------------------------
Hi Mami,
See this below image UART connection.
As you told the structure is [PC] - [USB Cable] - [USB-UART bridge] - [wire] - [PSoC5LP UART port]
1.How can i setup [USB-UART bridge] or this is preconfigured?
2. When i install driver(CypressDriverInstaller.exe) its showing un-configured.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
That video is the CY8CKIT-042 PSoC4 Pioneer Kit.
The structure is as follows.
[PC] - [USB Cable] - [KitProg = PSoC5LP = USB-UART bridge] - [wire] - [PSoC4 UART Component]
However, CY8CKIT-050 PSoC5LP DVK does not have KitProg.
CY7C68013A-56LTXC (FX2LP) is used instead of KitProg (PSoC5LP).
DVKProg5(=CY7C68013A-56LTXC) is different than KitProg.
CY7C68013A-56LTXC does not have the function of USB-UART Bridge.
In other words, in order to control the UART data of PSoC5LP mounted in CY8CKIT-050 by PC, USB-UART Bridge is required separately from CY8CKIT-050.
KitProg with the function of USB-UART bridge is mounted on CY8CKIT-042,CY8CKIT-059 and so on, which are also used in video.
KitProg of CY8CKIT-059 can be used by separating the board.
The details of KitProg are as follows.
KitProg URL
https://www.cypress.com/documentation/development-kitsboards/kitprog-user-guide
Or you can handle USB-UART bridge with 6x2 header of MiniProg4.(MiniProg3 does not support UART.)
MiniProg4 URL
In summary, I think the connection looks like the image below.
For power supply to CY8CKIT-050, connect a USB cable if it operates with USB bus power.
The UART port used by PSoC5LP of CY8CKIT-050 is arbitrary.
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Mami,
Can you please explain what is kitprog USB-UART bridge for my CY8CKIT-050 PSOC 5LP and where can i find it?
Is this a hardware or a driver?
Thanks,
Abinash
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Abinash-san,
CY8CKIT-050 does not have USB-UART bridge function.
It is not mounted as hardware.
As you can see by checking the circuit diagram of CY8CKIT-050,
Connected to the USB connector are PSoC5LP and FX2LP(CY7C68013A-56LTXC).
This is because the USB connector connected to PSoC5LP uses the USB component built into PSOC5LP.
The USB connector connected to FX2LP is for program/Debug PSoC5LP with SWD.
You can see from the FX2LP circuit diagram that there is no pin to connect UART data.
This FX2LP and KitProg are different.
The CY8CKIT-042 in the video you saw has KitProg instead of FX2LP, so you can do USB-UART conversion with KitProg.
KitProg User Guide
https://www.cypress.com/file/157966/download
PSoC5LP in the table means KitProg.
It is used as a USB UART Bridge using the USB CDC component built into PSoC5LP.
This means that to see the PSoC5LP UART data of CY8CKIT-050 on the PC's USB port, you must use an external USB-UART bridge or use the USB CDC component (Convert UART signal to USB inside PSoC5LP) built into the PSoC5LP.
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Please refer to my response in the discussion below.
Re: Not able to see serial port enabled in teraterm for (CY8CKIT-050)PSOC 5LP
moto