How to setup endpoints for generic USB HID (64 bytes)

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

cross mob
RuGl_1600761
Employee
Employee
25 replies posted 25 sign-ins 10 replies posted

I am using CY8C5888 eval board.I am trying to setup an generic USB (64byte data exchange). I read the datasheet of USB and had a look onthe mouse implemenation. I also had a look on the USB UART implementation. In mouse implemenation there is only one endpoint. In USB UART there are three endpoints. I expect 3 endpoints for HID generic also. One control, one IN and one OUT endpoint. How shall I configure and how is the process to set the endpoints.

rgl
0 Likes
1 Solution
NoriTan
Employee
Employee
25 sign-ins 5 questions asked 10 sign-ins

I found an application note using two endpoints for one HID.

https://www.cypress.com/an82072

AN82072 - PSoC 3 and PSoC 5LP USB General Data Transfer with Standard HID Drivers

In the section "6 Example Project: Generic Data Transfer via HID" an HID device project is created using Generic HID.

Please check if this document can be used.

Regards,

Noriaki

View solution in original post

0 Likes
3 Replies
RodolfoGL
Employee
Employee
250 solutions authored 250 sign-ins 5 comments on KBA

We don't have a code example using HID Generic for PSoC 5LP, but we have for PSoC 6. You can refer to the USB Descriptor and replicate it in your PSoC 5LP project.

GitHub - cypresssemiconductorco/mtb-example-psoc6-usb-hid-generic: This example demonstrates how to ...

0 Likes
NoriTan
Employee
Employee
25 sign-ins 5 questions asked 10 sign-ins

I found an application note using two endpoints for one HID.

https://www.cypress.com/an82072

AN82072 - PSoC 3 and PSoC 5LP USB General Data Transfer with Standard HID Drivers

In the section "6 Example Project: Generic Data Transfer via HID" an HID device project is created using Generic HID.

Please check if this document can be used.

Regards,

Noriaki

0 Likes

Hi Noriaki,

thanks !! This was the information that made my application working.

Best regards

Rupert

rgl
0 Likes