2 Replies Latest reply on Jun 19, 2019 11:00 PM by PriyaM_16

    CYW954907AEVAL1F USB host hid mouse TEST

    kima_3203171

      We are testing usb host hid mouse with CYW954907AEVAL1F.

      However, connecting mouse after initialization does not do anything.

       

      CYW954907.jpgmouse.jpgconsole message.jpg

        • 1. Re: CYW954907AEVAL1F USB host hid mouse TEST
          PriyaM_16

          Can you please tell me the WICED version with whoch you are testing?

          • 2. Re: CYW954907AEVAL1F USB host hid mouse TEST
            PriyaM_16

            Few pointers on the connection:

            1. J12.6 needs to be pulled high for USB PHY mode. I hope you have done this connection(but not shown in the snapshot) as the console logs shows USB PHY mode

            2. For operating in Host mode, USB2_HOST_DEV_SEL(J6.21) need to be pulled low.

            3. In platforms/CYW943907AEVAL1F/platform.h, change

            #define WICED_USB_HOST_OVERCURRENT    (WICED_GPIO_NONE) /* No GPIO available, must use controller */

            #define WICED_USB_HOST_POWER_ENABLE   (WICED_GPIO_NONE) /* No GPIO available, must use controller */

            to

            #define WICED_USB_HOST_OVERCURRENT    (WICED_GPIO_1)

            #define WICED_USB_HOST_POWER_ENABLE  (WICED_GPIO_2)

             

            4. Pull WICED_USB_HOST_POWER_ENABLE pin(WICED_GPIO_2 /J10:2) low through a 10k resistor

            5. Pull WICED_USB_HOST_OVERCURRENT pin(WICED_GPIO_1 /J10:1) high through a 4.7k resistor

             

             

            Green- DP (J6.44)

            white- DN (J6.43)

            Red- VIN_EXT (J9.6)

            Black- GND