- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I have a doubt in that i want to ask you
1. I have PSocCY8KIT-059 in that i have to convert data from serial to usb.
so for that converting data from serial to usb do i need the driver from psoc for converting data and as well as i have to write the code also
or installing driver for serial to usb conversion is only enough ?
Solved! Go to Solution.
- Labels:
-
PSoC 5LP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Where do the "serial data" come from, which interface ?
Use the USBUART component, sprintf() and USBUART_PutString().
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Besides using the USB-UART bridge you can use the USBUART component which looks like a UART on the PSoC side, but uses the USB interface of the -059 kit. Converting binary data to readable ASCII is done with sprintf(). Do not forget to set the heap size to 0x0200
Bob
- 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
In Creator, Component Catalog, Communication, USB you find a USBUART component. This is the interface I am talking about.
What you downloaded is not the driver (that is part of windows OS) but a configuration program.
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Vinay, you may find this thread helpful, where I ended up posting a minimum working example for using the USB-UART for sending simple text out to a PC USB host. The Cypress example is far too elaborate.
http://www.cypress.com/forum/psoc-5-known-problems-and-solutions/usbuart-v28-works-v30-doesnt
Drivers are still an issue, but they are there. There is a signed USB-to-UART driver that *should* automatically install from the Windows driver repository. There is also a generated driver (look for an INF file) as part of a PSoC Creator project, but that one won't be signed.
And I *think* that you have to be careful to not have your board in USB mass-storage programming mode, although I don't have that kit and I can't test it. To kick it out of mass-storage mode, I believe you hold down Reset for 5 seconds.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I got confuse so please read my query and tell
We want to convert serial data to USB , target we are using at cy8ckit - 059.
For this we need to use any specific driver or modify the setting in Psoc IDE. Could you please give some
suggestion about serial data to USB conversion.
Thanks waiting for your answer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Where do the "serial data" come from, which interface ?
Use the USBUART component, sprintf() and USBUART_PutString().
Bob