6 Replies Latest reply on Jul 28, 2013 12:12 AM by anandhakumarc_01

    Cy7c63813-SXC sample


      I want test a USB_HID project used with Cy7c63813-SXC, i had created the project with PSoC Designer 5.2. 


      now it can enum perfect,but can not deal with "HID CLASS INTERFACE OUT REQUEST: Set_Report" ,and return error with "USBD_STATUS_STALL_PID (0xC0000004) ",the bellow is HID_REPORT


      USB_HID_REPORT_1_DESCR_START:                    ;
          DB     06H, 00H, FFH                         ; Usage Page
          DB     09H, 01H                              ; Usage
          DB     A1H, 01H                              ; Collection
          DB     85H, 01H                              ; Report ID
          DB     09H, 01H                              ; Usage
          DB     15H, 00H                              ; Logical Minimum
          DB     26H, FFH, 00H                         ; Logical Maximum
          DB     75H, 08H                              ; Report Size
          DB     95H, 09H                              ; Report Count
          DB     B1H, 06H                              ; Feature
          DB     85H, 02H                              ; Report ID
          DB     09H, 03H                              ; Usage
          DB     96H, 17H, 00H                         ; Report Count
          DB     B1H, 06H                              ; Feature
          DB     C0H                                   ; End Collection


      how do handle USB_HID Set_Report and Get_Report  request ,is there a C Language sample?the UserModul is ASM

        • 1. Re: Cy7c63813-SXC sample

          When i edit  function:Find_Report  in USB_cls_hid.asm it can pass Set_Report error,but can not handle Get_Report request in Find_Report fun ,return error :USBD_STATUS_CANCELED (0xC0010000)


          Where add respond code for Get_Report request?



          0xA1 0x1 0x1 0x3 0x0 0x0 0x18 0x0

          • 2. Re: Cy7c63813-SXC sample

            my app is call HidD_SetFeature and HidD_GetFeature , i can monitor the usb data with USBTrace like this:


            HidD_GetFeature:  0x21 0x9 0x2 0x3 0x0 0x0 0x18 0x0




            HidD_GetFeature :0xA1 0x1 0x1 0x3 0x0 0x0 0x18 0x0


            the USB UM can handle SetReport,but not GetReport?Can you give me some sample for HidD_SetFeature and HidD_GetFeature with cy7c63813 chip like  ,thanks!

            • 3. Re: Cy7c63813-SXC sample



                      Please create a tech support case at Support>Technical Support>Create my case: so that one of our Engineers can help you on this.





              • 4. Re: Cy7c63813-SXC sample

                我也遇到了同样的问题,不知道你解决没有?方便交流一下吗?QQ 55572448

                • 5. Re: Cy7c63813-SXC sample

                   English translation: I also encountered the same problem, do not know if you solve no? To facilitate the exchange it? QQ 55572448.




                  Hi bugulong,




                  Please create a tech support case at www.cypress.com -> Support>Technical Support>Create my case.







                  • 6. Re: Cy7c63813-SXC sample

                     Hi  bugulong/sungog,


                           You have to make modifications to the library files generated by PSoC designer to support GET report and Set Report feature.


                          I will come up with an example project on monday end of day India time.


                    Thanks & Regards,