1 Reply Latest reply on Oct 25, 2018 3:32 AM by SrinathS_16

    Number of interfaces is set 2,but return 1

      const uint8_t CyFxUSBSSConfigDscr[] __attribute__ ((aligned (32))) =

      {

          /* Configuration descriptor */

          0x09,                           /* Descriptor size */

          CY_U3P_USB_CONFIG_DESCR,        /* Configuration descriptor type */

       

          0x4f,0x00,                      /* Length of this descriptor and all sub descriptors */

          0x02,                           /* Number of interfaces */

          0x01,                           /* Configuration number */

          0x00,                           /* COnfiguration string index */

          0x80,                           /* Config characteristics - Bus powered */

          0x32,                           /* Max power consumption of device (in 8mA unit) : 400mA */

       

       

          /* Interface descriptor */

      ..............

       

       

      }

       

      I set       0x02,                           /* Number of interfaces */,but returned 1 and Length of this descriptor is also wrong

      I don't know why接口数不对.png

       

       

      接口数不对2.png