CYW954907AEVAL1F USB host hid mouse TEST

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

cross mob
kima_3203171
Level 1
Level 1

We are testing usb host hid mouse with CYW954907AEVAL1F.

However, connecting mouse after initialization does not do anything.

CYW954907.jpgmouse.jpgconsole message.jpg

0 Likes
2 Replies
PriyaM_16
Moderator
Moderator
Moderator
250 replies posted 100 replies posted 50 replies posted

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

0 Likes
PriyaM_16
Moderator
Moderator
Moderator
250 replies posted 100 replies posted 50 replies posted

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

0 Likes