USB hub with usb host keyboard error

Post Reply
sridhar
Posts: 35
Joined: 26 Aug 2019, 20:29
Location: India

03 Dec 2020, 20:17

Hi
My usb host sample code is not working with usb hub with pendrive and keyboard

When I connect keyboard/flash drive directly into USB HOST port, it is working fine
When I am inserting/ejecting usb hub, it gets detected
When I connect flash drive into usb hub, it is also working fine
But when I connect keyboard into usb hub, it is not responding properly

We mainly need to know why we are facing this TD error
I am also attaching our product prototype

I am attaching my error in screen shot
So reply us with your good working code
Thanks
R Sridhar
Attachments
usb hub keyboard error.JPG
usb hub keyboard error.JPG (61.9 KiB) Viewed 3482 times
error.JPG
error.JPG (25.92 KiB) Viewed 3482 times

suyu
Posts: 1
Joined: 30 Mar 2021, 13:49

15 Apr 2021, 11:46

Hi,

There are USBH_HIDs for different devices in the BSP. You can have a try on it with NuMaker board.
Take M2351 for example. You can find the BSP here https://github.com/OpenNuvoton/M2351BSP ... /StdDriver.
There are corresponding drivers for different devices, and you can find the sample code based on your situation. E.g. USBH_HID_Keyboard.

Post Reply
  • Information
  • Who is online

    Users browsing this forum: No registered users and 2 guests