- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I try with the Psoc to use the USBFS block to make an HID device.
I try with the exemple to simulate a mouse mooving, but my target is to use the USBfs, in order to activite some output.
For exemple I want to turn on a DEL on the P0[1]. with my computer.
My problem is I don't know how do it.
Could you please help me?
Kind regards
- Labels:
-
PSoC 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I would rather suggest you to use the USBUART. It has the advantage for communicating in both directions with your PC using something simple as HyperTerminal on PC side.
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I know the USBuart, I use it on another project, but I want to try with HID, because it's plug and play.
I would like to make an card like this:http://www.phidgets.com/products.php?category=0&product_id=1012_2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This might be of some assistance -
embedded-firmware.blogspot.com/2008/12/hid-mouse-in-psoc.html
Regards, Dana.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
So what you want is to send commands from you computer to your MCU?
You can do that using an OUT endpoint. Use USB_EnableOutEP() to enable the out enpoint and when wGetEPCount() says there is some data, read the enpoint using USBFS_bReadOutEP()